Test with MapContainer
This commit is contained in:
parent
2b099a073d
commit
44d3f20a0e
@ -142,9 +142,19 @@ export const ColouringMap: FC<ColouringMapProps> = ({
|
|||||||
right: "0",
|
right: "0",
|
||||||
}}*/
|
}}*/
|
||||||
>
|
>
|
||||||
{mapColourScale && (
|
<MapContainer
|
||||||
<BuildingDataLayer tileset={mapColourScale} revisionId={revisionId} />
|
center={initialMapViewport.position}
|
||||||
)}
|
zoom={initialMapViewport.zoom}
|
||||||
|
minZoom={9}
|
||||||
|
maxZoom={18}
|
||||||
|
doubleClickZoom={false}
|
||||||
|
zoomControl={false}
|
||||||
|
attributionControl={false}
|
||||||
|
>
|
||||||
|
{mapColourScale && (
|
||||||
|
<BuildingDataLayer tileset={mapColourScale} revisionId={revisionId} />
|
||||||
|
)}
|
||||||
|
</MapContainer>
|
||||||
{mode !== "basic" && (
|
{mode !== "basic" && (
|
||||||
<>
|
<>
|
||||||
<Legend
|
<Legend
|
||||||
|
Loading…
Reference in New Issue
Block a user