Currently, there is a way to remove a waypoint on the map, but it only removes the most recent point. So, it would be helpful to change the logic for that button so you can choose which waypoint to delete.
You should be able to use the button for clearing pathmarkers as a reference to create this component.
Checklist