makeSpeedBasedZoomPolicy static method

TrackingCameraBehaviorZoomPolicy makeSpeedBasedZoomPolicy(
  1. TrackingCameraBehaviorSpeedBasedZoomPolicyOptions options
)

Instantiates a zoom policy driven by speed thresholds defined per road classification.

  • options Configuration describing the speed thresholds mapping to road classifications.

Returns TrackingCameraBehaviorZoomPolicy. The ZoomPolicy instance.

Implementation

static TrackingCameraBehaviorZoomPolicy makeSpeedBasedZoomPolicy(TrackingCameraBehaviorSpeedBasedZoomPolicyOptions options) => $prototype.makeSpeedBasedZoomPolicy(options);