filterType |
'categorical'
|
'numeric'
|
<optional>
|
'categorical'
|
If
categorical, then a feature will be visible when its property value exactly
matches one of those listed in the values attribute. If numerical, then a
feature will be visible when its property value is between the min and max. |
property |
string
|
|
|
The property (attribute) of the feature to filter
on. |
values |
Array.<string>
|
Array.<number>
|
|
|
Only used for categorical filters. If
the property matches one of the values listed, the feature will be displayed.
If the filter type is categorical and no values are set, then features will not
be filtered on this property. |
max |
number
|
|
|
Only used for numeric filters. The property's value must
be less than the value set here for the feature to be visible. If the filter
type is numeric, and max is set, then the max is infinite. |
min |
number
|
|
|
Only used for numeric filters. The property's value must
be greater than the value set here for the feature to be visible. If the filter
type is numeric, and min is set, then the min is minus infinity. |