diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-01-18 18:07:11 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-01-18 18:07:11 +0000 |
commit | 7b4ff6d6a37368cada7939dd635981d01f4fc37e (patch) | |
tree | b49c2cf39d36525dc94044d27e53af197c01100e /perllib/FixMyStreet/Map | |
parent | d02c6134835e6b3b0a4e3f84da472f931b25f8a5 (diff) |
Remove non-working most zoomed in level.
Diffstat (limited to 'perllib/FixMyStreet/Map')
-rw-r--r-- | perllib/FixMyStreet/Map/Zurich.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Map/Zurich.pm b/perllib/FixMyStreet/Map/Zurich.pm index 8cdcb05e6..cec34f4fd 100644 --- a/perllib/FixMyStreet/Map/Zurich.pm +++ b/perllib/FixMyStreet/Map/Zurich.pm @@ -13,7 +13,7 @@ use Geo::Coordinates::CH1903; use Math::Trig; use Utils; -use constant ZOOM_LEVELS => 10; +use constant ZOOM_LEVELS => 9; use constant DEFAULT_ZOOM => 7; use constant MIN_ZOOM_LEVEL => 0; @@ -93,7 +93,7 @@ sub latlon_to_tile($$$) { my $matrix_id = $zoom; $matrix_id = 0 if $matrix_id < 0; - my @scales = ( '250000', '125000', '64000', '32000', '16000', '8000', '4000', '2000', '1000', '500' ); + my @scales = ( '250000', '125000', '64000', '32000', '16000', '8000', '4000', '2000', '1000' ); my $tileOrigin = { lat => 30814423, lon => -29386322 }; my $tileSize = 256; my $res = $scales[$zoom] / (39.3701 * 96); # OpenLayers.INCHES_PER_UNIT[units] * OpenLayers.DOTS_PER_INCH |