flywave-mapview.mapviewutils.extractcameratilt
Home > @flywave/flywave-mapview > MapViewUtils > extractCameraTilt
MapViewUtils.extractCameraTilt() function
Warning: This API is now obsolete.
Use MapView.tilt
Extracts current camera tilt angle in radians.
Signature:
function extractCameraTilt(camera: THREE.Camera, projection: Projection): number;
Parameters
Parameter | Type | Description |
|---|---|---|
camera | THREE.Camera | The [[Camera]] in use. |
projection | Projection | The used to convert between geo and world coordinates. |
Returns:
number