SpeedRangeToStyleZoom | iOS SDK | 2GIS Documentation
iOS SDK

SpeedRangeToStyleZoom

Matching speed interval and style zoom.

public init(
    range: SpeedRange,
    minDistanceToManeuver: RouteDistance,
    maxDistanceToManeuver: RouteDistance,
    styleZoom: StyleZoom
)
Parameters
range
minDistanceToManeuver
maxDistanceToManeuver
styleZoom
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.

Style zoom.