getDragCameraOptions

open override fun getDragCameraOptions(fromPoint: ScreenCoordinate, toPoint: ScreenCoordinate): CameraOptions

Calculates target point where camera should move after drag. The method should be called after dragStart and before dragEnd.

Return

Returns the camera options object showing end point

Parameters

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.