Skip to main content

flywave-mapview.mapviewutils.pancameraaboveflatmap

Home > @flywave/flywave-mapview > MapViewUtils > panCameraAboveFlatMap

MapViewUtils.panCameraAboveFlatMap() function​

Pans the camera according to the projection.

Signature:

function panCameraAboveFlatMap(mapView: MapView, offsetX: number, offsetY: number): void;

Parameters​

Parameter

Type

Description

mapView

MapView

Instance of MapView.

offsetX

number

offsetY

number

Returns:



void