Class RuleBasedSymbolizer

RuleBasedSymbolizer class

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

public class RuleBasedSymbolizer : VectorSymbolizer, IReadOnlyList<Rule>

Constructors

NameDescription
RuleBasedSymbolizer()The default constructor.

Properties

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

Methods

NameDescription
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