From 4b7b1cb7002d084d5887aee976c69ec0218d328a Mon Sep 17 00:00:00 2001 From: crschmidt Date: Tue, 15 Aug 2006 14:22:31 +0000 Subject: [PATCH] Untiled WMS defaults to not having a base layer, which doesn't work so much with the whole 'only layer in the example' thing. (Working on fixing #137 .) git-svn-id: http://svn.openlayers.org/trunk/openlayers@1217 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/notile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/notile.html b/examples/notile.html index 1877d28ae2..55da12c443 100644 --- a/examples/notile.html +++ b/examples/notile.html @@ -15,7 +15,7 @@ var ol_wms = new OpenLayers.Layer.WMS.Untiled( "OpenLayers WMS", "http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} ); - + ol_wms.isBaseLayer = true; map.addLayers([ol_wms]); map.addControl(new OpenLayers.Control.LayerSwitcher()); map.setCenter(new OpenLayers.LonLat(0, 0), 0);