Class: SVGFilter

ol.filter. SVGFilter

Add a canvas Context2D SVG filter to a layer


new SVGFilter(filters)

Parameters:
Name Type Description
filters ol.ext.SVGFilter | Array.<ol.ext.SVGFilter>
See:
Requires:
  • module:ol.filter

Extends

Requires

  • module:ol.filter

Methods


addSVGFilter(filter)

Add a new svg filter

Parameters:
Name Type Description
filter ol.ext.SVGFilter

getActive()

Get filter active

Inherited From:
Overrides:
Returns:
Type
boolean

removeSVGFilter(filter)

Remove a svg filter

Parameters:
Name Type Description
filter ol.ext.SVGFilter

setActive(b)

Activate / deactivate filter

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