aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-03-18 11:03:55 +0000
committerStruan Donald <struan@exo.org.uk>2020-03-31 09:58:58 +0100
commit031d37f14b542edad4612fea6d35f75a6904d7c0 (patch)
treea719616a1ecbf3392484451f6b5abd075a69fa29 /web
parent2c87b1cb0662fe3d2933478623a995121ab61666 (diff)
[UK] Store HE data if present/available.
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/highways/assets.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/cobrands/highways/assets.js b/web/cobrands/highways/assets.js
index 3d987c2d9..c8cd274ab 100644
--- a/web/cobrands/highways/assets.js
+++ b/web/cobrands/highways/assets.js
@@ -34,6 +34,20 @@ fixmystreet.assets.add(defaults, {
non_interactive: true,
road: true,
all_categories: true,
+ usrn: [
+ {
+ field: 'road_name',
+ attribute: 'ROA_NUMBER'
+ },
+ {
+ field: 'area_name',
+ attribute: 'area_name'
+ },
+ {
+ field: 'sect_label',
+ attribute: 'sect_label'
+ }
+ ],
// motorways are wide and the lines to define them are narrow so we
// need a bit more margin for error in finding the nearest to stop
// clicking in the middle of them being undetected