<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You can associate the style with the feature, i.e. set feature.style.<div><br></div><div>Otherwise, show us some of your relevant code.</div><div><br></div><div>Best regards,</div><div>Bart</div><div><br></div><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>-- <br>Bart van den Eijnden<br>OpenGeo - <a href="http://opengeo.org/">http://opengeo.org</a><br>Expert service straight from the developers.</div><div><br></div></span><br class="Apple-interchange-newline">

</div>
<br><div><div>On Sep 28, 2012, at 2:45 PM, Claudio V. <<a href="mailto:claudio.carvalho@lemaf.ufla.br">claudio.carvalho@lemaf.ufla.br</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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.<div>
<div>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.</div></div><div>Is there a way to style features individually in a single vector layer?</div>
<div>Thanks in advance,</div><div>    Cláudio V.</div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/openlayers-users<br></blockquote></div><br></div></body></html>