Labs/Geode: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
Line 1: Line 1:
== Download ==
== Download ==


[https://people.mozilla.com/~dolske/dist/geode/geode-latest.xpi]
[https://people.mozilla.com/~dolske/dist/geode/geode-latest.xpi Geode Download]
 


== What's Implemented ==
== What's Implemented ==

Latest revision as of 17:19, 7 October 2008

Download

Geode Download

What's Implemented

Geode is based on the W3C specification for geolocation in the browser. In particular it implements

 navigator.geolocation.lastPosition
 navigator.geolocation.getCurrentPosition( successCallback, errorCallback, options )
 navigator.geolocation.watchPosition (successCallback, errorCallback, options)
 navigator.geolocation.clearWatch( watchID )

The option argument for both getCurrentPosition and watchPosition functions is ignored. Also, because of various implementation details, watchPosition will call the callback every 30 seconds even if you haven't moved.