How to get location name of the place marker is put on
-
I want to fetch location name where current marker is there. As and when user change the position of marker, i should be able to get name of new location. How this can be achieved?
-
Use some reverse geocoding api on marker move events.
Google: https://developers.google.com/maps/documentation/geocoding/intro
Here: https://developer.here.com/api-explorer/rest/geocoder/reverse-geocode
Mapbox: https://docs.mapbox.com/help/how-mapbox-works/geocoding/Depends of your traffic, you may have to pay for this service.
Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
NodeBB & contributors, OSM & contributors, HERE maps