Coordinates

Availability

BlackBerry Device Software version 6.0 or later

The Coordinates object is a property of the Position object. It contains the geographical position of the BlackBerry device at the specific time that it was acquired by the Geolocation object.

If any of the properties of this object cannot be determined, they are assigned a value of null.

Properties

Property name

Type

Description

Status

Support level

Availability

accuracy

double

Returns the accuracy of the latitude and longitude coordinates, in meters.

read only

Geolocation

6.0 or later

altitude

double

Returns the height of the geographic position, in meters.

read only

Geolocation

6.0 or later

altitudeAccuracy

double

Returns the accuracy of the altitude value, in meters.

read only

Geolocation

6.0 or later

heading

double

Returns the direction of travel, in degrees, where 0° and 360° represent due north.

read only

Geolocation

6.0 or later

latitude

double

Returns the geographic latitude, in decimal degrees.

read only

Geolocation

6.0 or later

longitude

double

Returns the geographic longitude, in decimal degrees.

read only

Geolocation

6.0 or later

speed

double

Returns the ground speed, in meters per second.

read only

Geolocation

6.0 or later

Last modified: 2014-03-10



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus