gm-directions

This directive consumes the DirectionsService and provides its result to its child.
It does not display anything.

Parent Scope Result Result DirectionsStatus DirectionsResult Parameters DirectionsRequests LatLng | String LatLng | String Travel Modes Required values
  • origin
  • destination
  • travelMode
Example:

See renderer example.