getCurrentPosition
fun getCurrentPosition(successCallback: PositionCallback, errorCallback: PositionErrorCallback? = definedExternally, options: PositionOptions = definedExternally)(source)
The getCurrentPosition()
method of the Geolocation interface is used to get the current position of the device.