From wiki.ginstr.com
Jump to: navigation, search
(Action signatures)
(Action signatures)
Line 27: Line 27:
 
| <code>target</code>
 
| <code>target</code>
 
| [[target]] where the route path data will be stored
 
| [[target]] where the route path data will be stored
 +
* Valid [[target]]:
 +
** <code>[[Datatypes#text|text]]</code>
 +
|-
 +
| <code>eventSourceId</code>
 +
| [[target]] where the actionSet will be executed
 +
* Valid [[target]]:
 +
** <code>any</code>
 +
|-
 +
| <code>eventId</code>
 +
| [[target]] which represents the actionSet name
 
* Valid [[target]]:
 
* Valid [[target]]:
 
** <code>[[Datatypes#text|text]]</code>
 
** <code>[[Datatypes#text|text]]</code>

Revision as of 14:57, 1 June 2020

act_getMapRoutePath

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 target where the actionSet will be executed
eventId target which represents the actionSet name

Example

@+id/gnMapView - GnMap widget
[gn:act_getMapRoutePath]|[@+id/gnMapView,uploadedImage_gps;@variable/routeMapPath;@+id/gnMapView,gn:act_set],