nevermind I was mistaken originally.. my map layers were actually being
removed but I had set my layerlist legend items to load layers from the
mappanel.layers and I guess the map panel was still containing my layers
even though they were removed from the map. I will look into removing them
or refreshing the mappanel to point to the new map without layers. Thanks
for the help!
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Cannot-remove-all-layers-from-map-with-OpenLayers-2-10-tp5745994p5748136.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

Reply via email to