[OpenLayers-Users] how to show vector features in OpenLayersafter hiding it?

Arnd Wippermann arnd.wippermann at web.de
Sat Sep 29 14:50:55 PDT 2012


Try 
features[i].style.display = 'none' to hide a feature 
and
features[i].style.display = '' to show the feature  

As far as I know is features[i].style an object and not a property.

Arnd


-----Ursprüngliche Nachricht-----
Von: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von Shadin
Gesendet: Samstag, 29. September 2012 18:25
An: openlayers-users at lists.osgeo.org
Betreff: Re: [OpenLayers-Users] how to show vector features in
OpenLayersafter hiding it?

Sorry I didn't get what you mean.
the features is hiding as I need but I have no idea how to display them
agan.
So I think I don't need to set style.display to none again. right ?



--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/how-to-show-vector-features-in-OpenLayer
s-after-hiding-it-tp5005307p5005342.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users



More information about the Users mailing list