remove empty map layer

This commit is contained in:
Mateusz Konieczny 2022-12-02 15:30:12 +01:00
parent 5c3139ff6f
commit 32752fe71e
4 changed files with 0 additions and 19 deletions

View File

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

View File

@ -247,15 +247,6 @@ export const categoryMapsConfig: {[key in Category]: CategoryMapDefinition[]} =
{ color: '#8500d4', text: 'In Archaeological Priority Area'}, { 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]: [{ [Category.Sustainability]: [{

View File

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

View File

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