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

DirectMapShiftEvent

Direct map shift event. Direct map control events are described in DirectMapControlBeginEvent.

DirectMapShiftEvent(
	screenShift: ScreenShift,
	shiftedPoint: ScreenPoint,
	timestamp: Duration
)
Parameters
screenShift
ScreenShift

Change of the screen position of the map relative to the previous one, in pixels.

shiftedPoint
ScreenPoint

Center point from which the map is shifted.

timestamp
Duration

Time of the system event generation.

Returns
Properties

Change of the screen position of the map compared to the previous position, in pixels.

Center point from which the map is shifted.