fun zoomOutToFit( camera: BaseCamera, geometry: Geometry, size: ScreenSize? = null ): CameraPosition
Calculation of the camera position, such that, with the camera's installation point unchanged, the geometric object located on the map fits into the screen area specified by the camera's padding.
If you do not need to change the settings of the original camera, then you can configure the one copied via IBaseCamera::clone().
The camera used to calculate the position.
A geometric object to fit into the screen area specified by the camera's padding.
Size of the viewport. If not specified, the value of ICamera::size() is used.