new Map
Parameters:
| Name | Type | Description |
|---|---|---|
container |
Element | Container. |
map |
ol.Map | Map. |
- Source:
- map.js, line 23
Extends
Members
-
canRotate
-
- Inherited From:
- Source:
- map.js, line 112
-
handleBackgroundColorChanged
-
Handle background color changed.
- Inherited From:
- Source:
- map.js, line 203
-
<protected> layerRenderers :Object.<number, ol.renderer.Layer>
-
- Inherited From:
- Source:
- map.js, line 39
-
<protected> map :ol.Map
-
- Inherited From:
- Source:
- map.js, line 33
Methods
-
<protected> addLayer
-
Parameters:
Name Type Description layerol.layer.Layer Layer. - Inherited From:
- Source:
- map.js, line 103
-
createLayerRenderer
-
- Source:
- map.js, line 74
-
disposeInternal
-
- Inherited From:
- Source:
- map.js, line 126
-
forEachReadyVisibleLayer
-
Parameters:
Name Type Description ffunction(this: T, ol.layer.Layer, ol.renderer.Layer, number) Function. objT= (Optional) Object. - Inherited From:
- Source:
- map.js, line 144
-
getCoordinateFromPixel
-
Parameters:
Name Type Description pixelol.Pixel Pixel. - Inherited From:
- Source:
- map.js, line 159
Returns:
Coordinate.- Type
- ol.Coordinate
-
<protected> getLayerRenderer
-
Parameters:
Name Type Description layerol.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 coordinateol.Coordinate Coordinate. - Inherited From:
- Source:
- map.js, line 192
Returns:
Pixel.- Type
- ol.Pixel
-
handleCenterChanged
-
- Source:
- map.js, line 99
-
<protected> handleLayersAdd
-
Parameters:
Name Type Description collectionEventol.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 collectionEventol.CollectionEvent Collection event. - Inherited From:
- Source:
- map.js, line 254
-
handleResolutionChanged
-
- Source:
- map.js, line 112
-
<protected> handleRotationChanged
-
- Inherited From:
- Source:
- map.js, line 271
-
handleSizeChanged
-
- Source:
- map.js, line 125
-
<protected> removeLayer
-
Parameters:
Name Type Description layerol.layer.Layer Layer. - Inherited From:
- Source:
- map.js, line 288
-
<protected> removeLayerRenderer
-
Parameters:
Name Type Description layerol.layer.Layer Layer. - Inherited From:
- Source:
- map.js, line 298
Returns:
Layer renderer.- Type
- ol.renderer.Layer
-
render
-
Render the map. Sets up the layers pane on first render and adjusts its position as needed on subsequent calls.
- Source:
- map.js, line 141
Returns:
Animating.- Type
- boolean
-
<protected> setLayerRenderer
-
Parameters:
Name Type Description layerol.layer.Layer Layer. layerRendererol.renderer.Layer Layer renderer. - Inherited From:
- Source:
- map.js, line 329