new Map
Parameters:
| Name | Type | Description |
|---|---|---|
container |
Element | Container. |
map |
ol.Map | Map. |
- Source:
- map.js, line 19
Extends
- goog.Disposable
Members
-
canRotate
-
- Source:
- map.js, line 112
-
<protected> createLayerRenderer
-
- Source:
- map.js, line 120
-
handleBackgroundColorChanged
-
Handle background color changed.
- Source:
- map.js, line 203
-
<protected> layerRenderers :Object.<number, ol.renderer.Layer>
-
- Source:
- map.js, line 39
-
<protected> map :ol.Map
-
- Source:
- map.js, line 33
Methods
-
<protected> addLayer
-
Parameters:
Name Type Description layerol.layer.Layer Layer. - Source:
- map.js, line 103
-
disposeInternal
-
- Source:
- map.js, line 126
-
forEachReadyVisibleLayer
-
Parameters:
Name Type Description ffunction(this: T, ol.layer.Layer, ol.renderer.Layer, number) Function. objT= (Optional) Object. - Source:
- map.js, line 144
-
getCoordinateFromPixel
-
Parameters:
Name Type Description pixelol.Pixel Pixel. - Source:
- map.js, line 159
Returns:
Coordinate.- Type
- ol.Coordinate
-
<protected> getLayerRenderer
-
Parameters:
Name Type Description layerol.layer.Layer Layer. - Source:
- map.js, line 172
Returns:
Layer renderer.- Type
- ol.renderer.Layer
-
getMap
-
- Source:
- map.js, line 183
Returns:
Map.- Type
- ol.Map
-
getPixelFromCoordinate
-
Parameters:
Name Type Description coordinateol.Coordinate Coordinate. - Source:
- map.js, line 192
Returns:
Pixel.- Type
- ol.Pixel
-
<protected> handleCenterChanged
-
- Source:
- map.js, line 209
-
<protected> handleLayersAdd
-
Parameters:
Name Type Description collectionEventol.CollectionEvent Collection event. - Source:
- map.js, line 218
-
<protected> handleLayersChanged
-
- Source:
- map.js, line 227
-
<protected> handleLayersRemove
-
Parameters:
Name Type Description collectionEventol.CollectionEvent Collection event. - Source:
- map.js, line 254
-
<protected> handleResolutionChanged
-
- Source:
- map.js, line 263
-
<protected> handleRotationChanged
-
- Source:
- map.js, line 271
-
<protected> handleSizeChanged
-
- Source:
- map.js, line 279
-
<protected> removeLayer
-
Parameters:
Name Type Description layerol.layer.Layer Layer. - Source:
- map.js, line 288
-
<protected> removeLayerRenderer
-
Parameters:
Name Type Description layerol.layer.Layer Layer. - Source:
- map.js, line 298
Returns:
Layer renderer.- Type
- ol.renderer.Layer
-
render
-
- Source:
- map.js, line 313
Returns:
Animating.- Type
- boolean
-
<protected> setLayerRenderer
-
Parameters:
Name Type Description layerol.layer.Layer Layer. layerRendererol.renderer.Layer Layer renderer. - Source:
- map.js, line 329