Angular directive

directions source

Description

Enable directions on map. e.g., origin, destination, draggable, waypoints, etc

Requires: map directive

Restrict To: Element

Attributes

NameTypeDescription
DirectionsRendererOptions String

Any DirectionsRendererOptions

DirectionsRequestOptions String

Any DirectionsRequest options

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>