Home > @magiclane/maps-sdk > MapDetails > getLanguageCodeByIndex
MapDetails.getLanguageCodeByIndex() method
Returns language codes for the country with the given index.
Signature:
static getLanguageCodeByIndex(index: number): string[];Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
index |
number |
Country index |
Returns:
string[]
A list of language ISO codes