Geolocation domain

Official Content
This documentation is valid for:

The Geolocation domain is a data type that allows managing geographic information in terms of latitude and longitude.

A variable or attribute based on this domain accepts latitude/longitude coordinates as character input. 

Example

&varGeolocation = "-36.123 , -57.235"

Where VarGeolocation is defined as

vargeolocation_png

In View mode, when the selector displayed is selected with a tap, it allows you to jump to a map indicating the location given by the coordinates with a pin.

Sample in View Mode                                     Sample after tapping

SD - GeoLocation Domain Edit Sample SD - GeoLocation Domain View Sample

Notes

  • Android: In order to show the map in View Mode on Android (compiled) application, you must have an API Key from Google. See HowTo: Get an API Key from Google.
    In order to work properly, you need to enable the following API services for the created Key:
    • Maps Javascript Api
    • Maps static Api
    • Geocoding Api
    • Geolocation Api
  • iOS: not requiered when using KBN.

Troubleshooting

The following errors may appear:

The Google Maps Platform server rejected your request. The provided API key is expired
The Google Maps Platform server rejected your request. This API project is not authorized to use this API

Make sure you enable the previous services from the Google console and double check the API key is valid.