[OpenLayers-Users] Remove styling rule
kboqvist
krister.boqvist at smhi.se
Tue Oct 20 15:42:54 EDT 2009
Hi
I'm trying to find out how to remove a rule which was created like this:
selectRule= new OpenLayers.Rule({
filter: new OpenLayers.Filter.Comparison({
type: OpenLayers.Filter.Comparison.NOT_EQUAL_TO,
property: haroColName[0],
value: id
}),
symbolizer: {
fillColor: "#76D5FF",
fillOpacity:0.4,
strokeColor: "#76D5FF"
}
});
This is implemented like this:
select.styleMap.addRules(selectRule);
(Select is a vector layer )
Any suggestions ?
/Krister
--
View this message in context: http://n2.nabble.com/Remove-styling-rule-tp3860831p3860831.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list