Home > @magiclane/maps-sdk > MapDetails > getCountryNameByISO
MapDetails.getCountryNameByISO() method
Returns the country name for the supplied ISO 3166-1 alpha-3 code.
Signature:
static getCountryNameByISO(code: string): string;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
code |
string |
ISO 3166-1 alpha-3 country code |
Returns:
string
The country name for the given code