diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/peterborough/assets.js | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/web/cobrands/peterborough/assets.js b/web/cobrands/peterborough/assets.js index 185289011..7bc1df574 100644 --- a/web/cobrands/peterborough/assets.js +++ b/web/cobrands/peterborough/assets.js @@ -37,4 +37,36 @@ fixmystreet.assets.add(defaults, { name: "Adopted Highways" }); +fixmystreet.assets.add(defaults, { + http_options: { + url: "https://tilma.staging.mysociety.org/mapserver/peterborough", + params: { + TYPENAME: "tree_groups" + } + }, + asset_id_field: 'TREE_CODE', + attributes: { + tree_code: 'TREE_CODE' + }, + asset_type: 'area', + asset_group: 'Trees', + asset_item: 'tree group' +}); + +fixmystreet.assets.add(defaults, { + http_options: { + url: "https://tilma.staging.mysociety.org/mapserver/peterborough", + params: { + TYPENAME: "tree_points" + } + }, + asset_id_field: 'TREE_CODE', + attributes: { + tree_code: 'TREE_CODE' + }, + asset_type: 'spot', + asset_group: 'Trees', + asset_item: 'tree' +}); + })(); |