Languages

Set language for text to display on map

setLanguage

mapInstance.setLanguage(language);

Paramters

Parameter (Required)
Description
Remark

language

specifies the language of the map.

("national" or "en")

String

Returns

Parameter
Description
Remark

Example

mapInstance.setLanguage("national");

getLanguage

mapInstance.getLanguage();

Parameters

Parameter (Required)
Description
Remark

Retrieves the language parameter of the map instance.

Returns

Parameter
Description
Remark

Example

mapInstance.getLanguage();
return : "national"

The MOGOS Maps API requires an API Key, which can be obtained from the MOGOS Console website or contact [email protected].

Last updated