The API lets you display maps that are localized in various languages with allowances for the differences in specific countries.
For example, you can display a map with labels in English and indicate distances in miles.
To set a language for the map, pass the
lang parameter when connecting the API:
language— Two-letter language code. Specified in ISO 639-1 format. Sets the language for objects on the map (toponyms and controls).
region— Two-letter country code. Specified in ISO 3166-1 format. Determines regional settings, such as measurement units (for indicating distances between objects or driving speeds on a route).
Distance is shown in miles.
Currently supported locales
Example of loading a map in English: