Language
setLanguage
mapInstance.setLanguage(language);Parameter
Example
mapInstance.setLanguage("national");getLanguage
mapInstance.getLanguage();
return: "national"Last updated
Sets the language of the map.
mapInstance.setLanguage(language);Required Parameter
Description
Type
language
specifies the language of the map. ("national" or "en")
String
"national" will display each region of the map with corresponding native language.
mapInstance.setLanguage("national");Retrieves the language parameter of the map instance.
mapInstance.getLanguage();
return: "national"Last updated