[OpenLayers-Users] Feature layer: toggle feature visibility

Nils B. Weidmann weidmann at icr.gess.ethz.ch
Wed Oct 3 08:21:49 EDT 2007


Hi there,

I am developing an animation of spatio-temporal data. Is there a way to 
toggle feature visibility in a Vector layer efficiently? At the moment I 
set the opacity style attribute for the features to be shown/hidden, and 
redraw() the layer. However, this procedure is very slow. Is there a way 
to make it faster?

Thanks!
Nils
-- 
Nils B. Weidmann
International Conflict Research
ETH Zurich
http://www.icr.ethz.ch/people/weidmann



More information about the Users mailing list