This commit is contained in:
Sebastien Riviere
2025-09-08 15:08:44 +02:00
parent 75f8b10ecd
commit 7e4d9f910a
37 changed files with 403 additions and 435 deletions

View File

@@ -17,6 +17,7 @@ export function MapPan({center, zoom, animate=false}) {
export function MapEventListener({ onLeftClick, onRightClick, onMouseMove, onDragStart }) {
const map = useMap();
// TODO use useMapEvents instead of this + detect when zoom
// Handle the mouse click left
useEffect(() => {