[OpenLayers-Users] Deleting a layer by its name
adityakumar529
adityakumar529 at gmail.com
Sun Feb 2 21:19:22 PST 2014
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.
More information about the Users
mailing list