Skip to content

Commit 2a88c19

Browse files
committed
Testing
1 parent f2d76d6 commit 2a88c19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/leaflet-map/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const LeafletMap = component$<MapProps>(
6060
const placeIcon = new Icon({
6161
iconUrl: "/redpin.png",
6262
iconSize: [25, 25],
63-
className: "w-2 h-2",
63+
className: "w-2 h-2 rotate-[75deg]",
6464
});
6565

6666
const { getBoundaryBox } = await import("../../helpers/boundary-box");
@@ -84,6 +84,7 @@ export const LeafletMap = component$<MapProps>(
8484

8585
tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png", {
8686
maxZoom: 19,
87+
crossOrigin: true,
8788
attribution:
8889
'&copy; <a href="http://www.openstreetmap.org/copyright">hi</a>',
8990
}).addTo(map);

0 commit comments

Comments
 (0)