On Mar 7, 1:40 am, Ravion <[email protected]> wrote: > I have written a very simple application to show my current location. > you can see it at > > http://www.forourson.com/gps/Map.html > > The problem is that it will display the current location once. Without > refresing the page, how can I make it auto updatable when I am moving > from one location to another?
Several things: 1. That is not showing *your* location, but the location of the visitor's browser, whoever the visitor may be. 2. There are not many browsers that support navigator.geolocation yet. 3. If you're developing the application for mobile devices you might want to look at the API V3, which is made for mobile and has its own group: http://code.google.com/apis/maps/documentation/v3/ http://groups.google.com/group/google-maps-js-api-v3/topics 4. Updating the location would be pure javascript, having nothing to do with the Google Maps API. -- Marcelo - http://maps.forum.nu -- > > Thanks for your help, > Regards, > Ravion -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
