ru.dgis.sdk.navigation.SpeedRangeToZoom | Android SDK | 2GIS Documentation
Android SDK

SpeedRangeToZoom

Correspondence of speed interval and zoom.

SpeedRangeToZoom(
	range: SpeedRange,
	minDistanceToManeuver: RouteDistance,
	maxDistanceToManeuver: RouteDistance,
	zoom: StyleZoom
)

Correspondence of speed interval and zoom.

Parameters
range
minDistanceToManeuver
maxDistanceToManeuver
zoom
Returns
Properties

Velocity interval.

Minimum distance to the maneuver at which the logic smooth increase of the zoom level should be enabled.

Maximum distance after maneuver at which zoom scaling should end.