Route between two points

Hi,


The WayPoints object should indeed be used as a parameter in the GetDirections call.
You can have a look at the WebGMapsDirections demo aplication for a full working example.