GeolocatorPosition
GeolocatorPosition
#
Detailed location information.
accuracy
#
accuracy: Number | None = None
The estimated horizontal accuracy of the position in meters.
The accuracy is not available on all devices.
In these cases the value is 0.0
.
altitude
#
altitude: Number | None = None
The altitude of the device in meters.
The altitude is not available on all devices.
In these cases the returned value is 0.0
.
altitude_accuracy
#
altitude_accuracy: Number | None = None
The estimated vertical accuracy of the position in meters.
The accuracy is not available on all devices.
In these cases the value is 0.0
.
floor
#
floor: int | None = None
The floor specifies the floor of the building on which the device is located.
The floor property is only available on iOS and only when the information is available.
In all other cases this value will be None
.
heading
#
heading: Number | None = None
The heading in which the device is traveling in degrees.
The heading is not available on all devices.
In these cases the value is 0.0
.
heading_accuracy
#
heading_accuracy: Number | None = None
The estimated heading accuracy of the position in degrees.
The heading accuracy is not available on all devices.
In these cases the value is 0.0
.
latitude
#
latitude: Number | None = None
The latitude of this position in degrees normalized to the interval -90.0 to +90.0 (both inclusive).
longitude
#
longitude: Number | None = None
The longitude of the position in degrees normalized to the interval -180 (exclusive) to +180 (inclusive).
mocked
#
mocked: bool | None = None
Will be True
on Android (starting from API level 18) when the location came
from the mocked provider.
On iOS this value will always be False
.
speed
#
speed: Number | None = None
The speed at which the device is traveling in meters per second over ground.
The speed is not available on all devices.
In these cases the value is 0.0
.