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

RotationSettings

Settings for handling map rotation.

RotationSettings(
	angleDiffDeg: Float,
	distanceDiffMm: Float,
	angleDiffInScalingDeg: Float,
	distanceDiffInScalingMm: Float
)

Settings for handling map rotation.

Parameters
angleDiffDeg
distanceDiffMm
angleDiffInScalingDeg
distanceDiffInScalingMm
Returns
Properties

Angle change threshold, in degrees, after which it will start sending rotation messages. Used if scaling is inactive.

Threshold of mean radial shift of points, in millimeters, upon reaching which it will start sending rotation messages. Used if scaling is inactive.

Angle change threshold, in degrees, after which it will start sending rotation messages. Used if scaling is active.

Threshold of average point radial shift, in millimeters, upon reaching which it will start sending rotation messages. Used if scaling is active.