> 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 _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
