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

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 rotation of the map, in degrees. Positive values correspond to the direction of rotation counterclockwise

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 rotation of the map.

The point on the screen around which the Map rotates.