new historic map example

This commit is contained in:
Mateusz Konieczny 2022-11-18 17:26:35 +01:00
parent 374a34e4ad
commit 8f1a03222c

View File

@ -5,8 +5,8 @@ import { HistoricDataEnablementState } from '../../config/map-config';
export function HistoricDataLayer({enablement}: {enablement: HistoricDataEnablementState}) {
if(enablement == "enabled") {
return <TileLayer
url="https://maps.georeferencer.com/georeferences/53c1ccd0-c169-5f9e-a850-dd34c066c369/2019-10-01T08:40:08.006175Z/map/{z}/{x}/{y}.png?key=xkWAs4LtX8CmpSTUqF9M"
attribution='&copy; ???????????????????????????????????????'
url="https://mapseries-tilesets.s3.amazonaws.com/london_1890s/{z}/{x}/{y}.png"
attribution='&copy; CC BY 4.0 - Reproduced with the permission of the <a href="https://maps.nls.uk/">National Library of Scotland</a>'
/>
} else {
return null;