Language

setLanguage

Sets the language of the map.

mapInstance.setLanguage(language);

Parameter

"national" will display each region of the map with corresponding native language.

Example

mapInstance.setLanguage("national");

getLanguage

Retrieves the language parameter of the map instance.

mapInstance.getLanguage();

return: "national"

Last updated