aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/bexley/js.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2019-04-26 15:46:52 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-05-28 15:36:25 +0100
commit17667220f77769df1aca82f27808332fdfda639b (patch)
tree33ebfe20b77c796ca7eadec4fcde82e0b8dbf767 /web/cobrands/bexley/js.js
parentd1b88da661e37cc55a6ce23251bab6cd0cff6338 (diff)
[Bexley] Add bollard and street light assets.
Diffstat (limited to 'web/cobrands/bexley/js.js')
-rw-r--r--web/cobrands/bexley/js.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/web/cobrands/bexley/js.js b/web/cobrands/bexley/js.js
index e55827fbb..0ab9f6fb7 100644
--- a/web/cobrands/bexley/js.js
+++ b/web/cobrands/bexley/js.js
@@ -44,5 +44,35 @@ fixmystreet.assets.add(defaults, {
})
});
+fixmystreet.assets.add(defaults, {
+ http_options: {
+ params: {
+ TYPENAME: "Bollards"
+ }
+ },
+ asset_type: 'spot',
+ asset_id_field: 'Unit_ID',
+ attributes: {
+ UnitID: 'Unit_ID'
+ },
+ asset_category: ["Traffic bollard"],
+ asset_item: 'bollard'
+});
+
+fixmystreet.assets.add(defaults, {
+ http_options: {
+ params: {
+ TYPENAME: "Lighting"
+ }
+ },
+ asset_type: 'spot',
+ asset_id_field: 'Unit_ID',
+ attributes: {
+ UnitID: 'Unit_ID'
+ },
+ asset_category: ["Lamp post", "Light in park or open space", "Underpass light", "Light in multi-storey car park", "Light in outside car park"],
+ asset_item: 'street light'
+});
+
})();