Make the Maplint layer off by default.
authorTom Hughes <tom@compton.nu>
Mon, 31 Dec 2007 11:33:21 +0000 (11:33 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 31 Dec 2007 11:33:21 +0000 (11:33 +0000)
public/openlayers/OpenStreetMap.js

index 35e4e32364d10b57c9db32083a1e78733d31c93d..c9964c1cbce1ab5ded88d060eacae5ed3afce257 100644 (file)
@@ -173,7 +173,7 @@ OpenLayers.Layer.OSM.Maplint = OpenLayers.Class(OpenLayers.Layer.OSM, {
             "http://e.tah.openstreetmap.org/Tiles/maplint.php/",
             "http://f.tah.openstreetmap.org/Tiles/maplint.php/"
         ];
-        options = OpenLayers.Util.extend(options, { numZoomLevels: 18, isBaseLayer: false });
+        options = OpenLayers.Util.extend(options, { numZoomLevels: 18, isBaseLayer: false, visibility: false });
         var newArguments = [name, url, options];
         OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
     },