diff options
-rw-r--r-- | web/cobrands/bromley/map.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/web/cobrands/bromley/map.js b/web/cobrands/bromley/map.js index 35c339f69..e2e8e0073 100644 --- a/web/cobrands/bromley/map.js +++ b/web/cobrands/bromley/map.js @@ -123,7 +123,17 @@ fixmystreet.assets.add($.extend(true, {}, defaults, { }, stylemap: prow_stylemap, always_visible: true, - non_interactive: true + non_interactive: true, + road: true, + all_categories: true, + actions: { + found: function(layer, feature) { + $('#form_prow_reference').val(feature.attributes.PROW_REFER); + }, + not_found: function(layer) { + $('#form_prow_reference').val(''); + } + } })); })(); |