aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2018-04-19 15:34:47 +0100
committerDave Arter <davea@mysociety.org>2018-04-20 10:35:19 +0100
commit73aa0acbead3d508192f21a3d63e336fc813a8ea (patch)
treeacad4ec08665858e94a2570d90932e8be44e5248
parent62a5aaff1af69c9180415f0bb48d85998df88279 (diff)
[Buckinghamshire] Increase fallback USRN lookup radius to 10M
It’s not quite a ‘radius’ as it’s a square box, but this does bring it closer in line with the cobrand JS behaviour.
-rw-r--r--perllib/FixMyStreet/Cobrand/Buckinghamshire.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm
index e1c119cfb..a1ba25e6c 100644
--- a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm
+++ b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm
@@ -322,7 +322,7 @@ sub lookup_site_code {
my $self = shift;
my $row = shift;
- my $buffer = 5; # metres
+ my $buffer = 10; # metres
my ($x, $y) = $row->local_coords;
my ($w, $s, $e, $n) = ($x-$buffer, $y-$buffer, $x+$buffer, $y+$buffer);