Class: Base

ol.filter. Base

Abstract base class; normally only used for creating subclasses and not instantiated in apps.
Used to create filters
Use ol.layer.Base#addFilter, ol.layer.Base#removeFilter or ol.layer.Base#getFilters to handle filters on layers.


new Base(options)

Parameters:
Name Type Description
options Object
Properties
Name Type Argument Description
active boolean <optional>

Extends

  • ol.Object

Methods


getActive()

Get filter active

Returns:
Type
boolean

setActive(b)

Activate / deactivate filter

Parameters:
Name Type Description
b boolean