Zone collection + creation

Zone create UI flow
This commit is contained in:
Timothy Armes
2024-10-21 15:19:28 +02:00
parent 1da389a24a
commit 9f12a00030
21 changed files with 431 additions and 90 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ import { LayerGroup, MapContainer, TileLayer } from "react-leaflet";
import MarkerClusterGroup from "react-leaflet-cluster";
import { debouncedHoveredListIdAtom, mapBoundsAtom } from "@/atoms";
import MapEvents from "@/components/MapEvents";
import { MapEvents } from "@/components/MapEvents";
export type MarkerRef = {
getMarker: () => L.Marker<any>;
@@ -235,7 +235,7 @@ export const Map = ({
}
}}
>
<MapEvents />
<MapEvents updateMapBoundsAtom />
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"