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'
};
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.