maxPanVelocity property
The maximum offset to apply per frame to the camera's center during a pan animation, given the current camera zoom level
Measured in screen space. It is not required to make use of the camera zoom level. Negative numbers will flip the standard pan keys.
Defaults to 5 * math.log(0.15 * z + 1) + 1
, where z
is the zoom level.
Implementation
final double Function(double zoom)? maxPanVelocity;