From wiki.ginstr.com
Jump to: navigation, search
(Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> <span STYLE="font-size: xx-large"><code>act_getMapRoutePath</code></span> Category:Action_Library ;...")
 
(Action signatures)
Line 8: Line 8:
 
==Action signatures==
 
==Action signatures==
  
:;<code>[gn:act_getMapRoutePath]|[target]</code>
+
:;<code>[gn:act_getMapRoutePath]|[sourceId(DtRows),columnName;targetId(DtText);eventSourceId,eventId],</code>
  
 
:{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
:{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
Line 23: Line 23:
 
====Example====
 
====Example====
 
:<code>@+id/gnMapView</code> - GnMap widget<br>
 
:<code>@+id/gnMapView</code> - GnMap widget<br>
:; ⤷ <code>[gn:act_zoomToSpan]|[@+id/gnMapView]</code>
+
:; ⤷ <code>[gn:act_getMapRoutePath]|[@+id/gnMapView,uploadedImage_gps;@variable/routeMapPath;@+id/gnMapView,gn:act_set],</code>
 
<hr>
 
<hr>

Revision as of 14:52, 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
target target on which the action will be executed

Example

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