DirectMapShiftEvent | iOS SDK | 2GIS Documentation
iOS SDK

DirectMapShiftEvent

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

Extends: InputEvent
public convenience init(
    screenShift: ScreenShift,
    shiftedPoint: ScreenPoint,
    timestamp: TimeInterval
)
Parameters
screenShift
ScreenShift

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

shiftedPoint
ScreenPoint

Center point from which the map is shifted.

timestamp
TimeInterval

Time of the system event generation.

Properties

Changing the map screen position.

Center point from which the map is shifted.