getCurrentPosition method
void
getCurrentPosition(
- PositionCallback successCallback, [
- PositionErrorCallback? errorCallback,
- PositionOptions options
The getCurrentPosition()
method of the Geolocation interface is
used to get the current position of the device.
Implementation
external void getCurrentPosition(
PositionCallback successCallback, [
PositionErrorCallback? errorCallback,
PositionOptions options,
]);