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

the center point from which the map is offset.

timestamp
Duration

system event generation time.

Returns
Properties

Changing the screen position of the map.

Center point from which the map is shifted.