new View2D
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
view2DOptions |
ol.View2DOptions |
<optional> |
(Optional) View2D options. |
- Source:
- view2d.js, line 37
Extends
Members
-
changed
-
- Inherited From:
- Source:
- object.js, line 156
-
setValues
-
- Inherited From:
- Source:
- object.js, line 249
-
<inner> values :Object.<string, *>
-
- Source:
- view2d.js, line 44
Methods
-
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
-
fitExtent
-
Parameters:
Name Type Description extentol.Extent Extent. sizeol.Size Box pixel size. - Source:
- view2d.js, line 189
-
get
-
Parameters:
Name Type Description keystring Key. - Inherited From:
- Source:
- object.js, line 163
Returns:
Value.- Type
- *
-
getCenter
-
- Source:
- view2d.js, line 75
-
getExtent
-
Parameters:
Name Type Description sizeol.Size Box pixel size. - Source:
- view2d.js, line 89
Returns:
Extent.- Type
- ol.Extent
-
getHints
-
- Inherited From:
- Source:
- view.js, line 40
Returns:
Hint.- Type
- Array.<number>
-
getProjection
-
- Source:
- view2d.js, line 104
-
getResolution
-
- Source:
- view2d.js, line 117
-
getResolutionForExtent
-
Parameters:
Name Type Description extentol.Extent Extent. sizeol.Size Box pixel size. - Source:
- view2d.js, line 132
Returns:
Resolution.- Type
- number
-
getRotation
-
- Source:
- view2d.js, line 142
Returns:
Map rotation.- Type
- number
-
getView2D
-
- Source:
- view2d.js, line 155
-
getView2DState
-
- Source:
- view2d.js, line 163
-
getView3D
-
FIXME return type
- Source:
- view2d.js, line 181
-
isDef
-
- Source:
- view2d.js, line 200
Returns:
Is defined.- Type
- boolean
-
notify
-
Parameters:
Name Type Description keystring Key. - Inherited From:
- Source:
- object.js, line 184
-
rotate
-
Parameters:
Name Type Description mapol.Map Map. rotationnumber | undefined Rotation. deltanumber Delta. - Source:
- view2d.js, line 259
-
set
-
Parameters:
Name Type Description keystring Key. value* Value. - Inherited From:
- Source:
- object.js, line 212
-
setCenter
-
Parameters:
Name Type Description centerol.Coordinate | undefined Center. - Source:
- view2d.js, line 209
-
setHint
-
Parameters:
Name Type Description hintol.ViewHint Hint. deltanumber Delta. - Inherited From:
- Source:
- view.js, line 61
-
setOptions
-
Parameters:
Name Type Description optionsObject.<string, *> Options. - Inherited From:
- Source:
- object.js, line 234
-
setProjection
-
Parameters:
Name Type Description projectionol.Projection | undefined Projection. - Source:
- view2d.js, line 221
-
setResolution
-
Parameters:
Name Type Description resolutionnumber | undefined Resolution. - Source:
- view2d.js, line 233
-
setRotation
-
Parameters:
Name Type Description rotationnumber | undefined Rotation. - Source:
- view2d.js, line 245
-
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
-
zoom
-
Parameters:
Name Type Argument Description mapol.Map Map. deltanumber Delta from previous zoom level. anchorol.Coordinate <optional>
(Optional) Anchor coordinate. durationnumber <optional>
(Optional) Duration. - Source:
- view2d.js, line 295
-
zoomToResolution
-
Parameters:
Name Type Argument Description mapol.Map Map. resolutionnumber | undefined Resolution to go to. anchorol.Coordinate <optional>
(Optional) Anchor coordinate. - Source:
- view2d.js, line 312