From f7e6c593e8c3807348529b6b984d944462270ee0 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Mon, 30 Jul 2012 16:59:08 +0100 Subject: add partial postcode for bromley high street lookup to help bing --- perllib/FixMyStreet/Geocode.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perllib/FixMyStreet/Geocode.pm') diff --git a/perllib/FixMyStreet/Geocode.pm b/perllib/FixMyStreet/Geocode.pm index f2bc1ac95..f92e9cc9a 100644 --- a/perllib/FixMyStreet/Geocode.pm +++ b/perllib/FixMyStreet/Geocode.pm @@ -38,7 +38,7 @@ sub string { $s =~ s/\s+/ /g; $s = URI::Escape::uri_escape_utf8($s); $s =~ s/%20/+/g; - my $params = $c->cobrand->disambiguate_location(); + my $params = $c->cobrand->disambiguate_location($s); return FixMyStreet::Geocode::Bing::string($s, $c, $params) if FixMyStreet->config('BING_MAPS_API_KEY'); # Fall back to Google API, which allow access with and without a key -- cgit v1.2.3