Add map-container element
This commit is contained in:
parent
3566d18662
commit
222613c532
@ -140,6 +140,15 @@ 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>
|
||||
{mode !== "basic" && (
|
||||
<>
|
||||
<Legend
|
||||
|
Loading…
Reference in New Issue
Block a user