Maps SDK for Web
Class Locale
Represent a locale configuration.
Methods
getLabel( ): String
Returns the label of the locale.
Returns
getLanguageCode( ): String
Returns the language's code of the locale.
Returns
getValueFor([serviceType]): String
Returns the language's code for the given service type.
Parameters
Name | Description | Required | Type/Values | Default |
---|---|---|---|---|
serviceType | The service code.
But we aware of these cases:
|
No | "routing" | "search" | "traffic" | "maps" | None |
Returns