hi all, I want to emulate LayerSwitcher actions of hide/show Base layers. I want to do it from another radio form.
When user clicks Background layer A, layer B is hidden, and if user zooms, B tiles should NOT be created (I see them in Firebug) to increase performance. My problem is that these tiles are created even if I use setVisibility(false) for layer B (it does not happens using LayerSwitcher buttons). I tyried to map.removeLayer(B), and Ok, B tiles are not created anymore. But later, when user chooses B (map.addLayer(B)) and zoom in/out... layer B bbox parameters are not updated and is allways the same B image. some idea? thanks! Pere -- View this message in context: http://n2.nabble.com/mr.-OL%2C-don%27t-create-the-hidden-layer-tiles%2C-please%21-tp3230983p3230983.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
