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: [email protected] [mailto:[email protected]] Im Auftrag von Shadin Gesendet: Samstag, 29. September 2012 18:25 An: [email protected] 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 [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
