Hello!<br><br><div>I'm having difficulties to understand how addUniqueValueRules is applied.</div><div><br></div><div><a href="http://poab.org/openlayers/stylerule.html">http://poab.org/openlayers/stylerule.html</a> fetches data from a GeoJSON-file and draws a point and a line according to the styling in styleMap.</div>

<div><br></div><div>My goal is to have the Point and the Line drawn in different colors. To achieve this goal i try to add a "Unique Value Rule" with the property set to "fid" and a symbolizer matching the value "999", which should draw the strokeColor of the point as green when selected.</div>

<div><br></div><div>However, the Point simply disappears when selected.</div><div><br></div><div>I've been banging my head against this problem for hours, i just don't see why the rule doesn't seem to match any attribute i try to feed it, while the attribute exists in the vector-object i'm matching it against. </div>

<div>I also don't understand why the feature i'm selecting actually disappears - if the rule does not match, the selected feature should actually not be changed?!</div><div><br></div><div>How can i debug the addUniqueValueRules-function?</div>

<div><br></div><div>I'm not asking to solve the issue for me, but if anyone could take a look at my example and help me understand where i'm misunderstanding the concept, it would help me sleep better tonight :-)</div>

<div><br></div><div>Best regards,</div><div>Christian</div>