Constructor
new VectorFilters()
- Since:
- Source:
Extends
Members
model :Backbone.Model
The class/model that this collection contains.
Type:
- Source:
Methods
featureIsVisible(properties) → {boolean}
This function is used to determine if a feature should be shown or hidden based
on the current filters.
Parameters:
Name |
Type |
Description |
properties |
Object
|
The properties of the feature to be filtered.
(See the 'properties' attribute of Feature#defaults.) |
- Source:
Returns:
Returns true if the feature passes all of the filters.
-
Type
-
boolean