Skip to content

zoomAtTimestamp(scale, timestamp, animationDuration?) ​

zoomAtTimestamp zoom to the specified timestamp.

Reference ​

typescript
(
  scale: number,
  timestamp: number, 
  animationDuration?: number
) => void

Parameters ​

  • scale Scaling.
  • timestamp Timestamp.
  • animationDuration Animation duration. If it is less than or equal to 0, there is no animation.

Returns ​

zoomAtTimestamp returns undefined .

Usage ​

Basic usage ​