Insert a waypoint at the closest segment of a polyline path.
The path is an array of points representing the full edge path (startPoint + bendPoints + endPoint). The new waypoint is inserted at the position along the path where it is closest.
Insert a waypoint at the closest segment of a polyline path.
The path is an array of points representing the full edge path (startPoint + bendPoints + endPoint). The new waypoint is inserted at the position along the path where it is closest.