ru.dgis.sdk.map.ScalingSettings | Android SDK | 2GIS Documentation
Android SDK

ScalingSettings

ScalingSettings(scaleRatioThreshold: Float, scaleRatioThresholdInRotation: Float)
Parameters
scaleRatioThreshold
scaleRatioThresholdInRotation
Returns
Properties

Scaling factor threshold at which a scaling event is sent. Used if rotation is inactive. The multiplier must be out of bounds (1 / scale_ratio_threshold, scale_ratio_threshold).

Scaling factor threshold at which scaling messages is sent. Used if rotation is active. The multiplier must be out of bounds (1 / scale_ratio_threshold_in_rotation, scale_ratio_threshold_in_rotation).