Returns

Functions

evaluate

Parameters

{Object} Context to use in evaluating the filter. If a vector feature is provided, the feature.attributes will be used as context.

Returns

{Boolean} The filter applies.

value2regex

value2regex: function(

wildCard,

singleChar,

escapeChar

)

Converts the value of this rule into a regular expression string, according to the wildcard characters specified. This method has to be called after instantiation of this class, if the value is not a regular expression already.