ol.layer. ol.layer.Layer

new Layer

Stability: experimental
Parameters:
Name Type Description
options olx.layer.LayerOptions

Layer options.

Source:
  • layer.js, line 26

Observable Properties

Name Type Settable Event Description
brightness number yes change:brightness the brightness of the layer
contrast number yes change:contrast the contrast of the layer
hue number yes change:hue the hue of the layer
opacity number yes change:opacity the opacity of the layer
saturation number yes change:saturation the saturation of the layer
visible boolean yes change:visible the visiblity of the layer
maxResolution number yes change:maxresolution the maximum resolution of the layer
minResolution number yes change:minresolution the minimum resolution of the layer

Methods

getSource

Stability: experimental
Source:
  • layer.js, line 75
Returns:

Source.

Type
ol.source.Source