aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpezholio <pezholio@gmail.com>2017-03-30 15:57:38 +0100
committerpezholio <pezholio@gmail.com>2017-03-30 15:57:55 +0100
commit7d551175641650beee57bdde4032c20020ad4118 (patch)
tree1c9d07ef5b93913776d07c05c888a85282f283a6
parent9ba87b4ea7ede461a757862ac2b6d4859ff0d3b0 (diff)
Use OSM geocoder for Bristol
-rw-r--r--perllib/FixMyStreet/Cobrand/Bristol.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bristol.pm b/perllib/FixMyStreet/Cobrand/Bristol.pm
index ecb19b867..fa7f98666 100644
--- a/perllib/FixMyStreet/Cobrand/Bristol.pm
+++ b/perllib/FixMyStreet/Cobrand/Bristol.pm
@@ -40,6 +40,10 @@ sub disambiguate_location {
};
}
+sub get_geocoder {
+ return 'OSM'; # use OSM geocoder
+}
+
sub pin_colour {
my ( $self, $p, $context ) = @_;
return 'grey' if $p->state eq 'not responsible';