The existing calculated route, a Feature with LineString geometry.
The existing waypoints in order, from origin through intermediate waypoints to destination.
The waypoints to find insertion slots for.
The insertion slot indices, one per new waypoint, in input order.
newWaypoints returns an empty array.0, so they would all prepend.
The multi-waypoint variant of findBestWaypointInsertionIndex.
It projects every existing and new waypoint onto the route once, and gives each new waypoint the slot in
existingWaypointsit falls in by its along-route location.