Add resctangle after clic (landblock rectangle)
This commit is contained in:
parent
94012aed45
commit
8a64f94659
2 changed files with 38 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import InitMap, { map } from "./map.js";
|
||||
import InitOverlayPoi from "./overlays/overlaysPoi.js";
|
||||
import InitOverlayCoord, { UpdateCoord } from "./overlays/overlaysCoord.js";
|
||||
import InitOverlayCoord, { RectLandBlock, UpdateCoord } from "./overlays/overlaysCoord.js";
|
||||
import InitOverlayPlayer from "./overlays/overlaysPlayer.js";
|
||||
|
||||
//Init leaflet
|
||||
|
|
@ -12,6 +12,7 @@ InitOverlayCoord(map);
|
|||
|
||||
map.on("click", function (ev) {
|
||||
UpdateCoord(ev, map);
|
||||
RectLandBlock(ev, map);
|
||||
});
|
||||
|
||||
//Interval Player Overlay
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue