Skip to content

Commit 42f53d7

Browse files
author
Jaime Scowcroft
committed
add flooded properties to Emergency Planning
1 parent 9423940 commit 42f53d7

File tree

2 files changed

+34
-17
lines changed

2 files changed

+34
-17
lines changed

Configuration/emergency-planning/index.js

Lines changed: 33 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,6 @@ const Configuration = {
2525
}
2626
},
2727
},
28-
29-
{
30-
key: 'New Years Day Flooding Areas',
31-
group: 'Emergency Planning',
32-
url: 'wms',
33-
visibleByDefault: true,
34-
layerOptions: {
35-
layers: 'emergency_planning:nyd_flooded_areas',
36-
popup: {
37-
icon: 'fa fa-exclamation',
38-
body: {
39-
'Area': 'name',
40-
}
41-
}
42-
},
43-
},
4428

4529
{
4630
key: 'Medium and High Risk Sites',
@@ -338,6 +322,39 @@ const Configuration = {
338322
},
339323
},
340324

325+
{
326+
key: 'New Years Day Flooding Areas',
327+
group: 'Flooding and Watercourses',
328+
url: 'wms',
329+
visibleByDefault: false,
330+
layerOptions: {
331+
layers: 'emergency_planning:nyd_flooded_areas',
332+
popup: {
333+
icon: 'fa fa-exclamation',
334+
body: {
335+
'Area': 'name',
336+
}
337+
}
338+
},
339+
},
340+
341+
{
342+
key: 'New Years Day Internal Flooded Properties',
343+
group: 'Flooding and Watercourses',
344+
url: 'wms',
345+
visibleByDefault: true,
346+
layerOptions: {
347+
layers: 'emergency_planning:jan1st_internal_flood',
348+
popup: {
349+
icon: 'fa fa-exclamation',
350+
body: {
351+
'Address': 'onelineaddress',
352+
'Report': 'notes'
353+
}
354+
}
355+
},
356+
},
357+
341358
{
342359
key: 'Open Watercourses',
343360
group: 'Flooding and Watercourses',

webpack.dev.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin')
22
const path = require('path')
33
const { DefinePlugin } = require('webpack')
44

5-
const solution = 'assets-of-community-value'
5+
const solution = 'emergency-planning'
66

77
module.exports = (env, argv, t) => (
88
{

0 commit comments

Comments
 (0)