2016-12-15
2.0.3
Outsystems R&D
10.0.105.0
All
All
Plug-ins
[Overview]
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.
[Detail]
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