From 90af39dfafede35846414d6ab8c1f36d541e5bac Mon Sep 17 00:00:00 2001 From: Mike Simpson Date: Thu, 6 Apr 2023 15:22:15 +0100 Subject: [PATCH] Update historic maps to show Survival Status --- app/src/frontend/map/layers/historic-data-layer.tsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/app/src/frontend/map/layers/historic-data-layer.tsx b/app/src/frontend/map/layers/historic-data-layer.tsx index 328b7a61..5d5169ea 100644 --- a/app/src/frontend/map/layers/historic-data-layer.tsx +++ b/app/src/frontend/map/layers/historic-data-layer.tsx @@ -3,14 +3,19 @@ import { TileLayer } from 'react-leaflet'; import { LayerEnablementState } from '../../config/map-config'; import { BuildingBaseLayerAllZoom } from './building-base-layer-all-zoom'; import { useDisplayPreferences } from '../../displayPreferences-context'; +import { BuildingDataLayer } from './building-data-layer'; export function HistoricDataLayer({}) { const { historicData } = useDisplayPreferences(); if(historicData == "enabled") { - return <> + return <> + + + + } else { return null; }