[OSM-talk] geolocation with GPS in iPhone Safari ???

bernhard bz at datenkueche.com
Sat Sep 26 15:24:31 BST 2009


Hi all

I'm playing with iPhone and have a problem.
The geolocation API in iPhone Safari does not give the correct position.

It looks like the iPhone Safari does not use the built in GPS. Instead 
(I guess) it uses the position of WLAN Hotspots for locating the own 
position.

The {enableHighAccuracy:true} should switch on the GPS but it does not.
If I use Google Maps Application the GPS is available and if I switch 
from googlemaps to the browser, the accuracy is ok  - but only for some 
seconds.

Can somebody confirm that iPhone Safari has no access to GPS?


Here you can see the accuray if you have an iPhone:

QR-Code:
*http://tinyurl.com/yby7k2m*

The map:
http://lamp2.fhstp.ac.at/~lbz/beispiele/ws2009/litemap/

Bernhard

PS: To have a simple example there is a static map (no Slippymap) in 
this page. It does not work with Android.




More information about the talk mailing list