new Layer
Parameters:
| Name | Type | Description |
|---|---|---|
mapRenderer |
ol.renderer.Map | Map renderer. |
layer |
ol.layer.Layer | Layer. |
target |
!Element | Target. |
- Source:
- layer.js, line 15
Extends
Members
-
changed
-
- Inherited From:
- Source:
- object.js, line 147
-
<protected> handleLayerBrightnessChange
-
- Inherited From:
- Source:
- layer.js, line 91
-
<protected> handleLayerContrastChange
-
- Inherited From:
- Source:
- layer.js, line 97
-
<protected> handleLayerHueChange
-
- Inherited From:
- Source:
- layer.js, line 103
-
<protected> handleLayerSaturationChange
-
- Inherited From:
- Source:
- layer.js, line 121
-
<protected> origin :ol.Coordinate
-
Top left corner of the target in map coords.
- Source:
- layer.js, line 30
-
render
-
Render.
- Source:
- layer.js, line 75
-
setValues
-
- Inherited From:
- Source:
- object.js, line 239
-
<protected> target :!Element
-
- Source:
- layer.js, line 22
Methods
-
bindTo
-
Parameters:
Name Type Description keystring Key. targetol.Object Target. targetKeystring= (Optional) Target key. noNotifyboolean= (Optional) No notify. - Inherited From:
- Source:
- object.js, line 126
-
get
-
Parameters:
Name Type Description keystring Key. - Inherited From:
- Source:
- object.js, line 154
Returns:
Value.- Type
- *
-
getLayer
-
- Inherited From:
- Source:
- layer.js, line 67
Returns:
Layer.- Type
- ol.layer.Layer
-
getMap
-
- Inherited From:
- Source:
- layer.js, line 75
Returns:
Map.- Type
- ol.Map
-
getMapRenderer
-
- Source:
- layer.js, line 43
Returns:
Map renderer.- Type
- ol.renderer.Map
-
handleLayerLoad
-
- Source:
- layer.js, line 51
-
handleLayerOpacityChange
-
- Source:
- layer.js, line 59
-
handleLayerVisibleChange
-
- Source:
- layer.js, line 67
-
notify
-
Parameters:
Name Type Description keystring Key. - Inherited From:
- Source:
- object.js, line 175
-
set
-
Parameters:
Name Type Description keystring Key. value* Value. - Inherited From:
- Source:
- object.js, line 202
-
setOptions
-
Parameters:
Name Type Description optionsObject.<string, *> Options. - Inherited From:
- Source:
- object.js, line 224
-
setOrigin
-
Set the location of the top left corner of the target.
Parameters:
Name Type Description originol.Coordinate Origin. - Source:
- layer.js, line 83
-
unbind
-
Parameters:
Name Type Description keystring Key. - Inherited From:
- Source:
- object.js, line 245
-
unbindAll
-
Removes all bindings.
- Inherited From:
- Source:
- object.js, line 262