When a user searches for a route and one is not found the polyline layer is removed - if they then change the mode of transportation the event listener will not reroute if there is no polyline layer. This commit removes the conditional that prevents the routing code from re-running after the polyline has been removed. Fixes #3050 Closes #3055 |
||
---|---|---|
.. | ||
directions | ||
browse.js | ||
changeset.js | ||
contextmenu.js | ||
directions.js | ||
export.js | ||
history.js | ||
new_note.js | ||
note.js | ||
notes.js | ||
query.js | ||
search.js |