I have an array of layers that I am passing to map.addLayers(). When I pass
the array to the function in $(document).ready(function (){}), it doesn't
add them to the map (i.e. map.layers does not have any of the new layers
added. But if I open up the JavaScript console and run the function, it
works and my added layers appear.I've tried adding them individually in a for loop but that also doesn't work either. Any ideas? Zach
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
