From bfb4e252ccec94749ee362c7e0ec24de8c799e50 Mon Sep 17 00:00:00 2001 From: Lukas0912 Date: Thu, 7 Nov 2024 16:26:02 +0100 Subject: [PATCH] feat: Set borders of map, limit zoom in and zoom out --- src/components/Map/Map.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/Map/Map.tsx b/src/components/Map/Map.tsx index 938ccca9..324670d7 100644 --- a/src/components/Map/Map.tsx +++ b/src/components/Map/Map.tsx @@ -10,7 +10,18 @@ import { CountryPolygon } from './CountryPolygon'; export default function Map({ countries }: MapProps) { return ( - +