makeFixedZoomPolicy static method

TrackingCameraBehaviorZoomPolicy makeFixedZoomPolicy(
  1. double zoom
)

Creates a zoom policy that always returns a fixed zoom value.

  • zoom The constant zoom level that the policy will return.

Returns TrackingCameraBehaviorZoomPolicy. The ZoomPolicy instance.

Implementation

static TrackingCameraBehaviorZoomPolicy makeFixedZoomPolicy(double zoom) => $prototype.makeFixedZoomPolicy(zoom);