3 ms·
Very cool-looks like this is the same code that is used in Google Maps for location awareness in Firefox. It doesn't seem to like Opera (or it could be my conne
by a2tech 17y ago
Very cool-looks like this is the same code that is used in Google Maps for location awareness in Firefox. It doesn't seem to like Opera (or it could be my connection not being found) but it seems to be cross browser compatible.
- jeresig 17y agoIt looks like it's really only designed to work with devices that provide Geolocation functionality. They have a list on their site: http://code.google.com/p/geo-location-javascript/wiki/SupportedPlatforms http://code.google.com/p/geo-location-javascript/wiki/Suppor... I think this also includes support for the Geolocation API found in Firefox 3.5, so they can probably add that to the list, as well.
- akaalias 17y agoYep, you are right, FF 3.5 is being provided with location by the Google Location Service (http://google-code-updates.blogspot.com/2009/04/google-location-services-now-in-mozilla.html http://google-code-updates.blogspot.com/2009/04/google-locat...). Also, this service implements http://dev.w3.org/geo/api/spec-source.html http://dev.w3.org/geo/api/spec-source.html, which should, once widely adopted, void the need of a wrapper library such as geo.js posted here. Edit: Typo
- timmaah 17y agoHow does FF 3.5 get the location? The example asked me to share location, but then showed me in the middle of New York City when in fact I am in Burlington Vermont
- whoisstanimal 17y agoFF 3.5 uses your IP address or wifi basestation id to retrieve the location and there is no guarantee that is accurate. In order to be accurate you need to use GPS or Cell Tower Locating from you cell phone.
- timmaah 17y agoThe service they use is particularly bad then. Most places I have tried get within a few towns for my office. (Obviously none can get my home satellite connection correct)
- deleted 17y ago[deleted]