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