try historic map on all zoom levels

This commit is contained in:
Mateusz Konieczny 2022-12-16 07:50:21 +01:00
parent c4933fdc11
commit cbb31ad019

View File

@ -1,7 +1,7 @@
import * as React from 'react';
import { TileLayer } from 'react-leaflet';
import { LayerEnablementState } from '../../config/map-config';
import { BuildingBaseLayer } from './building-base-layer';
import { BuildingBaseLayerAllZoom } from './building-base-layer-all-zoom';
import { useDisplayPreferences } from '../../displayPreferences-context';
export function HistoricDataLayer({}) {
@ -10,7 +10,7 @@ export function HistoricDataLayer({}) {
return <><TileLayer
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>'
/><BuildingBaseLayer theme="night_outlines" /></>
/><BuildingBaseLayerAllZoom theme="night_outlines" /></>
} else {
return null;
}