Directions Layer property

Official Content
This documentation is valid for:
Enables the possibility to draw the route between two points on the map.

Values

False
True

Description

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.

SDLayer2Direction

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.

Requirement

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.

Run-time/Design-time

This property applies only at design-time.

How to apply changes

To apply changes made by this property, do a Build with this Only of the object.

Availability

This property is available since GeneXus 16 upgrade 3.

Scope

Objects: Panel for Smart Devices, Work With for Smart Devices
Platforms: Smart Devices(IOS)
Controls: Grid (Control Type: SD Maps)

See Also

SD Maps Control Type