makeFixedZoomPolicy static method

TrackingCameraBehaviorZoomPolicy makeFixedZoomPolicy(
  1. double zoomLevel
)

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

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

Returns TrackingCameraBehaviorZoomPolicy. The ZoomPolicy instance.

Implementation

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