mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-18 08:52:29 +00:00
remove tmp anchor when not routing
This commit is contained in:
1 parent
8506206ab8
commit
5642129623
1 file changed
+1
@@ -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