From 9914df792514812f96eb7e437643cebddbe5a8b1 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Sat, 19 Jan 2019 16:56:03 +0000 Subject: [PATCH] Define conservation area as layer for planning views --- app/src/frontend/legend.js | 4 +++- app/src/frontend/map.js | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/frontend/legend.js b/app/src/frontend/legend.js index fdbe8d65..442afca3 100644 --- a/app/src/frontend/legend.js +++ b/app/src/frontend/legend.js @@ -89,7 +89,9 @@ const LEGEND_CONFIG = { }, planning: { title: "Planning", - elements: [] + elements: [ + { color: "#73ebaf", text: 'within conservation area' }, + ] }, demolition: { title: "Demolition", diff --git a/app/src/frontend/map.js b/app/src/frontend/map.js index 0feaa40e..fe7d4665 100644 --- a/app/src/frontend/map.js +++ b/app/src/frontend/map.js @@ -76,6 +76,7 @@ class ColouringMap extends Component { size: 'size_storeys', location: 'location', like: 'likes', + planning: 'conservation_area', } const data_tileset = tileset_by_cat[cat]; // pick revision id to bust browser cache