[OpenLayers-Users] Hide/Show a Vector Feature?

Andreas Hocevar ahocevar at opengeo.org
Mon Jan 12 09:12:34 EST 2009


On Mon, Jan 12, 2009 at 2:20 PM, Salvaro <asufsc at gmail.com> wrote:
>
> I'm using the vector feature with an icon (in the VectorStyle), so the radius
> didn't work.

You have to use display="none". False won't work. To show the feature
again, you can either delete display or set it to anything but "none".

> And set display=false or none only work if I delete the reference to the
> icon.

What do you mean by that?

Regards,
Andreas.

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list