From wiki.ginstr.com
Revision as of 15:02, 1 June 2020 by Dinko (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

act_getMapRoutePath (M103.8.0.6)

Description
Retrieves the route path data from OSRM server
Action returns
void

Action signatures

[gn:act_getMapRoutePath]|[sourceId(DtRows),columnName;targetId(DtText);eventSourceId,eventId],
Parameter Description
source source which contains list of gps coordinates
columnName name of cloumn which contains list of gps coordinates
target target where the route path data will be stored
eventSourceId source where the actionSet will be executed
eventId source which represents the actionSet name

Example

@+id/gnMapView - DtRows widget
uploadedImage_gps - column name
@variable/routeMapPath - DtText variable
@+id/gnMapView - eventSourceId
gn:act_set - eventId
[gn:act_getMapRoutePath]|[@+id/gnMapView,uploadedImage_gps;@variable/routeMapPath;@+id/gnMapView,gn:act_set],