mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-01 08:12:32 +00:00
remove tmp anchor when not routing
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user