ManeuverZoomRange

public struct ManeuverZoomRange

Defines the bounds within which the zoom level is constrained when approaching a maneuver. Used as part of TrackingCameraBehavior.ManeuverRuleOptions.

  • Minimum camera zoom level. Valid range is 0.0 to 22.0. Defaults to 4.0.

    Declaration

    Swift

    public var minZoom: Double
  • Maximum camera zoom level. Valid range is 0.0 to 22.0. Must be greater than or equal to TrackingCameraBehavior.ManeuverZoomRange.minZoom. Defaults to 20.0.

    Declaration

    Swift

    public var maxZoom: Double
  • Creates a new instance.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    Declaration

    Swift

    public init(minZoom: Double = 4.0, maxZoom: Double = 20.0)