Labs/Geode

From MozillaWiki
< Labs
Revision as of 06:14, 7 October 2008 by Aza (talk | contribs)
Jump to navigation Jump to search

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

 navigator.lastPosition
 navigator.getCurrentPosition( successCallback, errorCallback, options )
 navigator.watchPosition (successCallback, errorCallback, options)
 navigator.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.