Topic: Search a route between two locations

I need to draw a line, for the route between two locations, coordinates.
Im using FindDirectionExample.cs added to the map GameObject. but does not work, nothing happend.

I would like to always my mobile GPS is the first coordinate, them gonna have 4 places with marker in the map, then when i click any of the 4 marker,  show the route with a green line, between my GPS mobile position to the marker which i click that is on the map

Re: Search a route between two locations

Go to Los Angeles, and you'll see the route.

To work with GPS add «Online Maps Location Service» control.
To get your location, use «OnlineMapsLocationService.position»:
http://infinity-code.com/doxygen/online … 164baf7eb5
Important: position not available Start, because GPS is not already initialized.
Use OnLocationInited or OnLocationChanged events, to determine the initialization of GPS.
Example:
http://infinity-code.com/atlas/online-m … ample.html

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.