Add map-container element

This commit is contained in:
Alireza Adli 2023-10-27 14:37:50 -04:00
parent 3566d18662
commit 222613c532

View File

@ -140,6 +140,15 @@ export const ColouringMap: FC<ColouringMapProps> = ({
right: "0", right: "0",
}} }}
> >
<MapContainer
center={initialMapViewport.position}
zoom={initialMapViewport.zoom}
minZoom={9}
maxZoom={18}
doubleClickZoom={false}
zoomControl={false}
attributionControl={false}
></MapContainer>
{mode !== "basic" && ( {mode !== "basic" && (
<> <>
<Legend <Legend