<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<big>You can use the 'rules' configuration option to create styles
for each feature matching that rule. They should inherit from the
base style, so you only need to specify the style properties that
change for each rule.<br>
You can also use the convenience method of OpenLayers.StyleMap
'addUniqueValueRules'<br>
Hope that helps<br>
Matt Priour <br>
</big><br>
<div class="moz-cite-prefix">On 01/22/2013 09:04 AM, Eralp Bayraktar
wrote:<br>
</div>
<blockquote
cite="mid:CADFJ0Sot_yRWakaq98aeHn2cpQ3jcZzrYu_nNT_1OCv3TLG6rg@mail.gmail.com"
type="cite">
<div dir="ltr">I have a quick question. I found many codes on the
internet assigning styles to features individually. Is there an
option to do that for stylemaps too?
<div><br>
</div>
<div style="">I know I can give stylemap to the layer but I need
'individual' kind of solution, thanks.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a>
</pre>
</blockquote>
<br>
</body>
</html>