This document explains how to use Geolocation Tracking and provides a brief overview about it.
In order to create an application that keeps track of a device's position, it is possible to program a Panel object with three events (buttons):
The first allows to start the tracking points:
The second one allows to stop the tracking points:
At the end, the GeoPoints can be recovered with GetLocationHistory Method and it would be showed as an SDMAP grid:
&locationCollection = Geolocation.GetLocationHistory(&Today)
To download an example click here.
Note that the tracking system can be expensive in terms of battery, so the tracking operations should be started and ended based on the specific needs of the application.
: In iOS, if you want to do background tracking, it is necessary to include the 'location' value to the Background Modes property
Geolocation - Show points near me
Geolocation - Showing My Location
Geolocation external object
Tracking using Silent Notificaction