577
edits
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
navigator.lastPosition | navigator.lastPosition | ||
navigator.getCurrentPosition( successCallback, errorCallback, options ) // | navigator.getCurrentPosition( successCallback, errorCallback, options ) | ||
navigator.watchPosition (successCallback, errorCallback, options) | |||
navigator.clearWatch( watchID ) | |||
The option argument for both <code>getCurrentPosition</code> and <code>watchPosition</code> functions is ignored. Also, because of various implementation details, <code>watchPosition</code> will call the callback every 30 seconds even if you haven't moved. | |||
edits