Skip to main content

flywave-map-controls.cameraanimationbuilder.getlookatfromview

Home > @flywave/flywave-map-controls > CameraAnimationBuilder > getLookAtFromView

CameraAnimationBuilder.getLookAtFromView() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Get the current [[LookAtParams]] from [[MapView]]

Signature:

static getLookAtFromView(mapView: MapView): Pick<LookAtParams, "target" | "tilt" | "heading" | "distance">;

Parameters

Parameter

Type

Description

mapView

MapView

The MapView

Returns:



Pick&lt;LookAtParams, "target" \| "tilt" \| "heading" \| "distance"&gt;