The problem is: I can't lose the information of the vectorstyle. Thanks all.
zspitzer wrote: > > try feature.style=""; > > On Mon, Jan 12, 2009 at 10:46 PM, Salvaro <[email protected]> wrote: >> >> Thanks. >> But what you do to show after? >> >> Set display=false in the Style and redraw the Layer works and hide the >> feature. >> But when I try to set display=true and redraw didn't show the feature =/. >> >> >> zspitzer wrote: >>> >>> setting feature.style="display:none;" and redrawing it works for me >>> >>> On Mon, Jan 12, 2009 at 9:43 PM, Salvaro <[email protected]> wrote: >>>> >>>> Is possible hide a VectorFeature added in a Vector Layer? >>>> >>>> Thanks. >>>> -- >>>> View this message in context: >>>> http://n2.nabble.com/Hide-Show-a-Vector-Feature--tp2145088p2145088.html >>>> Sent from the OpenLayers Users mailing list archive at Nabble.com. >>>> >>>> _______________________________________________ >>>> Users mailing list >>>> [email protected] >>>> http://openlayers.org/mailman/listinfo/users >>>> >>> >>> >>> >>> -- >>> Zac Spitzer - >>> http://zacster.blogspot.com >>> +61 405 847 168 >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://openlayers.org/mailman/listinfo/users >>> >>> >> >> -- >> View this message in context: >> http://n2.nabble.com/Hide-Show-a-Vector-Feature--tp2145088p2145259.html >> Sent from the OpenLayers Users mailing list archive at Nabble.com. >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://openlayers.org/mailman/listinfo/users >> > > > > -- > Zac Spitzer - > http://zacster.blogspot.com > +61 405 847 168 > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > -- View this message in context: http://n2.nabble.com/Hide-Show-a-Vector-Feature--tp2145088p2145547.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
