Hello User,
I am adding layers in a loop by executing the same function again.
var one = new OpenLayers.Layer.WMS(name,"url",
{'layers':name,transparent: true, format: 'image/gif'},
{isBaseLayer:false});
map.addLayer(one);..
Now I want to delete the the layer with the layer name. Can anyone help me
to do so?
Aditya Kumar
-----
GIS Developer
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Deleting-a-layer-by-its-name-tp5101463.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users