So I make a reverse geocoded call like so:
var geocoder = new google.maps.Geocoder();
geocoder.geocode({'latLng': foundLoc});
I want to add the language parameter to it. If I made a direct post to the Geocoding URL, I would just append &language=us
or something to the end of it, but how would I do that here?
You add a language parameter to the script tag when you include the api. Like so
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&language=ja">
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.