setLanguage

abstract fun setLanguage(language: Locale)

Sets map language. If requested locale is not supported, the map will fall back to NGT (Neutral Ground Truth), that means official languages for all regions in local scripts if available.

Please note that the locale pattern should exactly match the one listed in supported languages. For example, correct ways of creating locale for French language:

Locale("fr", "FR")
Locale.forLanguageTag("fr-FR")
Locale.FRANCE

Parameters

language

Map preferred display language.

See also