This object takes care of additional 3d-specific properties of the view and ensures proper synchronization with the underlying raw Cesium.Camera object.
| Name | Type | Description |
|---|---|---|
scene |
Cesium.Scene | |
map |
ol.Map |
Methods
-
Returns:
Altitude in meters.
-
Shortcut for ol.View.getCenter().
Returns:
Same projection as the ol.View.
-
Returns:
Distance in meters.
-
Returns:
Heading in radians.
-
Calculates position under the camera.
Returns:
Same projection as the ol.View.
-
Returns:
Tilt in radians.
-
Rotates the camera to point at the specified target.
Name Type Description positionol.Coordinate Same projection as the ol.View.
-
Name Type Description altitudenumber In meters.
-
Shortcut for ol.View.setCenter().
Name Type Description centerol.Coordinate Same projection as the ol.View.
-
Name Type Description distancenumber In meters.
-
Name Type Description headingnumber In radians.
-
Sets the position of the camera.
Name Type Description positionol.Coordinate Same projection as the ol.View.
-
Name Type Description tiltnumber In radians.
-
Calculates the values of the properties from the current Cesium.Camera state. Modifies the center, resolution and rotation properties of the view.