Reputation: 25
Fetch user's current location's latitude and longitude and drop marker on it through google map api also display some information related to that location.
Upvotes: 1
Views: 163
Reputation: 1260
Google map provides a very good documentation about their API. As you want to use the marker on map you may consider using google's tutorial from their documentation:
https://developers.google.com/maps/documentation/javascript/markers
For displaying information you may get the idea from here: https://developers.google.com/maps/documentation/javascript/infowindows
Upvotes: 2