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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user