Mobile

Location Plugin

supported

Plugin that enables an application to access the GPS capabilities of the users device. For example the latitude, longitude and the altitude of the users device.

 

How to use this plugin?

Retrieving the current position can be done as a single act by using the action GetLocation. If everything runs without errors, the Location is returned.

 

It is also possible to keep track of the position, for that, a combination of WatchPosition and LocationTracker should be used. Use the WatchPosition to register a watcher and place LocationTracker anywhere you the webapp in order to register an event handler for OnChangedPosition event. Remember that, if a screen redirect happens and the new screen doesn’t contain LocationTracker, no OnChangedPosition event will be triggered.

 

Licensing

Location plugin for Apache Cordova
Apache License 2.0
Copyright 2012 The Apache Software Foundation
 

Version 2.0.3

Dependencies

Requirements
Platform:
10.0.0.402
Database:
All
Stack:
All