new Map
Parameters:
| Name | Type | Description |
|---|---|---|
container |
Element | Container. |
map |
ol.Map | Map. |
- Source:
- map.js, line 22
Extends
Members
-
canRotate
-
- Source:
- map.js, line 105
-
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 37
-
<protected> map :ol.Map
-
- Inherited From:
- Source:
- map.js, line 31
Methods
-
<protected> addLayer
-
Parameters:
Name Type Description layerol.layer.Layer Layer. - Inherited From:
- Source:
- map.js, line 101
-
createLayerRenderer
-
- Source:
- map.js, line 111
-
disposeInternal
-
- Inherited From:
- Source:
- map.js, line 124
-
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 142
-
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 136
-
<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 149
-
handleRotationChanged
-
- Source:
- map.js, line 162
-
handleSizeChanged
-
- Source:
- map.js, line 174
-
<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 190
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