reframe

open override fun reframe(onReframeFinished: OnReframeFinished?)

Reframe MapView to a certain zoom and position to make sure every coordinate will be shown on the MapView and not covered by registered MapOverlays. If no onAnimateReframe is provided, MapView will jump to the new CameraOptions directly; if onAnimateReframe is provided, the new CameraOptions will be return and users can define their own animation to move the camera.

Parameters

onReframeFinished

the listener to get the CameraOptions