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

SpeedRangeToStyleZoom

Mapping of speed intervals to style zoom.

SpeedRangeToStyleZoom(
	range: SpeedRange,
	minDistanceToManeuver: RouteDistance,
	maxDistanceToManeuver: RouteDistance,
	styleZoom: StyleZoom
)

Mapping of speed intervals to style zoom.

Parameters
range
minDistanceToManeuver
maxDistanceToManeuver
styleZoom
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.

Style zoom.