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 306

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

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

logger

Source:
  • map.js, line 143

<protected> map :ol.Map

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

Methods

addLayer

Source:
  • map.js, line 251

bindImageTexture

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

createLayerRenderer

Source:
  • map.js, line 312

disposeInternal

Source:
  • map.js, line 326

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 144

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 346
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 357
Returns:
Program.
Type
WebGLProgram

getShader

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

handleBackgroundColorChanged

Source:
  • map.js, line 413

handleCenterChanged

Source:
  • map.js, line 427

<protected> handleLayerRendererChange

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

<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 445

handleRotationChanged

Source:
  • map.js, line 454

handleSizeChanged

Source:
  • map.js, line 463

<protected> handleWebGLContextLost

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

<protected> handleWebGLContextResourced

Source:
  • map.js, line 492

isImageTextureLoaded

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

removeLayer

Source:
  • map.js, line 526

removeLayerRenderer

Source:
  • map.js, line 537

render

Source:
  • map.js, line 551

setLayerRenderer

Source:
  • map.js, line 634