Enables the possibility to draw the route between two points on the map.
Objects: Panel for Smart Devices, Work With for Smart Devices
Generators: Android, Apple
Controls: Grid (Control Type: SD Maps)
When the property is set to True, it is possible to draw the route between two points on the map. These points are given by the values loaded using Location Attribute property or Location Field Specifier property.
Two more properties are enabled to configure the Directions layer: Transport Type property and Default Route Class property.
The implementation of this property is server-side and is done by the DirectionsServiceRequest Rest Service
In the case of using Google provider, it is necessary a Google Direction API Key. It is recommended to protect with security mechanisms such as GAM.
In order to visualize the direction, it is necessary to have the Google API Key property (at Environment level) configured with a valid API Key. This Key must have configured the restriction of API Direction.
This property applies only at design time.
To apply the corresponding changes when the property value is configured, execute a Build with this Only of the object.
This property is available since GeneXus 16 upgrade 6.
Maps Control Type
Transport Type property
Default Route Class property