Class adobeDPS-Coordinates
- Platforms:
- iOS
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.
- Platforms:
- iOS
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.
- Platforms:
- iOS
accuracy
: double
The accuracy level of the latitude and longitude coordinates, specified in meters. The value is a non-negative real number.
- Platforms:
- iOS
altitude
: double
The altitude specified in meters.
If the implementation cannot provide altitude information, the value of this attribute is null.
- Platforms:
- iOS
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.
- Platforms:
- iOS
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).
- Platforms:
- iOS
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).
- Platforms:
- iOS
©2012-2013 Adobe Systems, inc
Documentation generated by JsDoc Toolkit 2.4.0 on Mon Aug 31 2015 09:23:26 GMT-0700 (PDT)
Documentation generated by JsDoc Toolkit 2.4.0 on Mon Aug 31 2015 09:23:26 GMT-0700 (PDT)