Skip to content
Titanium SDK
Version12.6.1

You are reading 12.6.1. See this page in 13.4.1.

LocationCoordinates

pseudoAndroidiPhoneiPadmacOS

Simple object holding the data for a location update.

Properties 9

accuracy

Number

Accuracy of the location update, in meters.

altitude

Number

Altitude of the location update, in meters.

altitudeAccuracy

NumberAndroid 8.0.0+

Vertical accuracy of the location update, in meters.

floor

LocationCoordinatesFlooriPhoneiPadmacOSsince 3.6.0

The floor of the building on which the user is located.

heading

Number

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.

latitude

Number

Latitude of the location update, in decimal degrees.

longitude

Number

Longitude of the location update, in decimal degrees.

timestamp

Number

Timestamp for this location update, in milliseconds.