Waypoint


Usage

Useful features.

Example

⭐️ Saving Draggable Directions's Waypoint
<agm-direction ...
    [waypoints]="waypoints" 
    [renderOptions]="renderOptions" 
    (onChange)="change($event)"
>
</agm-direction>
public waypoints: any = []
public renderOptions = {
    draggable: true,
}
public change(event: any) {
    this.waypoints = event.request.waypoints;
}