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

MapDetails.getCountryNameByIndex() method

Returns the country name associated with an internal country index.

Signature:

static getCountryNameByIndex(index: number): string;

Parameters

Parameter

Type

Description

index

number

Internal country index

Returns:

string

The country name for the given index