Location Plugin

Stable Version 5.1.2 (O11)
Also available for 10
Published on 25 Aug by 
Created on 30 June 2016
Details
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.
Read More

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.


Key features

  • Get the location of the device.

  • Setup watches for location updates.

  • Clear watches of updates.

 

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 in the interface 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.


Compatibility with Web Versions

Starting on version 5.1.0  the plugin can be used in web browsers and PWAs.

You can check the supported devices and browsers versions here.

 

Licensing

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

What’s new (5.1.2)
  • Fixes permission request bug on android that could make the application crash when calling getLocation without resolving the previous call
Reviews (1)
23 Jul
in version 5.1.0
Works fine together with Android Permissions Plugin.
Category
Mobile Plugins
Support Options
OutSystems Supported
Customers entitled to Support Services may obtain assistance through Support.
Dependencies
See all 1 dependencies
Requirements
Platform:
11.0.0.200
Database:
All
Stack:
.NET
Component Consumers
See all 1 consumers
Weekly Downloads