aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map/FMS.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-08-09 12:57:26 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-08-09 13:49:07 +0100
commit694ea1fb14adb53c9258d28767d3219417608d2c (patch)
treebe75c5e246f9ba5b81c47554d875723ef7f6575e /perllib/FixMyStreet/Map/FMS.pm
parent6d5f59c50e77e5825a6a7893039405df5c30d7e5 (diff)
[UK] OS map only shown from zoom 12+.
Bing no longer shows it at zoom level 11.
Diffstat (limited to 'perllib/FixMyStreet/Map/FMS.pm')
-rw-r--r--perllib/FixMyStreet/Map/FMS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Map/FMS.pm b/perllib/FixMyStreet/Map/FMS.pm
index 226123c69..126fc34bf 100644
--- a/perllib/FixMyStreet/Map/FMS.pm
+++ b/perllib/FixMyStreet/Map/FMS.pm
@@ -37,7 +37,7 @@ sub map_tiles {
} else {
my $key = FixMyStreet->config('BING_MAPS_API_KEY');
my $url = "g=6570";
- $url .= "&productSet=mmOS&key=$key" if $z > 10 && !$ni;
+ $url .= "&productSet=mmOS&key=$key" if $z > 11 && !$ni;
return [
"//ecn.t0.tiles.virtualearth.net/tiles/r" . $self->get_quadkey($x-1, $y-1, $z) . ".png?$url",
"//ecn.t1.tiles.virtualearth.net/tiles/r" . $self->get_quadkey($x, $y-1, $z) . ".png?$url",