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

DirectMapRotationEvent

Map direct rotation event. Direct map control events are described in DirectMapControlBeginEvent.

DirectMapRotationEvent(
	bearingDelta: Bearing,
	timestamp: Duration,
	rotationCenter: ScreenPoint? = null
)
Parameters
bearingDelta
Bearing

Change the angle of the map rotation, in degrees. Positive values correspond to the direction of counterclockwise rotation.

timestamp
Duration

System event generation time.

rotationCenter
ScreenPoint?

The point on the screen around which the map rotates. If no point is specified, the rotation is relative to the map's position point.

Returns
Properties

Change the angle of the map rotation.

The point on the screen around which the Map rotates.