secondaryLanguage property

LanguageCode? secondaryLanguage

The code of desired secondary map display language. Note: This feature is in beta state and thus there can be bugs and unexpected behavior.

Implementation

static LanguageCode? get secondaryLanguage => $prototype.secondaryLanguage;
void secondaryLanguage=(LanguageCode? languageCode)

Sets the desired secondary map display language for all instances of MapView to languageCode. Applying a language change causes map to be redrawn. If the specified language is not supported, local language of the region will be used. If null, no secondary map language will be used which is the default behaviour. Note: This feature is in beta state and thus there can be bugs and unexpected behavior.

Implementation

static void set secondaryLanguage(LanguageCode? languageCode) {
  $prototype.secondaryLanguage = languageCode;
}