heremaps / maps-api-for-javascript-examples

Self-contained examples for Maps API for JavaScript v3.

Home Page:https://developer.here.com/javascript-apis/documentation/v3/maps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Here map clear/remove direction from a to b

veera1908 opened this issue · 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.