Angular directive
directions source
Description
Enable directions on map. e.g., origin, destination, draggable, waypoints, etc
Requires: map directive
Restrict To: Element
Attributes
| Name | Type | Description | 
|---|---|---|
| DirectionsRendererOptions | String | |
| DirectionsRequestOptions | String | 
Example
<map zoom="14" center="37.7699298, -122.4469157">
   <directions
     draggable="true"
     panel="directions-panel"
     travel-mode="{{travelMode}}"
     waypoints="[{location:'kingston', stopover:true}]"
     origin="{{origin}}"
     destination="{{destination}}">
   </directions>
 </map>