RuleBasedSymbolizer

RuleBasedSymbolizer class

Applies a symbolizer to feature geometries according to user-defined rules.

public class RuleBasedSymbolizer : VectorSymbolizer, IReadOnlyList<Rule>

Constructors

Name Description
RuleBasedSymbolizer() The default constructor.

Properties

Name Description
Count { get; } Gets the number of rules.
Item { get; } Gets the rule at the specified index .

Methods

Name Description
Add(Rule) Adds a rule.
Add(Func<Feature, bool>, VectorSymbolizer) Adds new Rule.
AddElseRule(VectorSymbolizer) Adds a symbolizer that will be applied to features that don’t match any filtering rule.
GetEnumerator() Returns an enumerator that iterates through rules.

See Also