Reputation: 18337
I have to let user know their current location (street location) with Google Map, on my Website which will be accessing via Mobile Phones / Mobile Devices. How can it be done?
Note: Direct via Website. No native App will be using.
Upvotes: 0
Views: 1273
Reputation: 11662
For starters, this will only work on a mobile phone that supports W3C Geo API. You can find that list on quirksmode.org.
Given a mobile phone that supports this, follow the example in the Google Maps API docs where you use the GeoLocation API to get your longitude/latutide, and then use the standard Google Maps API to center a map on screen at this location.
Upvotes: 1