Home > @magiclane/maps-sdk > MapDetails > getCountryData

MapDetails.getCountryData() method

Returns country metadata for the supplied country ID.

Signature:

static getCountryData(id: number): CountryData | undefined;

Parameters

Parameter

Type

Description

id

number

Internal country identifier

Returns:

CountryData | undefined

A CountryData instance when available, otherwise undefined