diff options
author | Dave Arter <davea@mysociety.org> | 2020-04-23 15:13:08 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2020-07-02 14:38:29 +0100 |
commit | 002057bfedb00ff3cef14783d165a1c5fc3d0c56 (patch) | |
tree | 12cdd6a9342f61fc2b0165cf8b2da2011660f859 | |
parent | 4237159458ce724c42c3952ec48a111f71050beb (diff) |
[Hackney] Switch to OSM geocoder
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Hackney.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Hackney.pm b/perllib/FixMyStreet/Cobrand/Hackney.pm index 6af147a16..eeca31186 100644 --- a/perllib/FixMyStreet/Cobrand/Hackney.pm +++ b/perllib/FixMyStreet/Cobrand/Hackney.pm @@ -16,11 +16,16 @@ sub disambiguate_location { return { %{ $self->SUPER::disambiguate_location() }, + town => 'Hackney', centre => '51.552267,-0.063316', bounds => [ 51.519814, -0.104511, 51.577784, -0.016527 ], }; } +sub get_geocoder { + return 'OSM'; # default of Bing gives poor results, let's try overriding. +} + sub open311_config { my ($self, $row, $h, $params) = @_; |