Package | Description |
---|---|
elemental.dom | |
elemental.js.dom |
Modifier and Type | Method and Description |
---|---|
void |
Geolocation.getCurrentPosition(PositionCallback successCallback,
PositionErrorCallback errorCallback)
Acquires the user's current position via a new position object.
|
int |
Geolocation.watchPosition(PositionCallback successCallback,
PositionErrorCallback errorCallback)
Similar to
getCurrentPosition() , except it continues to call the callback with updated position information periodically until clearWatch() is called. |
Modifier and Type | Method and Description |
---|---|
void |
JsGeolocation.getCurrentPosition(PositionCallback successCallback,
PositionErrorCallback errorCallback) |
int |
JsGeolocation.watchPosition(PositionCallback successCallback,
PositionErrorCallback errorCallback) |
Copyright © 2016. All rights reserved.