gmaps - Routes

Routes

You must define two points ( originand destination) and color, opacity and weight of the route in the map.

Also, you can define a travelMode: driving, bicyclingor walking. Default is walking

Routes Advance

Same as drawRoute, you must define an origin, destinationand travelMode. Also, you must define the function that GMaps will call every step in the route.