Class: FilterUi

vef.map.filters.ui.FilterUi(target, options, layers, map)

Abstract class for Filter Ui Elements.

Constructor

new FilterUi(target, options, layers, map)

Parameters:
Name Type Description
target HTMLElement | string
options object filter specific options
layers LayerManager Used for included/excluded layers
map Map
Source:

Methods

disable(noEvent)

disable pointer events and make content transparent
Parameters:
Name Type Description
noEvent boolean
Source:

enable(noEvent)

enable pointer events and remove transparency of the content
Parameters:
Name Type Description
noEvent boolean
Source:

getActiveFilter() → {object}

Get the filter object to pass it on to the Layers. Override this method in child implementations.
Source:
Returns:
filter object
Type
object

getExcludedLayers() → {Array.<string>}

Get an array of excluded layers represented by their uniqueId
Source:
Returns:
Type
Array.<string>

getOptions() → {object}

Source:
Returns:
options
Type
object

isActive() → {boolean}

Helper method to check if the filter is active
Source:
Returns:
active
Type
boolean

openSettings(windowOptions)

Open the settings for this filter
Parameters:
Name Type Description
windowOptions object optional window options to override
Source:

reloadOptions_()

method to reload options after applying settings
Source: