feat: setup app for static compilation

Breaking change!: initDraggablePath disabled because it breaks the app
This commit is contained in:
Davide Passoni
2024-12-06 17:47:08 +01:00
parent ffade5fb8e
commit a899c5ffca
6 changed files with 56 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ import { SmokeMarker } from "./markers/smokemarker";
/* Register the handler for the box selection */
L.Map.addInitHook("addHandler", "boxSelect", BoxSelect);
initDraggablePath(L);
//initDraggablePath(L); // TODO: breaks app when compiled
export class Map extends L.Map {
/* Options */