[OpenLayers-Users] Really basic question about base layers
Robert Hicks
robhyx at gmail.com
Fri Mar 5 09:25:13 EST 2010
Can you not hide the basic OpenLayers map in the layer switcher? I've done
it with other base maps but for some reason:
var ol_wms = new OpenLayers.Layer.WMS(
"OpenLayers WMS",
"http://labs.metacarta.com/wms/vmap0",
{
layers: 'basic',
displayInLayerSwitcher: false,
isBaseLayer: true
}
);
Displays this layer at the top in the layer switcher. Is there something
else I should be doing?
--
web http://www.hyxspace.com
aim hyx1138
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100305/c3ca3026/attachment.html
More information about the Users
mailing list