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", right: "0",
}} }}
> >
<MapContainer <MapContainer>
center={initialMapViewport.position} <ZoomControl position="topright" />
zoom={initialMapViewport.zoom} </MapContainer>
minZoom={9}
maxZoom={18}
doubleClickZoom={false}
zoomControl={false}
attributionControl={false}
></MapContainer>
{mode !== "basic" && ( {mode !== "basic" && (
<> <>
<Legend <Legend