language
A language ID that determines the language to use for displaying addresses.
Declaration
get language(): string | null;
set language(value: string | null);Discussion
When you set the language property to a language ID (such as fr-CA or en-GB), the service returns results in this language, if available. If language isn’t set when initializing a Service object, then the service uses the language you provided when you initialized MapKit.
The default value is null. The language can be unset by setting language to null or undefined.