W3C geolocation API not working on Safari 5
问题 W3C geolocation API doesn't seem to work in safari 5. I tried this page and it sort of tells me that Geolocation is unsuccessful. The code: http://code.google.com/apis/maps/documentation/javascript/examples/map-geolocation.html can somebody explain me why this is so? 回答1: Looks like geolocation in safari only works when you're connected to wifi (not wired): Geolocation in Safari 5 回答2: I'm using Safari 5.0.5 on Mac Snow Leopard and clicking after on your link I was getting Error: The