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 position
ol.Coordinate Same projection as the ol.View.
-
Name Type Description altitude
number In meters.
-
Shortcut for ol.View.setCenter().
Name Type Description center
ol.Coordinate Same projection as the ol.View.
-
Name Type Description distance
number In meters.
-
Name Type Description heading
number In radians.
-
Sets the position of the camera.
Name Type Description position
ol.Coordinate Same projection as the ol.View.
-
Name Type Description tilt
number In radians.
-
Calculates the values of the properties from the current Cesium.Camera state. Modifies the center, resolution and rotation properties of the view.