Class: Composite

ol.filter. Composite

Add a composite filter on a layer.
With ol6+ you'd better use ol.filter.CSS instead.
Use ol.layer.Base#addFilter, ol.layer.Base#removeFilter or ol.layer.Base#getFilters


new Composite(options)

Parameters:
Name Type Description
options Object
Properties
Name Type Description
operation string

composite operation

See:
Requires:
  • module:ol.filter

Extends

Requires

  • module:ol.filter

Methods


getActive()

Get filter active

Inherited From:
Overrides:
Returns:
Type
boolean

setActive(b)

Activate / deactivate filter

Parameters:
Name Type Description
b boolean
Inherited From:
Overrides:

setOperation(operation)

Change the current operation

Parameters:
Name Type Description
operation string

composite function