Test with MapContainer
This commit is contained in:
parent
2b099a073d
commit
44d3f20a0e
@ -141,10 +141,20 @@ export const ColouringMap: FC<ColouringMapProps> = ({
|
||||
left: "0",
|
||||
right: "0",
|
||||
}}*/
|
||||
>
|
||||
<MapContainer
|
||||
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" && (
|
||||
<>
|
||||
<Legend
|
||||
|
Loading…
Reference in New Issue
Block a user