[OpenLayers-Users] Styling features individually

Claudio V. claudio.carvalho at lemaf.ufla.br
Fri Sep 28 05:45:48 PDT 2012


Hello, I'm working in an application that allows the user to draw over the
map and has a side panel with controls for the color, opacity and stroke
width. I have a single vector layer where all the drawn features are added.
However, I want each feature to use the currently selected style. That
happens at first, but, as soon as the map is moved/zoomed all the features
are updated to use the current style.
Is there a way to style features individually in a single vector layer?
Thanks in advance,
    Cláudio V.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120928/2eda787c/attachment.html>


More information about the Users mailing list