> How about something like that:
> var context = function(feature) {
> return {
> state: feature.state || OpenLayers.State.UNKNOWN
> };
> };
That did thanx ! The example I based my work on had a context that
returned feature instead of the feature state. I'll go see how
addUniqueValueRules works now :-).
Thanx again,
Yves