diff options
author | Struan Donald <struan@exo.org.uk> | 2012-07-30 16:59:08 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-08-09 09:58:37 +0100 |
commit | f7e6c593e8c3807348529b6b984d944462270ee0 (patch) | |
tree | abeff6a2c789de837d5ef8e766cbe838176d3324 /perllib/FixMyStreet/Geocode.pm | |
parent | f7c175d06dde929855ababb3e82d3f607b86133d (diff) |
add partial postcode for bromley high street lookup to help bing
Diffstat (limited to 'perllib/FixMyStreet/Geocode.pm')
-rw-r--r-- | perllib/FixMyStreet/Geocode.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 |