[OpenLayers-Users] Quickly hiding and showing features

Nicholas Bergson-Shilcock nicholasbs at openplans.org
Wed Apr 29 12:11:26 EDT 2009


I have a slider whose value I would like to link directly to what vector
features appear on my map (i.e., as the user moves the slider, I would like
certain features to appear/disappear). 

Is the best way to do this to simply call add/removeFeatures on the layer, or
is there a way for me to only toggle their visibility?

Thanks,
  -Nicholas



More information about the Users mailing list