[OpenLayers-Users] rules depending on state

Pierre GIRAUD bluecarto at gmail.com
Tue May 13 09:51:14 EDT 2008


Hello OpenLayers styleMap gurus,

I would like to have different symbolizers for the features depending
on their state property.
The addUniqueValueRules would look perfect for that but the context of
the generated rules is feature.attributes. The state will not be
evaluated because it's not one of those attributes.

Has anyone a workaround to advice ?

Regards,

Pierre



More information about the Users mailing list