mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-27 02:27:18 +00:00
centralized map layer event listener for better performance
This commit is contained in:
1 parent
d13e7e7a0a
commit
0ab3b77db8
11 files changed
+408
-90
No files matched your search
@@ -25,7 +25,7 @@
|
||||
if (overpassLayer) {
|
||||
overpassLayer.remove();
|
||||
}
|
||||
overpassLayer = new OverpassLayer(_map);
|
||||
overpassLayer = new OverpassLayer(_map, map.layerEventManager!);
|
||||
overpassLayer.add();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user