drag

Drags the map from one screen point to another. The method should be called after dragStart and before dragEnd.

Parameters

animation

Optional animation

fromPoint

The point to drag the map from, measured in \link MapOptions#size platform pixels \endlink from top to bottom and from left to right.

toPoint

The point to drag the map to, measured in \link MapOptions#size platform pixels \endlink from top to bottom and from left to right.

abstract fun drag(fromPoint: ScreenCoordinate, toPoint: ScreenCoordinate, animation: AnimationOptions?)