Adobe DPS - Library and Store SDK 2.27

Class adobeDPS-Coordinates

This class represents the geolocation coordinates.
This is compatible with the WebKit Coordinates interface

Constructor

adobeDPS-Coordinates(lat:double, lng:double, alt:double, acc:double, head:double, vel:double, altacc:double)
[inner] Create a geolocation Coordinates object.

Fields

Field Defined By
latitude : double
The latitude in decimal degrees.
Coordinates
longitude : double
The longitude in decimal degrees.
Coordinates
accuracy : double
The accuracy level of the latitude and longitude coordinates, specified in meters.
Coordinates
altitude : double
The altitude specified in meters.
Coordinates
heading : double
The direction of travel of the device specified in degrees, where 0° ≤ heading < 360°, counting clockwise relative to the true north.
Coordinates
speed : double
The magnitude of the horizontal component of the hosting device's current velocity, specified in meters per second.
Coordinates
altitudeAccuracy : double
The accuracy of the altitude value in meters.
Coordinates
Class Detail
adobeDPS-Coordinates(lat:double, lng:double, alt:double, acc:double, head:double, vel:double, altacc:double)
[inner] Create a geolocation Coordinates object.
Parameters
lat double The latitude of the position
lng double The longitude of the position
alt double The altitude of the position
acc double The accuracy of the position
head double The direction the device is moving at the position
vel double The velocity with which the device is moving at the position
altacc double The altitude accuracy of the position
Field Details
latitude : double
The latitude in decimal degrees. Positive values indicate latitudes north of the equator. Negative values indicate latitudes south of the equator.
longitude : double
The longitude in decimal degrees. Measurements are relative to the zero meridian, with positive values extending east of the meridian and negative values extending west of the meridian.
accuracy : double
The accuracy level of the latitude and longitude coordinates, specified in meters. The value is a non-negative real number.
altitude : double
The altitude specified in meters. If the implementation cannot provide altitude information, the value of this attribute is null.
heading : double
The direction of travel of the device specified in degrees, where 0° ≤ heading < 360°, counting clockwise relative to the true north. If the implementation cannot provide heading information, the value of this attribute can be null or negative number (-1). If the hosting device is stationary (i.e. the value of the speed attribute is 0), then the value of the heading attribute is NaN.
speed : double
The magnitude of the horizontal component of the hosting device's current velocity, specified in meters per second. A valid speed value is a non-negative real number. If the implementation cannot provide speed information, the value of this attribute can be null or negative number (-1).
altitudeAccuracy : double
The accuracy of the altitude value in meters. A valid altitudeAccuracy value is a non-negative real number. If the implementation cannot provide altitude information, the value of this attribute can be null or negative number (-1).
©2012-2013 Adobe Systems, inc
Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jun 24 2013 16:54:19 GMT-0700 (PDT)