Skip to main content

flywave-mapview.cameramovementdetector.checkcameramoved

Home > @flywave/flywave-mapview > CameraMovementDetector > checkCameraMoved

CameraMovementDetector.checkCameraMoved() method

Checks if the camera has moved since the last time it was checked. The m_movementStartedFunc is called when a movement starts. If no movement is detected, a timer for m_movementFinishedFunc starts.

Signature:

checkCameraMoved(mapView: MapView, now: number): boolean;

Parameters

Parameter

Type

Description

mapView

MapView

[[Mapview]]'s position and camera are checked for modifications.

now

number

Returns:



boolean