diff options
Diffstat (limited to 'perllib/FixMyStreet/Geocode')
| -rw-r--r-- | perllib/FixMyStreet/Geocode/Bing.pm | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/perllib/FixMyStreet/Geocode/Bing.pm b/perllib/FixMyStreet/Geocode/Bing.pm index b804102c9..962f8fe15 100644 --- a/perllib/FixMyStreet/Geocode/Bing.pm +++ b/perllib/FixMyStreet/Geocode/Bing.pm @@ -22,6 +22,7 @@ use Digest::MD5 qw(md5_hex);  # may be used to disambiguate the location in cobranded versions of the site.  sub string {      my ( $s, $c, $params ) = @_; +    $s .= '+' . $params->{town} if $params->{town};      my $url = "http://dev.virtualearth.net/REST/v1/Locations?q=$s&c=en-GB"; # FIXME nb-NO for Norway      $url .= '&mapView=' . $params->{bounds}[0] . ',' . $params->{bounds}[1]          if $params->{bounds}; | 
