RuleBasedSymbolizer.Add

Add(Func<Feature, bool>, VectorSymbolizer)

Adds new Rule.

public void Add(Func<Feature, bool> filter, VectorSymbolizer symbolizer)
ParameterTypeDescription
filterFunc`2Determines when symbolizer should be applied to a feature.
symbolizerVectorSymbolizerSymbolizer to apply to a feature when filter returns true.

See Also


Add(Rule)

Adds a rule.

public void Add(Rule rule)
ParameterTypeDescription
ruleRuleRule to add.

Exceptions

exceptioncondition
ArgumentNullExceptionArgument is null.

See Also