Language

setLanguage

Sets the language of the map.

mapInstance.setLanguage(language);

Parameter

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.

Example

mapInstance.setLanguage("national");

getLanguage

Retrieves the language parameter of the map instance.

mapInstance.getLanguage();

return: "national"

Last updated