Is there any way to load language in the map options field?
Something like this:
var mapOptions = {
center : new google.maps.LatLng(43.97918, 53.716647),
zoom : 10,
mapTypeId : google.maps.MapTypeId.ROADMAP,
language : 'fr'
};
Change your navigation language 1 On your Android phone or tablet, open the Google Maps app . 2 Tap your profile picture or initial Settings. 3 Tap Navigation settings Voice. 4 Choose a voice and language. More ...
You can change a country domain or language by using Google Maps. Google Maps automatically shows place names in a country’s local languages, but on your computer, you can change your map language. On your computer, open Google Maps. In the top left, click Menu . Choose Language. Select a language.
Find Google Maps in another language 1 On your computer, open Google Maps. 2 In the top left, click Menu . 3 Choose Language. 4 Select a language.Map labels will be shown in your country’s local language, but you’ll find place information in the language you selected. 5 Optional: Learn how to change your language for all Google products.
In this example, the Maps API is loaded synchronously. We omitted the async attribute from the script tag that loads the API, and we also omitted the callback parameter.
Found it!
Using google script https://www.google.com/jsapi
google.load('maps', '3.x', {
'other_params' :
'sensor=true&libraries=geometry&language=' + langCode,
'callback' : mapsLoadeds
});
mapsLoaded executes the common code for creating maps.
You can use the language
parameter in the url of google maps :
<script src="http://maps.googleapis.com/maps/api/js?sensor=false&language=ja">
</script>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With