LocationCoordinates

Simple object holding the data for a location update.

  • 0.8
  • 0.8
  • 0.8

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

LocationCoordinates
accuracy : Number

Accuracy of the location update, in meters.

Accuracy of the location update, in meters.

LocationCoordinates
altitude : Number

Altitude of the location update, in meters.

Altitude of the location update, in meters.

LocationCoordinates
altitudeAccuracy : Number

Vertical accuracy of the location update, in meters.

Vertical accuracy of the location update, in meters.

LocationCoordinates
: LocationCoordinatesFloor
The floor of the building on which the user is located. ...

The floor of the building on which the user is located. Available in iOS 8.0 and later.

Requires: iOS 8.0 and later

  • 3.6.0
  • 3.6.0
LocationCoordinates
: Number
Compass heading, in degrees. ...

Compass heading, in degrees. May be unknown if device is not moving. On iOS, a negative value indicates that the heading data is not valid.

LocationCoordinates
latitude : Number

Latitude of the location update, in decimal degrees.

Latitude of the location update, in decimal degrees.

LocationCoordinates
longitude : Number

Longitude of the location update, in decimal degrees.

Longitude of the location update, in decimal degrees.

LocationCoordinates
: Number
Current speed in meters/second. ...

Current speed in meters/second. On iOS, a negative value indicates that the heading data is not valid or the accuracy is configured incorrectly. Note: Due to the Apple Geolocation API, set the Titanium.Geolocation.accuracy property to Titanium.Geolocation.ACCURACY_BEST_FOR_NAVIGATION in order to properly measure speed changes and prevent the app from returning negative values.

LocationCoordinates
timestamp : Number

Timestamp for this location update, in milliseconds.

Timestamp for this location update, in milliseconds.