The Geolocation object is used by scripts to programmatically determine the location information associated with the hosting device.
Only notes about the BlackBerry WebWorks implementation of the standard HTML5 Geolocation API are provided here. For a complete description, see the Geolocation API Specification on the w3 website.
The standard HTML5 version of the Geolocation API requires less overhead than the Cordova Geolocation API. You should use the Cordova version only if you are doing cross-platform development for platforms that do not have built-in geolocation support.
Maps Sample This sample demonstrates how to integrate mapping services into a BlackBerry WebWorks app for BlackBerry 10. This sample uses the geolocation API [BlackBerry on GitHub].
This object is part of standard HTML5. No special installation is required.
To use this API, you must declare the permission element below in your www/config.xml file.
<rim:permissions> <rim:permit>access_location_services</rim:permit> </rim:permissions>
Last modified: 2014-05-14