Skip to content

Commit 9d35f45

Browse files
committed
Quick fix for bounds import issue
1 parent b106a27 commit 9d35f45

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib/components/data-vis/map/Map.svelte

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@
2828
import { page } from "$app/state";
2929
import { joinData } from "./dataJoin.js";
3030
31-
import maplibregl from "maplibre-gl";
32-
import { LngLatBounds } from "maplibre-gl";
31+
import maplibre from "maplibre-gl";
32+
const { LngLatBounds } = maplibre;
3333
34-
// import type { LngLatBoundsLike } from "maplibre-gl";
3534
let {
3635
data,
3736
customPalette,

0 commit comments

Comments
 (0)