Improve leaf-let's map-container

This commit is contained in:
Alireza Adli 2023-10-27 14:44:48 -04:00
parent 222613c532
commit 5bad2b11a4

View File

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