[OpenLayers-Users] mr. OL, don't create the hidden layer tiles, please!

Pere Roca Ristol peroc79 at gmail.com
Thu Jul 9 10:47:23 EDT 2009


  
   yes, that is!

   thanks,
   Pere

Pere Roca Ristol wrote:
> 
> 
> 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-tp3230983p3231867.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list