@@ -14,7 +37,9 @@ export function Header() {
/>
-
+
diff --git a/webapp/src/widgets/map/Map.tsx b/webapp/src/widgets/map/Map.tsx
index ac18c178..587ae177 100644
--- a/webapp/src/widgets/map/Map.tsx
+++ b/webapp/src/widgets/map/Map.tsx
@@ -20,6 +20,7 @@ import { useMap } from "@shared/hooks/useMap";
import pictoInventaire from "./assets/inventaire-icon.svg";
import pictoSocioEco from "./assets/socio-eco-icon.svg";
+
function getIconSize({
assetSize,
targetSize,
@@ -36,9 +37,14 @@ function getIconSize({
const TARGET_SIZE = 48;
const SVG_SIZE = 72;
+
+
export const WidgetMap: FC = () => {
const { isReady, mapApiRef, forests, mapContainerRef } = useMap();
+
+
+
useEffect(() => {
if (!isReady || !mapApiRef.current) return;