Make the Maplint layer off by default.

This commit is contained in:
Tom Hughes 2007-12-31 11:33:21 +00:00
parent 3cd04f7db4
commit fb17928db1

View 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);
},