Class: ol.renderer.Map

ol.renderer.Map

new Map

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

Extends

  • goog.Disposable

Members

canRotate

Source:
  • map.js, line 110

<protected> createLayerRenderer

Source:
  • map.js, line 118

handleBackgroundColorChanged

Handle background color changed.
Source:
  • map.js, line 201

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

Source:
  • map.js, line 37

<protected> map :ol.Map

Source:
  • map.js, line 31

Methods

<protected> addLayer

Parameters:
Name Type Description
layer ol.layer.Layer Layer.
Source:
  • map.js, line 101

disposeInternal

Source:
  • map.js, line 124

forEachReadyVisibleLayer

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

getCoordinateFromPixel

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

<protected> getLayerRenderer

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

getMap

Source:
  • map.js, line 181
Returns:
Map.
Type
ol.Map

getPixelFromCoordinate

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

<protected> handleCenterChanged

Source:
  • map.js, line 207

<protected> handleLayersAdd

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

<protected> handleLayersChanged

Source:
  • map.js, line 225

<protected> handleLayersRemove

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

<protected> handleResolutionChanged

Source:
  • map.js, line 261

<protected> handleRotationChanged

Source:
  • map.js, line 269

<protected> handleSizeChanged

Source:
  • map.js, line 277

<protected> removeLayer

Parameters:
Name Type Description
layer ol.layer.Layer Layer.
Source:
  • map.js, line 286

<protected> removeLayerRenderer

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

render

Source:
  • map.js, line 311
Returns:
Animating.
Type
boolean

<protected> setLayerRenderer

Parameters:
Name Type Description
layer ol.layer.Layer Layer.
layerRenderer ol.renderer.Layer Layer renderer.
Source:
  • map.js, line 327