Class: OilPainting

ol.source. OilPainting

A source to turn your maps into oil paintings... Original idea: Santhosh G https://www.codeproject.com/Articles/471994/OilPaintEffect JS implementation: Loktar (https://github.com/loktar00) https://codepen.io/loktar00/full/Fhzot/


new OilPainting(options, sources, radius, intensity)

Parameters:
Name Type Description
options Object
sources Array.<(ol/source/Source|ol/layer/Layer)>

Input sources or layers. For vector data, use an VectorImage layer.

radius number

default 4

intensity number

default 25

Extends

Methods


clear()

Overwrite ol/source/Vector clear to fire clearstart / clearend event

Inherited From:
Overrides:

set()

Set value and force change