From b582a40df27b17555b59473fb8a96373f17cbab0 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Wed, 5 Oct 2022 20:06:55 +0200 Subject: [PATCH] show planning application map in both planning and community --- .../frontend/config/category-maps-config.ts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/app/src/frontend/config/category-maps-config.ts b/app/src/frontend/config/category-maps-config.ts index 5072302e..866940aa 100644 --- a/app/src/frontend/config/category-maps-config.ts +++ b/app/src/frontend/config/category-maps-config.ts @@ -182,6 +182,22 @@ export const categoryMapsConfig: {[key in Category]: CategoryMapDefinition[]} = ] } }, + { + mapStyle: 'community_expected_planning_application_total', + legend: { + title: 'Expected planning application', + description: 'People who think the building will be affected by a planning application in the near future', + elements: [ + { color: '#bd0026', text: '100+' }, + { color: '#e31a1c', text: '50–99' }, + { color: '#fc4e2a', text: '20–49' }, + { color: '#fd8d3c', text: '10–19' }, + { color: '#feb24c', text: '3–9' }, + { color: '#fed976', text: '2' }, + { color: '#ffe8a9', text: '1'} + ] + } + }, { mapStyle: 'planning_combined', legend: { @@ -193,9 +209,9 @@ export const categoryMapsConfig: {[key in Category]: CategoryMapDefinition[]} = { color: '#e75b42', text: 'Grade II* Listed'}, { color: '#ffbea1', text: 'Grade II Listed'}, { color: '#85ffd4', text: 'Heritage at Risk'}, + { color: '#858ed4', text: 'Locally Listed'}, { color: '#858eff', text: 'In World Heritage Site'}, { color: '#8500d4', text: 'In Archaeological Priority Area'}, - { color: '#858ed4', text: 'Locally Listed'}, ] }, }],