aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-10-04 11:30:58 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-10-04 11:30:59 +0100
commit2efa00e52a411b06caad3b6ae1524a55d039007a (patch)
treec540bfc26ed73ca59f9d73f88c4292abcfc2d9b1
parente4d3a706de4600df182d18917165abf83971800f (diff)
[Bristol] Explicitly request shape information.
An upgrade to Bristol’s server means this will need to be requested.
-rw-r--r--web/cobrands/bristol/assets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/cobrands/bristol/assets.js b/web/cobrands/bristol/assets.js
index 01abb028c..0e22e8f19 100644
--- a/web/cobrands/bristol/assets.js
+++ b/web/cobrands/bristol/assets.js
@@ -19,7 +19,7 @@ var options = {
wfs_url: "https://maps.bristol.gov.uk/arcgis/services/ext/FixMyStreetSupportData/MapServer/WFSServer",
wfs_feature: "COD_ASSETS_POINT",
asset_id_field: 'COD_ASSET_ID',
- propertyNames: [ 'COD_ASSET_ID', 'COD_USRN', 'COD_ASSET_TYPE' ],
+ propertyNames: [ 'COD_ASSET_ID', 'COD_USRN', 'COD_ASSET_TYPE', 'SHAPE' ],
filter_key: 'COD_ASSET_TYPE',
attributes: {
asset_id: 'COD_ASSET_ID',