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

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 starts sending rotation messages. Used if scaling is inactive.

Threshold of mean radial shift of points, in millimeters, after which it starts sending rotation messages. Used if scaling is inactive.

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

Threshold of mean radial shift of points, in millimeters, after which it starts sending rotation messages. Used if scaling is active.