Constructor
new VectorFilterView()
- Since:
- Source:
Extends
Members
classes :object
Classes that are used to identify the HTML elements that comprise this
view.
Type:
- Source:
The model that this view uses
Type:
- Source:
template :Underscore.template
The primary HTML template for this view
Type:
- Source:
type :string
The type of View this is
Type:
- Source:
Methods
handlePropertyChange(selectedFilterProperty)
Updates the property values dropdown for the selected filter property
Parameters:
Name |
Type |
Description |
selectedFilterProperty |
Array.<string>
|
The property selected in the
filter property dropdown in an array format. |
- Source:
handleValueChange(selectedValues)
Update the filter values in the filter model based on selection made in
the Filter by Property dropdowns Update the map model. Update layer
visibility and icons.
Parameters:
Name |
Type |
Description |
selectedValues |
Array.<string>
|
The values that are selected in
values the Select View |
- Source:
initialize(attributes)
Executed when a new VectorFilterView is created
Parameters:
Name |
Type |
Description |
attributes |
object
|
The attributes to initialize the view with |
- Source:
Renders this view
- Source:
Returns:
Returns the rendered view element
-
Type
-
VectorFilterView
renderPropertySelect()
Renders the dropdown for selecting a property (i.e., filterable
attributes) from the filter models. These filterable attributes are
defined by the "property" key in the portal configuration (Map model).
- Source:
renderValueSelect()
Renders the dropdown for selecting values corresponding to a filter
property selection. Retrieves values from the (vector filter) model.
During initialization, the filterStatus is false, and the "values"
- Source: