diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-10-07 17:34:45 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-11-11 07:44:44 +0000 |
commit | b8f8d5554523ae0aac58bea6811041b4fe070635 (patch) | |
tree | 855986f85064cd44bf9fc67b68e4f7a2b1b077b0 /web/cobrands/angus/js.js | |
parent | a7f60abb0ada4d2ae1e9e8833ab1b5ce2cbe80ed (diff) |
[UK] Refactor WFS asset handling.
Allow multiple asset layers, and setting of multiple asset attributes.
[Bristol] Add Bristol asset layers.
Diffstat (limited to 'web/cobrands/angus/js.js')
-rw-r--r-- | web/cobrands/angus/js.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/web/cobrands/angus/js.js b/web/cobrands/angus/js.js new file mode 100644 index 000000000..af70fd92f --- /dev/null +++ b/web/cobrands/angus/js.js @@ -0,0 +1,15 @@ +$(fixmystreet.add_assets({ + wfs_url: "https://data.angus.gov.uk/geoserver/services/wfs", + wfs_feature: "lighting_column_v", + wfs_fault_feature: "lighting_faults_v", + asset_category: "Street lighting", + asset_item: 'street light', + asset_type: 'spot', + max_resolution: 2.388657133579254, + min_resolution: 0.5971642833948135, + asset_id_field: 'n', + attributes: { + column_id: 'n' + }, + geometryName: 'g' +})); |