switch to maplibre, but laggy

This commit is contained in:
vcoppe committed 2026-01-30 21:01:24 +01:00
1 parent 375204c379
commit e96b544a75
60 files changed
+1059 -1746

No files matched your search

@@ -213,7 +213,9 @@
isSelected($currentOverlays, selectedOverlay)
) {
try {
$map.removeImport(selectedOverlay);
if ($map.getLayer(selectedOverlay)) {
$map.removeLayer(selectedOverlay);
}
} catch (e) {
// No reliable way to check if the map is ready to remove sources and layers
}