]> git.openstreetmap.org Git - rails.git/commitdiff
Updating the cycle map to use all zoom levels as per Andy Allan's message.
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Wed, 5 Nov 2008 17:37:14 +0000 (17:37 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Wed, 5 Nov 2008 17:37:14 +0000 (17:37 +0000)
public/openlayers/OpenStreetMap.js

index 7b33584af0af363c4e81705d8626b29cb6e9d33b..57a1b99bde014e5c03fe59e18ffdeac6b71a2e04 100644 (file)
@@ -175,7 +175,7 @@ OpenLayers.Layer.OSM.CycleMap = OpenLayers.Class(OpenLayers.Layer.OSM, {
             "http://b.andy.sandbox.cloudmade.com/tiles/cycle/",
             "http://c.andy.sandbox.cloudmade.com/tiles/cycle/"
         ];
-        options = OpenLayers.Util.extend({ numZoomLevels: 18 }, options);
+        options = OpenLayers.Util.extend({ numZoomLevels: 19 }, options);
         var newArguments = [name, url, options];
         OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
     },