This point allows you to capture GPS positioning information using the device's readily available GPS hardware. The GPS point can be easily integrated with the Map Point to provide a live map with the current location.
The GPS point can be integrated with the
in order to display a live map of the GPS coordinates, as the GPS is updating. To do this, the GPS point's
format string must be set with the format
needs to be configured to use the GPS point for coordinates.
You can configure another point to obtain GPS positioning information from a GPS point by setting the point's
ID to a dynamic reference. To enable this feature the GPS point will need to have enabled the option
Expand coordinates to child points
in the GPS point's properties. These dynamic references can be useful for extracting additional information for
reports or for calculations and can include information such as latitude, longitude and much more.
As an example, to add an Edit point which references a GPS point called
to obtain the GPS latitude as a decimal, the Edit point's ID would need to be set to
. For a full list of the available options that can be referenced, see the table below:
|Value||Point ID Reference|
|Latitude Min & Sec||
|N or S||
|Longitude Min & Sec||
|E or W||
The GPS point can be configured in the Mobile Data Anywhere Designer to customise the behaviour of the point. Below is an example of the properties window for a GPS point, opened in the Mobile Data Anywhere Designer.
The format settings allow you to customise which GPS information is recorded in the GPS point's value. The
dropdown allows you to select from various GPS information that can be added to the point's recorded value,
including values such as latitude, longitude and much more. The token will be inserted where the cursor has
been placed in the format string.
These settings allow you to customise how the point functions when the point is used on a mobile device.
When this option is enabled, any points with dynamic references to this point will be set automatically whenever the value of this GPS point changes.
When enabled, the device will keep the GPS location services active while the project is open which can reduce the time taken to capture coordinates, between sessions. This option can be disabled to save on battery usage if the GPS point is not used often.
By default, the GPS point will need to be tapped once to start searching for a GPS position and a second tap will stop the search and capture the most recent location. When this option is enabled, the GPS point will automatically stop searching and capture the location as soon as a location has been found.
Apple iOS devices require permission to access the location services on the device. The app will prompt you to grant permission with the prompts seen below:
You can check on the status of permissions from within
the app by opening the
and scrolling down to the
Location & Privacy Settings
The location service status will be one of the following:
|Not Set||Permission has not been requested yet. The app will request permission access when location services are required.|
|No Access||The user has denied access to location services. Location services cannot be used by the app until the user changes the location service permissions for the app.|
|Limited||The user has only granted permission to allow location services while the app is in use. The user has not granted permission for the app to use location services while the app is in the background. This will impact the performance of points such as the GPS Tracker point where location information needs to be tracked over time.|
|Full Access||The user has granted permission to access location services while the app is any state. This will allow all points to use location services as required.|
To change the permission settings for location services, you will need to open the Location and Privacy settings on the device. For devices running recent versions of iOS (iOS 8+) you can quickly navigate to the location and privacy settings from within the Mobile Data Anywhere app:
Location & Privacy Settingssection.
Location and Privacy Settingsbutton.
Alwaysto provide the best experience.
Basic Points Sample
project contains examples of how to use many of the various points that are available. This project also contains a
page that demonstrates some of the ways that this point can be used in your projects.
In the provided sample project, basic_point_samples.ppc there is a page for the GPS Point , which demonstrates how a GPS point can be integrated with a Map point as well as many other points using dynamic references as point ID's. Open this project in the Mobile Data Anywhere Designer for a closer look at how each point has been customised on each point's properties window.