I am using the HTML5 Geolocation API to find the longitude and the latitude from the users of my site. This works, but now I would like to show on the screen "You currently are in ...". So I need to convert these coordinates I get from the Geolocation API to a place name.
I tried a bit with Google Maps API, but I didn't get it working.
Does anyone knows how to do this?
I am using the HTML5 Geolocation API to find the longitude and the latitude from the users of my site. This works, but now I would like to show on the screen "You currently are in ...". So I need to convert these coordinates I get from the Geolocation API to a place name.
I tried a bit with Google Maps API, but I didn't get it working.
Does anyone knows how to do this?
Share Improve this question edited Dec 7, 2018 at 16:41 nbro 15.8k34 gold badges119 silver badges213 bronze badges asked Sep 4, 2010 at 11:06 VinzcentVinzcent 1,4486 gold badges33 silver badges59 bronze badges1 Answer
Reset to default 16The Google Maps API Docs have what seems to be a plete reverse geocoding example. (Note that this is the new V3 API!)