HTML5 Coordinates
The geographic coordinate reference system used by the attributes in this interface is the World Geodetic System (2d) [WGS84]. No other reference system is supported.
Sample - Using HTML5 Geolocation Sample that demonstrates how to use the HTML5 Geolocation API [BlackBerry Developer Resource Center]. |
How To - Enable GPS on PlayBook How to enable GPS capability when using the BlackBerry WebWorks SDK for Tablet OS [BlackBerry Developer Resource Center]. |
Supported Platform(s)
- BlackBerry OS 5.0+
- BlackBerry PlayBook
- Ripple Emulator
API | OS 5.0 | OS 6.0 | OS 7.0 | PlayBook | Ripple |
---|---|---|---|---|---|
accuracy | Y | Y | Y | Y | Y |
altitude | Y | Y | Y | Y | Y |
altitudeAccuracy | Y | Y | Y | Y | Y |
heading | Y | Y | Y | Y | Y |
latitude | Y | Y | Y | Y | Y |
longitude | Y | Y | Y | Y | Y |
speed | Y | Y | Y | Y | Y |
Configuration Document Settings
To use all of the API described for this object, you must ensure the following settings are in your configuration document:
This API does not require a <feature> element to be declared in the configuration document of your BlackBerry WebWorks Application.Permission Elements (PlayBook Only) |
---|
This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application. |
Properties:
Property | Type | Description | Supported Platform(s) |
---|---|---|---|
accuracy |
Number
readonly |
The accuracy attribute denotes the accuracy level of the latitude and longitude coordinates.
|
- BlackBerry OS 5.0+
- BlackBerry PlayBook - Ripple Emulator |
altitude |
Number
readonly |
The altitude attribute denotes the height of the position, specified in meters above the [WGS84] ellipsoid.
|
- BlackBerry OS 5.0+
- BlackBerry PlayBook - Ripple Emulator |
altitudeAccuracy |
Number
readonly |
The altitudeAccuracy attribute is in meters.
|
- BlackBerry OS 5.0+
- BlackBerry PlayBook - Ripple Emulator |
heading |
Number
readonly |
The heading attribute denotes the direction of travel of the hosting device in degrees, where 0° ≤ heading ≤ 360°, counting clockwise relative to the true north.
|
- BlackBerry OS 5.0+
- BlackBerry PlayBook - Ripple Emulator |
latitude |
Number
readonly |
The latitude attributes is geographic coordinates specified in decimal degrees.
|
- BlackBerry OS 5.0+
- BlackBerry PlayBook - Ripple Emulator |
longitude |
Number
readonly |
The longitude attributes is geographic coordinates specified in decimal degrees.
|
- BlackBerry OS 5.0+
- BlackBerry PlayBook - Ripple Emulator |
speed |
Number
readonly |
The speed attribute denotes the current ground speed of the hosting device in meters per second.
|
- BlackBerry OS 5.0+
- BlackBerry PlayBook - Ripple Emulator |
Documentation generated by JsDoc Toolkit 2.4.0 on Sun Dec 30 2012 13:31:17 GMT-0500 (EST)