[OpenLayers-Users] Destroy/Delete a vector feature

Yves Moisan yves.moisan at boreal-is.com
Wed Dec 17 08:58:56 EST 2008


> 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




More information about the Users mailing list