new Map
Parameters:
| Name | Type | Description |
|---|---|---|
mapOptions |
olx.MapOptions | Map options. |
- Source:
- map.js, line 121
Extends
Members
-
changed
-
- Inherited From:
- Source:
- object.js, line 147
-
<protected> logger :goog.debug.Logger
-
- Source:
- map.js, line 130
-
setValues
-
- Inherited From:
- Source:
- object.js, line 239
Methods
-
bindTo
-
Parameters:
Name Type Description keystring Key. targetol.Object Target. targetKeystring= (Optional) Target key. noNotifyboolean= (Optional) No notify. - Inherited From:
- Source:
- object.js, line 126
-
canRotate
-
- Source:
- map.js, line 283
Returns:
Can rotate.- Type
- boolean
-
<static> createOptionsInternal
-
Parameters:
Name Type Description mapOptionsolx.MapOptions Map options. - Source:
- map.js, line 969
Returns:
Map options.- Type
- ol.MapOptionsInternal
-
fitExtent
-
Parameters:
Name Type Description extentol.Extent Extent. - Source:
- map.js, line 291
-
fitUserExtent
-
Parameters:
Name Type Description userExtentol.Extent Extent in user projection. - Source:
- map.js, line 307
-
freezeRendering
-
Freeze rendering.
- Source:
- map.js, line 315
-
get
-
Parameters:
Name Type Description keystring Key. - Inherited From:
- Source:
- object.js, line 154
Returns:
Value.- Type
- *
-
getBackgroundColor
-
- Source:
- map.js, line 323
Returns:
Background color.- Type
- ol.Color | undefined
-
getCenter
-
- Source:
- map.js, line 336
Returns:
Center.- Type
- ol.Coordinate | undefined
-
getControls
-
- Source:
- map.js, line 356
Returns:
Controls.- Type
- ol.Collection
-
getCoordinateFromPixel
-
Parameters:
Name Type Description pixelol.Pixel Pixel. - Source:
- map.js, line 365
Returns:
Coordinate.- Type
- ol.Coordinate
-
getExtent
-
- Source:
- map.js, line 373
Returns:
Extent.- Type
- ol.Extent | undefined
-
getInteractions
-
- Source:
- map.js, line 392
Returns:
Interactions.- Type
- ol.Collection
-
getLayers
-
- Source:
- map.js, line 404
Returns:
Layers.- Type
- ol.Collection
-
getOverlayContainer
-
- Source:
- map.js, line 563
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 413
Returns:
Pixel.- Type
- ol.Pixel | undefined
-
getProjection
-
- Source:
- map.js, line 425
Returns:
Projection.- Type
- ol.Projection | undefined
-
getResolution
-
- Source:
- map.js, line 437
Returns:
Resolution.- Type
- number | undefined
-
getResolutionForExtent
-
Parameters:
Name Type Description extentol.Extent Extent. - Source:
- map.js, line 450
Returns:
Resolution.- Type
- number | undefined
-
getRotatedExtent
-
- Source:
- map.js, line 465
Returns:
Rotated extent.- Type
- ol.Extent
-
getRotation
-
- Source:
- map.js, line 490
Returns:
Rotation.- Type
- number
-
getSize
-
- Source:
- map.js, line 502
Returns:
Size.- Type
- ol.Size | undefined
-
getTarget
-
- Source:
- map.js, line 348
Returns:
Container.- Type
- Element
-
getUserCenter
-
- Source:
- map.js, line 514
Returns:
Center in user projection.- Type
- ol.Coordinate | undefined
-
getUserExtent
-
- Source:
- map.js, line 527
Returns:
Extent in user projection.- Type
- ol.Extent | undefined
-
getUserProjection
-
- Source:
- map.js, line 540
Returns:
Projection.- Type
- ol.Projection | undefined
-
getViewport
-
- Source:
- map.js, line 553
Returns:
Viewport.- Type
- Element
-
handleBrowserEvent
-
Parameters:
Name Type Description browserEventgoog.events.BrowserEvent Browser event. typestring= (Optional) Type. - Source:
- map.js, line 572
-
<protected> handleBrowserWindowResize
-
- Source:
- map.js, line 634
-
handleMapBrowserEvent
-
Parameters:
Name Type Description mapBrowserEventol.MapBrowserEvent The event to handle. - Source:
- map.js, line 602
-
<protected> handleProjectionChanged
-
- Source:
- map.js, line 618
-
<protected> handleUserProjectionChanged
-
- Source:
- map.js, line 626
-
isAnimating
-
- Source:
- map.js, line 643
Returns:
Is animating.- Type
- boolean
-
isDef
-
- Source:
- map.js, line 651
Returns:
Is defined.- Type
- boolean
-
notify
-
Parameters:
Name Type Description keystring Key. - Inherited From:
- Source:
- object.js, line 175
-
onAnimationFrame
-
- Source:
- map.js, line 661
-
render
-
Render.
- Source:
- map.js, line 691
-
rotate
-
Parameters:
Name Type Description rotationnumber | undefined Rotation. deltanumber Delta. - Source:
- map.js, line 730
-
set
-
Parameters:
Name Type Description keystring Key. value* Value. - Inherited From:
- Source:
- object.js, line 202
-
setBackgroundColor
-
Parameters:
Name Type Description backgroundColorol.Color Background color. - Source:
- map.js, line 739
-
setCenter
-
Parameters:
Name Type Description centerol.Coordinate | undefined Center. - Source:
- map.js, line 751
-
setInteractions
-
Parameters:
Name Type Description interactionsol.Collection Interactions. - Source:
- map.js, line 763
-
setLayers
-
Parameters:
Name Type Description layersol.Collection Layers. - Source:
- map.js, line 775
-
setOptions
-
Parameters:
Name Type Description optionsObject.<string, *> Options. - Inherited From:
- Source:
- object.js, line 224
-
setProjection
-
Parameters:
Name Type Description projectionol.Projection Projection. - Source:
- map.js, line 787
-
setResolution
-
Parameters:
Name Type Description resolutionnumber | undefined Resolution. - Source:
- map.js, line 799
-
setRotation
-
Parameters:
Name Type Description rotationnumber | undefined Rotation. - Source:
- map.js, line 811
-
setSize
-
Parameters:
Name Type Description sizeol.Size Size. - Source:
- map.js, line 823
-
setUserCenter
-
Parameters:
Name Type Description userCenterol.Coordinate Center in user projection. - Source:
- map.js, line 835
-
setUserProjection
-
Parameters:
Name Type Description userProjectionol.Projection User projection. - Source:
- map.js, line 847
-
startAnimating
-
Start animating.
- Source:
- map.js, line 859
-
stopAnimating
-
Stop animating.
- Source:
- map.js, line 872
-
unbind
-
Parameters:
Name Type Description keystring Key. - Inherited From:
- Source:
- object.js, line 245
-
unbindAll
-
Removes all bindings.
- Inherited From:
- Source:
- object.js, line 262
-
unfreezeRendering
-
Unfreeze rendering.
- Source:
- map.js, line 886
-
withFrozenRendering
-
Parameters:
Name Type Description ffunction(this: T) Function. objT= (Optional) Object. - Source:
- map.js, line 901
-
zoom
-
Parameters:
Name Type Description deltanumber Delta from previous zoom level. anchorol.Coordinate= (Optional) Anchor coordinate. - Source:
- map.js, line 938
-
zoomToResolution
-
Parameters:
Name Type Description resolutionnumber | undefined Resolution to go to. anchorol.Coordinate= (Optional) Anchor coordinate. - Source:
- map.js, line 948