I see, thank you. Tom
On 6 Feb 2011 11:44, "Rossko" <[email protected]> wrote: > Can you explain why it makes a difference to iterate in this way? map.layers isn't an array - treat it more like a stack. When removeLaver is used on the first layer, the stack collapses, what was layer[1] becomes the new layer[0] -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Map-layers-doesn-t-seem-to-contain-all-layers-tp5996448p5997440.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
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
