Namespace: Base

ol.layer. Base

Source:
ol/ol.jsdoc

Methods


grayscale(b)

Set a grayscale filter to an ol.Layer

Parameters:
Name Type Description
b boolean
Source:
ol/BaseLayer.js

setBlendMode( [mode])

Set a blend mode to an ol.Layer

Parameters:
Name Type Argument Default Description
mode string <optional>
normal

the blend mode: normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity

Source:
ol/BaseLayer.js

setBlendMode( [crop])

Set Crop filter to a layer

Parameters:
Name Type Argument Description
crop Object <optional>
Properties
Name Type Description
coordinates ol_geom_coordinates
color ol_color
shadow boolean
Source:
ol/BaseLayer.js

setBlendMode( [crop])

Set Crop filter to a layer

Parameters:
Name Type Argument Description
crop Object <optional>
Source:
ol/BaseLayer.js