getDragCameraOptions

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

Return

The `camera options` object showing the end point.

Parameters

fromPoint

The `screen coordinate` to drag the map from, measured in `platform pixels` from top to bottom and from left to right.

toPoint

The `screen coordinate` to drag the map to, measured in `platform pixels` from top to bottom and from left to right.

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