Hi, I want to use the w3c geolocation service in android browsers. I tested with HTC Hero android 2.1.
Here is the Google sample map that shows how geolocation should work: http://code.google.com/intl/de-DE/apis/maps/documentation/javascript/examples/map-geolocation.html Result: Map is shown. Infowindow: Location found using W3C standard. That's how it should be. But the infowindow points to a place on the map that is (probably) the next cell tower and not my precise location. It seems as if the GPS data are not processed. I decided to do some testing and copied the source code of the page and put it here: http://speibl.com/samples/v3-tutorial-17-geolocation1.html When I open this page in my smartphone then the screen shows nothing but a white browser viewport. My questions are: Should andorid 2.1 be able to do geolocation with GPS data? Why is no GPS data used for geolocation in the sample? Why does the same source code create different results? Any help is highly appreciated. If this can't be fixed I have to stop writing webapps and switch to native apps instead, hoping that geolocation works better with native apps. Thanks a lot, Rolf -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
