From 3f4b7e835c8c1e3fc29d80fefe5decdcf722f514 Mon Sep 17 00:00:00 2001 From: andrewgryan Date: Mon, 23 Sep 2024 13:25:44 +0100 Subject: [PATCH] revert markercluster import to esmodule import statement --- src/l-marker-cluster-group.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/l-marker-cluster-group.js b/src/l-marker-cluster-group.js index 2248b16..516e39e 100644 --- a/src/l-marker-cluster-group.js +++ b/src/l-marker-cluster-group.js @@ -1,10 +1,10 @@ // @ts-check // Make L.markerClusterGroup optional -import("leaflet.markercluster").catch((error) => { - console.warn("Failed to import leaflet.markercluster", error) -}); - +// import("leaflet.markercluster").catch((error) => { +// console.warn("Failed to import leaflet.markercluster", error) +// }); +import "leaflet.markercluster"; import { layerConnected } from "./events.js"; import LLayer from "./l-layer.js";