Class: ol.renderer.webgl.Map

ol.renderer.webgl.Map

new Map

Parameters:
Name Type Description
container Element Container.
map ol.Map Map.
Source:
  • map.js, line 135

Extends

Members

canRotate

Source:
  • map.js, line 307

<protected> layerRenderers :Object.<number, ol.renderer.Layer>

Inherited From:
Source:
  • map.js, line 37

logger

Source:
  • map.js, line 143

<protected> map :ol.Map

Inherited From:
Source:
  • map.js, line 31

Methods

addLayer

Source:
  • map.js, line 252

bindImageTexture

Parameters:
Name Type Description
image Image Image.
magFilter number Mag filter.
minFilter number Min filter.
Source:
  • map.js, line 265

createLayerRenderer

Source:
  • map.js, line 313

disposeInternal

Source:
  • map.js, line 327

forEachReadyVisibleLayer

Parameters:
Name Type Description
f function(this: T, ol.layer.Layer, ol.renderer.Layer, number) Function.
obj T= (Optional) Object.
Inherited From:
Source:
  • map.js, line 142

getCoordinateFromPixel

Parameters:
Name Type Description
pixel ol.Pixel Pixel.
Inherited From:
Source:
  • map.js, line 159
Returns:
Coordinate.
Type
ol.Coordinate

getGL

Source:
  • map.js, line 347
Returns:
GL.
Type
WebGLRenderingContext

<protected> getLayerRenderer

Parameters:
Name Type Description
layer ol.layer.Layer Layer.
Inherited From:
Source:
  • map.js, line 172
Returns:
Layer renderer.
Type
ol.renderer.Layer

getMap

Inherited From:
Source:
  • map.js, line 183
Returns:
Map.
Type
ol.Map

getPixelFromCoordinate

Parameters:
Name Type Description
coordinate ol.Coordinate Coordinate.
Inherited From:
Source:
  • map.js, line 192
Returns:
Pixel.
Type
ol.Pixel

getProgram

Parameters:
Name Type Description
fragmentShaderObject ol.renderer.webgl.FragmentShader Fragment shader.
vertexShaderObject ol.renderer.webgl.VertexShader Vertex shader.
Source:
  • map.js, line 358
Returns:
Program.
Type
WebGLProgram

getShader

Parameters:
Name Type Description
shaderObject ol.renderer.webgl.Shader Shader object.
Source:
  • map.js, line 388
Returns:
Shader.
Type
WebGLShader

handleBackgroundColorChanged

Source:
  • map.js, line 414

handleCenterChanged

Source:
  • map.js, line 428

<protected> handleLayerRendererChange

Parameters:
Name Type Description
event goog.events.Event Event.
Source:
  • map.js, line 438

<protected> handleLayersAdd

Parameters:
Name Type Description
collectionEvent ol.CollectionEvent Collection event.
Inherited From:
Source:
  • map.js, line 218

<protected> handleLayersChanged

Inherited From:
Source:
  • map.js, line 227

<protected> handleLayersRemove

Parameters:
Name Type Description
collectionEvent ol.CollectionEvent Collection event.
Inherited From:
Source:
  • map.js, line 254

handleResolutionChanged

Source:
  • map.js, line 446

handleRotationChanged

Source:
  • map.js, line 455

handleSizeChanged

Source:
  • map.js, line 464

<protected> handleWebGLContextLost

Parameters:
Name Type Description
event goog.events.Event Event.
Source:
  • map.js, line 474

<protected> handleWebGLContextResourced

Source:
  • map.js, line 493

isImageTextureLoaded

Parameters:
Name Type Description
image Image Image.
Source:
  • map.js, line 519
Returns:
Is image texture loaded.
Type
boolean

removeLayer

Source:
  • map.js, line 527

removeLayerRenderer

Source:
  • map.js, line 538

render

Source:
  • map.js, line 552

setLayerRenderer

Source:
  • map.js, line 635