new Map
Parameters:
| Name | Type | Description |
|---|---|---|
mapOptions |
ol.MapOptions | Map options. |
- Source:
- map.js, line 123
Extends
Members
-
changed
-
- Inherited From:
- Source:
- object.js, line 156
-
<protected> logger :goog.debug.Logger
-
- Source:
- map.js, line 132
-
setValues
-
- Inherited From:
- Source:
- object.js, line 249
-
<inner> controls :Array.<ol.control.Control>
-
- Source:
- map.js, line 290
Methods
-
<static> createOptionsInternal
-
Parameters:
Name Type Description mapOptionsol.MapOptions Map options. - Source:
- map.js, line 826
Returns:
Map options.- Type
- ol.MapOptionsInternal
-
addPreRenderFunction
-
Parameters:
Name Type Description preRenderFunctionol.PreRenderFunction Pre-render function. - Source:
- map.js, line 306
-
addPreRenderFunctions
-
Parameters:
Name Type Description preRenderFunctionsArray.<ol.PreRenderFunction> Pre-render functions. - Source:
- map.js, line 316
-
bindTo
-
Parameters:
Name Type Argument Description keystring Key. targetol.Object Target. targetKeystring= <optional>
(Optional) Target key. noNotifyboolean= <optional>
(Optional) No notify. - Inherited From:
- Source:
- object.js, line 135
-
disposeInternal
-
- Source:
- map.js, line 336
-
freezeRendering
-
Freeze rendering.
- Source:
- map.js, line 345
-
get
-
Parameters:
Name Type Description keystring Key. - Inherited From:
- Source:
- object.js, line 163
Returns:
Value.- Type
- *
-
getBackgroundColor
-
- Source:
- map.js, line 353
Returns:
Background color.- Type
- ol.Color | undefined
-
getCoordinateFromPixel
-
Parameters:
Name Type Description pixelol.Pixel Pixel. - Source:
- map.js, line 383
Returns:
Coordinate.- Type
- ol.Coordinate
-
getInteractions
-
- Source:
- map.js, line 398
Returns:
Interactions.- Type
- ol.Collection
-
getLayers
-
- Source:
- map.js, line 406
Returns:
Layers.- Type
- ol.Collection
-
getOverlayContainer
-
- Source:
- map.js, line 468
Returns:
The map's overlay container. Elements added to this container won't let mousedown and touchstart events through to the map, so clicks and gestures on an overlay don't trigger any MapBrowserEvent.- Type
- Element
-
getPixelFromCoordinate
-
Parameters:
Name Type Description coordinateol.Coordinate Coordinate. - Source:
- map.js, line 419
Returns:
Pixel.- Type
- ol.Pixel
-
getRenderer
-
- Source:
- map.js, line 366
Returns:
Renderer.- Type
- ol.renderer.Map
-
getSize
-
- Source:
- map.js, line 434
Returns:
Size.- Type
- ol.Size | undefined
-
getTarget
-
- Source:
- map.js, line 374
Returns:
Container.- Type
- Element
-
getTilePriority
-
Parameters:
Name Type Description tileol.Tile Tile. tileSourceKeystring Tile source key. tileCenterol.Coordinate Tile center. - Source:
- map.js, line 479
Returns:
Tile priority.- Type
- number
-
getView
-
- Source:
- map.js, line 446
Returns:
View.- Type
- ol.View
-
getViewport
-
- Source:
- map.js, line 458
Returns:
Viewport.- Type
- Element
-
handleBrowserEvent
-
Parameters:
Name Type Argument Description browserEventgoog.events.BrowserEvent Browser event. typestring= <optional>
(Optional) Type. - Source:
- map.js, line 499
-
<protected> handleBrowserWindowResize
-
- Source:
- map.js, line 552
-
handleMapBrowserEvent
-
Parameters:
Name Type Description mapBrowserEventol.MapBrowserEvent The event to handle. - Source:
- map.js, line 509
-
<protected> handlePostRender
-
- Source:
- map.js, line 529
-
isDef
-
- Source:
- map.js, line 595
Returns:
Is defined.- Type
- boolean
-
notify
-
Parameters:
Name Type Description keystring Key. - Inherited From:
- Source:
- object.js, line 184
-
removePreRenderFunction
-
Parameters:
Name Type Description preRenderFunctionol.PreRenderFunction Pre-render function. - Source:
- map.js, line 327
Returns:
Whether the preRenderFunction has been found and removed.- Type
- boolean
-
render
-
Render.
- Source:
- map.js, line 605
-
requestRenderFrame
-
Request that renderFrame_ be called some time in the future.
- Source:
- map.js, line 619
-
set
-
Parameters:
Name Type Description keystring Key. value* Value. - Inherited From:
- Source:
- object.js, line 212
-
setBackgroundColor
-
Parameters:
Name Type Description backgroundColorol.Color Background color. - Source:
- map.js, line 740
-
setLayers
-
Parameters:
Name Type Description layersol.Collection Layers. - Source:
- map.js, line 752
-
setOptions
-
Parameters:
Name Type Description optionsObject.<string, *> Options. - Inherited From:
- Source:
- object.js, line 234
-
setSize
-
Parameters:
Name Type Description sizeol.Size Size. - Source:
- map.js, line 764
-
setView
-
Parameters:
Name Type Description viewol.IView View. - Source:
- map.js, line 776
-
unbind
-
Parameters:
Name Type Description keystring Key. - Inherited From:
- Source:
- object.js, line 255
-
unbindAll
-
Removes all bindings.
- Inherited From:
- Source:
- object.js, line 272
-
unfreezeRendering
-
Unfreeze rendering.
- Source:
- map.js, line 788
-
withFrozenRendering
-
Parameters:
Name Type Argument Description ffunction(this: T) Function. objT= <optional>
(Optional) Object. - Source:
- map.js, line 801