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",
|
||||
}}
|
||||
>
|
||||
<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
|
||||
|
Loading…
Reference in New Issue
Block a user