Skip to content

Commit

Permalink
revert markercluster import to esmodule import statement
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgryan committed Sep 23, 2024
1 parent 8b8fb1b commit 3f4b7e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/l-marker-cluster-group.js
Original file line number Diff line number Diff line change
@@ -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";

Expand Down

0 comments on commit 3f4b7e8

Please sign in to comment.