i should get name of region by coordinates using Google Maps Api or gmaps.js If you know how do it, please give me answer. And sorry for my english.
Asked
Active
Viewed 810 times
1 Answers
2
You need to use the Geocoder service to get location details from coordinates. The response from the Geocoder will contain all the details. All you need is to find out the details you are interested in.
var geocoder = new google.maps.Geocoder();
geocoder.geocode({
'latLng': latLng
}, function (results, status) {
if (status == google.maps.GeocoderStatus.OK) {
console.log(results);
}
});
See this also http://jsfiddle.net/eB2RX/1/

MrUpsidown
- 21,592
- 15
- 77
- 131

Anand G
- 3,130
- 1
- 22
- 28