flywave-mapview.mapviewutils.orbitaroundscreenpoint
Home > @flywave/flywave-mapview > MapViewUtils > orbitAroundScreenPoint
MapViewUtils.orbitAroundScreenPoint() function
Warning: This API is now obsolete.
Use overload with object parameter.
Orbits the camera around a given point on the screen.
Signature:
function orbitAroundScreenPoint(mapView: MapView, offsetX: number, offsetY: number, deltaAzimuth: number, deltaTilt: number, maxTiltAngle: number): void;
Parameters
Parameter | Type | Description |
|---|---|---|
mapView | The MapView instance to manipulate. | |
offsetX | number | Orbit point in NDC space. |
offsetY | number | Orbit point in NDC space. |
deltaAzimuth | number | Delta azimuth in radians. |
deltaTilt | number | Delta tilt in radians. |
maxTiltAngle | number | The maximum tilt between the camera and its target in radian. |
Returns:
void