In this tutorial we will explain the meaning of SD Geolocation and how to use it.

SD Geolocation is a control applicable to a geolocation field. This control will show the geolocation field over a map, indicating the position with a pin.
 
This control can be applied to an attribute from a Transaction object based on Geolocation domain and also to a variable with same domain.

Example

For the following tutorial we will create a Transaction (called "TRNGeolocation") with two Attributes (Id and descriptionas shown on the image.
 
TRNGeolocation
 
Then we apply the Work With pattern and Work With object pattern to the Transaction (for further information see Applying Work With Pattern).
 
GeolocationPattern
 
Let's change the Control Type property of the attribute "TRNGeolocationDescription" to SD Geolocation.
 
SDGeolocationPatternControl
 
To finish the tutorial create the following dashboard and add the WorkWithDevicesTRNGeolocation as an item.
 
DashboardGeolocation1
 
Done! Now we can deploy our application on different devices (don't forget to set your dashboard as main object).

Android

AndroidSDGeolocation1 AndroidSDGeolocation2
AndroidSDGeolocation3 AndroidSDGeolocation4
AndroidSDGeolocation5

iOS

iOSGeolocation1 iOSGeolocation2
 
In this case, we already have an item on the list. 
 
iOSGeolocation3
 

Scope

Platforms: Android,  iOS

See also

Videos

Start Video Work With for Smart Devices – General Aspects and List layout
Start Video WorkWith for Smart Devices – Detail Layout