Improve leaf-let's map-container
This commit is contained in:
parent
222613c532
commit
5bad2b11a4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user