heremaps/maps-api-for-javascript-examples

Here map clear/remove direction from a to b

veera1908 opened this issue · 1 comments

How to remove/clear routing location from a to b dynamically? i am using direction service. only remove direction not marker.

Screenshot_2019-08-24 CMRL Stop

If I understood it correct you want to do some sort of a "rubber-band" routing. The only way to achieve it is to re-request the routing directions from the service and then add he new polyline to the map.