The Geolocation widget enables PhoneGap native geolocation functionality within your Mendix mobile application. This is a widget that will be functional from Mendix 7.13.1.
For more information on contributing to this repository visit Contributing to a GitHub repository.
Place the widget in a dataview where you want the button to be placed. Make sure this form is reachable from a mobile application.
The label text that is shown on the button.
An optional class to be placed directly on the button dom node.
The attribute on the dataview object where the latitude should be set to.
The attribute on the dataview object where the longitude should be set to.
An optional microflow that will be triggered once the location has been retrieved. It is advised to use this at least with a Refresh in client call, to make sure the UI is updated correctly.
An optional nanoflow that will be triggered once the location has been retrieved. It is advised to use this at least with a Refresh in client call, to make sure the UI is updated correctly.