W3C home > Mailing lists > Public > public-geolocation@w3.org > November 2009

Mobile Safari not using GPS / "response.location is undefined" in Firefox 3.5.5

From: Nikola <nik.coding@gmail.com>
Date: Wed, 18 Nov 2009 16:28:16 -0500
Message-ID: <b96790f90911181328q162491eei939731fdfcf36638@mail.gmail.com>
To: public-geolocation@w3.org

I've been using the *navigator.geolocation.watchPosition()* method for
nearly two months now and it has worked perfectly on both 2nd and 3ed
generation iPods with the latest firmware.

A few days ago, however, my iPod's Mobile Safari browser pretty much stopped
using GPS to geolocate and is instead using the IP address which is grossly
inaccurate.  Basically, the first few success callbacks return an accurate
GPS location and then, for some reason, it begins geolocating with the IP
address.  Again, up until a few days ago everything was working perfectly
and all the locations were very accurate GPS coordinates.

Additionally, when I try to use the *navigator.geolocation.watchPosition()*or
*navigator.geolocation.getCurrentPosition()* methods in Firefox 3.5.5 on my
Windows machine, I receive the following error in Firebug:

*response.location is undefined
            var newLocation = new
WifiGeoPositionObject(response.location.latitude, \n
line 232) *
What has changed in the past few days and what do I need to learn in order
to continue geolocating in the manner I was doing before?  Everything worked
so beautifully and I'm hopeful it will again.

Received on Wednesday, 18 November 2009 22:41:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:33:56 UTC