mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
cleanup
This commit is contained in:
parent
4ac0bbebe2
commit
bdcd7fd814
1 changed files with 0 additions and 2 deletions
|
@ -154,7 +154,6 @@ KmMarksLayer.addInitHook(function() {
|
||||||
this.map = event.target._map;
|
this.map = event.target._map;
|
||||||
this.marksLayer.addTo(this.map);
|
this.marksLayer.addTo(this.map);
|
||||||
this.endMarker.addTo(this.map);
|
this.endMarker.addTo(this.map);
|
||||||
// this.arrowsLayer.addTo(this.map);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -162,7 +161,6 @@ KmMarksLayer.addInitHook(function() {
|
||||||
if (event.target instanceof KmMarksLayer) {
|
if (event.target instanceof KmMarksLayer) {
|
||||||
this.marksLayer.removeFrom(this.map);
|
this.marksLayer.removeFrom(this.map);
|
||||||
this.endMarker.removeFrom(this.map);
|
this.endMarker.removeFrom(this.map);
|
||||||
// this.arrowsLayer.removeFrom(this.map);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue