SpeedRangeToZoom | iOS SDK | 2GIS Documentation

SpeedRangeToZoom

Speed and zoom interval matching.

public init(
    range: SpeedRange,
    minDistanceToManeuver: RouteDistance,
    maxDistanceToManeuver: RouteDistance,
    zoom: StyleZoom
)
Parameters
range
minDistanceToManeuver
maxDistanceToManeuver
zoom
Properties

Speed interval.

Minimum distance to the maneuver at which the smooth zoom level logic should be activated.

Maximum distance after the maneuver at which the smooth zoom level reduction should end.

Zoom.