Hi Nicholas, I had the same problem some minutes ago and i put my features on different layers and for every "slider step" i hide/show a corresponding layer. I did this whith calling layer.setVisibility()
Hth Stefan -----Ursprüngliche Nachricht----- Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im Auftrag von Nicholas Bergson-Shilcock Gesendet: Mittwoch, 29. April 2009 18:11 An: OpenLayers users mailing list Betreff: [OpenLayers-Users] Quickly hiding and showing features 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 _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users