GeolocatorPosition
Detailed location information.
Properties
accuracy- The estimated horizontal accuracy of the position in meters.altitude- The altitude of the device in meters.altitude_accuracy- The estimated vertical accuracy of the position in meters.floor- The floor specifies the floor of the building on which the device is located.heading- The heading in which the device is traveling in degrees.heading_accuracy- The estimated heading accuracy of the position in degrees.latitude- The latitude of this position in degrees normalized to the interval -90.0 to +90.0 (both inclusive).longitude- The longitude of the position in degrees normalized to the interval -180 (exclusive) to +180 (inclusive).mocked- Will beTrueon Android (starting from API level 18) when the location came from the mocked provider.speed- The speed at which the device is traveling in meters per second over ground.speed_accuracy- The estimated speed accuracy of this position, in meters per second.timestamp- The time at which this position was determined.
Properties
accuracyclass-attributeinstance-attribute
accuracy: Optional[Number] = NoneThe estimated horizontal accuracy of the position in meters.
The accuracy is not available on all devices.
In these cases the value is 0.0.
altitudeclass-attributeinstance-attribute
altitude: Optional[Number] = NoneThe altitude of the device in meters.
The altitude is not available on all devices.
In these cases the returned value is 0.0.
altitude_accuracyclass-attributeinstance-attribute
altitude_accuracy: Optional[Number] = NoneThe estimated vertical accuracy of the position in meters.
The accuracy is not available on all devices.
In these cases the value is 0.0.
floorclass-attributeinstance-attribute
floor: Optional[int] = NoneThe 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.
headingclass-attributeinstance-attribute
heading: Optional[Number] = NoneThe 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_accuracyclass-attributeinstance-attribute
heading_accuracy: Optional[Number] = NoneThe 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.
latitudeclass-attributeinstance-attribute
latitude: Optional[Number] = NoneThe latitude of this position in degrees normalized to the interval -90.0 to +90.0 (both inclusive).
longitudeclass-attributeinstance-attribute
longitude: Optional[Number] = NoneThe longitude of the position in degrees normalized to the interval -180 (exclusive) to +180 (inclusive).
mockedclass-attributeinstance-attribute
mocked: Optional[bool] = NoneWill 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.
speedclass-attributeinstance-attribute
speed: Optional[Number] = NoneThe 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.
speed_accuracyclass-attributeinstance-attribute
speed_accuracy: Optional[Number] = NoneThe estimated speed accuracy of this position, in meters per second.
The speed accuracy is not available on all devices.
In these cases the value is 0.0.
timestampclass-attributeinstance-attribute
timestamp: datetime.datetime = NoneThe time at which this position was determined.