Eric, Eric Lemoine wrote: > Hi. A style-related question: i've styled my vector layer using > StyleMap, Style and Rule. Now i'm in a featureselected event callback > and i'd like to get the current style (fillColor) of the selected > feature. I'm afraid i can't as the current feature style isn't stored > in the feature but only in the renderer deepness. Can someone confirm? >
No problem to get the current symbolizer: var symbolizer = feature.layer.styleMap.createSymbolizer(feature, feature.renderIntent); Regards, Andreas. _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
