Revert "Revert "remove empty map layer""

This reverts commit 86d437a609.

This fixes #1051
This commit is contained in:
Mateusz Konieczny 2023-01-14 09:21:16 +01:00
parent 4efaf8bd90
commit e6245aae50
4 changed files with 0 additions and 19 deletions

View File

@ -361,8 +361,6 @@
<LineSymbolizer stroke="#888" stroke-width="3.0"/>
</Rule>
</Style>
<Style name="empty_map">
</Style>
<Style name="conservation_area">
<Rule>
<PolygonSymbolizer fill="#73ebaf" />

View File

@ -248,15 +248,6 @@ export const categoryMapsConfig: {[key in Category]: CategoryMapDefinition[]} =
{ color: '#8500d4', text: 'In Archaeological Priority Area'},
]
},
},
{
mapStyle: 'empty_map',
legend: {
title: 'Empty map',
disclaimer: 'This is an empty map to see overlays without distraction.',
elements: [
]
},
}
],
[Category.Sustainability]: [{

View File

@ -15,7 +15,6 @@ export type BuildingMapTileset = 'date_year' |
'planning_applications_status_recent' |
'planning_applications_status_very_recent' |
'planning_combined' |
'empty_map' |
'sust_dec' |
'building_attachment_form' |
'landuse' |

View File

@ -191,13 +191,6 @@ const LAYER_QUERIES = {
OR planning_heritage_at_risk_url <> ''
OR planning_in_apa_url <> ''
`,
empty_map: `
SELECT
geometry_id
FROM
buildings
WHERE
sust_dec IS NOT NULL`,
conservation_area: `
SELECT
geometry_id