Home > @magiclane/maps-sdk > MapDetails > getCountryCodeByIndex
MapDetails.getCountryCodeByIndex() method
Returns the ISO 3166-1 alpha-3 country code for an internal index.
Signature:
static getCountryCodeByIndex(index: number): string;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
index |
number |
Country index |
Returns:
string
ISO 3166-1 alpha-3 country code, or an empty string