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

Salvaro asufsc at gmail.com
Mon Jan 12 12:16:57 EST 2009


Andreas, you are right. Now is working. Thank you!

André, you are right, changing the point radius or external graphic size
works too. I'm using OL with GWT and previously I didn't get the style
before change the attribute. Thanks!



Andreas Hocevar-2 wrote:
> 
> 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.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/Hide-Show-a-Vector-Feature--tp2145088p2146746.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list