The Geolocation Web API.
Public Member Functions | |
| void | getCurrentPosition (GeolocationEvent success, GeolocationErrorEvent error, GeoPositionOptions options) |
| Gets the current position. More... | |
Static Package Functions | |
| static void | Update () |
| Update waiting requests. More... | |
| static void | OnReady (GeolocationEvent success, GeolocationErrorEvent error, GeoPositionOptions options) |
Static Package Attributes | |
| static GeoPosition | Latest |
| The last recorded position. Stored to compute approximate speed. More... | |
| static PendingLocationRequest | FirstQueued |
| First waiting request. More... | |
| static OnUpdateCallback | Updater |
| Calls our update function for us, but only when we actually need it to. More... | |
|
inline |
Gets the current position.
|
inlinestaticpackage |
|
inlinestaticpackage |
Update waiting requests.
|
staticpackage |
First waiting request.
|
staticpackage |
The last recorded position. Stored to compute approximate speed.
|
staticpackage |
Calls our update function for us, but only when we actually need it to.