remove tmp anchor when not routing

This commit is contained in:
vcoppe
2024-06-11 23:40:10 +02:00
parent 8506206ab8
commit 5642129623

View File

@@ -128,6 +128,7 @@ export class RoutingControls {
this.map.off('click', this.appendAnchorBinded);
this.map.off('mousemove', this.fileId, this.showTemporaryAnchorBinded);
this.map.off('mousemove', this.updateTemporaryAnchorBinded);
this.temporaryAnchor.marker.remove();
resetCursor();
this.fileUnsubscribe();