Class: ol.renderer.dom.Layer

ol.renderer.dom.Layer

new Layer

Parameters:
Name Type Description
mapRenderer ol.renderer.Map Map renderer.
layer ol.layer.Layer Layer.
target !Element Target.
Source:
  • domlayerrenderer.js, line 15

Extends

Members

changed

Inherited From:
Source:
  • object.js, line 166

<protected> handleLayerBrightnessChange

Inherited From:
Source:
  • layerrenderer.js, line 115

<protected> handleLayerContrastChange

Inherited From:
Source:
  • layerrenderer.js, line 121

<protected> handleLayerHueChange

Inherited From:
Source:
  • layerrenderer.js, line 127

<protected> handleLayerSaturationChange

Inherited From:
Source:
  • layerrenderer.js, line 162

<protected> observedTileKeys :Object.<string, boolean>

Inherited From:
Source:
  • layerrenderer.js, line 47

renderFrame

Inherited From:
Source:
  • layerrenderer.js, line 206

setValues

Inherited From:
Source:
  • object.js, line 275

<protected> target :!Element

Source:
  • domlayerrenderer.js, line 23

Methods

bindTo

Parameters:
Name Type Argument Description
key string Key.
target ol.Object Target.
targetKey string= <optional>
(Optional) Target key.
noNotify boolean= <optional>
(Optional) No notify.
Inherited From:
Source:
  • object.js, line 145

createGetTileIfLoadedFunction

Parameters:
Name Type Description
isLoadedFunction function(ol.Tile): boolean Function to determine if the tile is loaded.
tileSource ol.source.TileSource Tile source.
tileGrid ol.tilegrid.TileGrid Tile grid.
projection ol.Projection Projection.
Inherited From:
Source:
  • layerrenderer.js, line 293
Returns:
Returns a tile if it is loaded.
Type
function(ol.TileCoord): ol.Tile

<protected> dispatchChangeEvent

Inherited From:
Source:
  • layerrenderer.js, line 83

disposeInternal

Source:
  • domlayerrenderer.js, line 32

get

Parameters:
Name Type Description
key string Key.
Inherited From:
Source:
  • object.js, line 173
Returns:
Value.
Type
*

getKeys

Get a list of object property names.
Inherited From:
Source:
  • object.js, line 197
Returns:
List of property names.
Type
Array.<string>

getLayer

Inherited From:
Source:
  • layerrenderer.js, line 91
Returns:
Layer.
Type
ol.layer.Layer

getMap

Inherited From:
Source:
  • layerrenderer.js, line 99
Returns:
Map.
Type
ol.Map

getMapRenderer

Inherited From:
Source:
  • layerrenderer.js, line 107
Returns:
Map renderer.
Type
ol.renderer.Map

getTarget

Source:
  • domlayerrenderer.js, line 41
Returns:
Target.
Type
!Element

<protected> handleImageChange

Handle changes in image state.
Parameters:
Name Type Description
event goog.events.Event Image change event.
Inherited From:
Source:
  • layerrenderer.js, line 135

<protected> handleLayerLoad

Inherited From:
Source:
  • layerrenderer.js, line 146

<protected> handleLayerOpacityChange

Inherited From:
Source:
  • layerrenderer.js, line 154

<protected> handleLayerVisibleChange

Inherited From:
Source:
  • layerrenderer.js, line 168

<protected> listenToTileChange

Listen once to tileKey, le change event.
Parameters:
Name Type Description
tile ol.Tile Tile.
Inherited From:
Source:
  • layerrenderer.js, line 192

notify

Parameters:
Name Type Description
key string Key.
Inherited From:
Source:
  • object.js, line 208

<protected> scheduleExpireCache

Parameters:
Name Type Description
frameState ol.FrameState Frame state.
tileSource ol.source.TileSource Tile source.
Inherited From:
Source:
  • layerrenderer.js, line 214

set

Parameters:
Name Type Description
key string Key.
value * Value.
Inherited From:
Source:
  • object.js, line 236

setOptions

Parameters:
Name Type Description
options Object.<string, *> Options.
Inherited From:
Source:
  • object.js, line 258

unbind

Parameters:
Name Type Description
key string Key.
Inherited From:
Source:
  • object.js, line 281

unbindAll

Removes all bindings.
Inherited From:
Source:
  • object.js, line 298

<protected> updateAttributions

Parameters:
Name Type Description
attributionsSet Object.<string, ol.Attribution> Attributions set (target).
attributions Array.<ol.Attribution> Attributions (source).
Inherited From:
Source:
  • layerrenderer.js, line 232

<protected> updateUsedTiles

Parameters:
Name Type Description
usedTiles Object.<string, Object.<string, ol.TileRange>> Used tiles.
tileSource ol.source.TileSource Tile source.
z number Z.
tileRange ol.TileRange Tile range.
Inherited From:
Source:
  • layerrenderer.js, line 250

<protected> updateWantedTiles

Parameters:
Name Type Description
wantedTiles Object.<string, Object.<string, boolean>> Wanted tiles.
tileSource ol.source.TileSource Tile source.
tileCoord ol.TileCoord Tile coordinate.
Inherited From:
Source:
  • layerrenderer.js, line 274