get Drag Camera Options
abstract fun getDragCameraOptions(fromPoint: ScreenCoordinate, toPoint: ScreenCoordinate): CameraOptions
Content copied to clipboard
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
from Point
The point to drag the map from, measured in \link MapOptions#size platform pixels \endlink from top to bottom and from left to right.
to Point
The point to drag the map to, measured in \link MapOptions#size platform pixels \endlink from top to bottom and from left to right.