public func zoomOutToFit(
camera: BaseCamera,
geometry: Geometry,
styleZoomToTiltRelation: StyleZoomToTiltRelation? = nil,
size: ScreenSize? = nil
) -> CameraPosition
Parameters
camera
BaseCamera
Camera used for position calculation.
geometry
Geometry
Geometry object to be embedded into the screen area defined by camera paddings.
styleZoomToTiltRelation
StyleZoomToTiltRelation?
Dependence function of the camera tilt angle on the style scaling level.
size
ScreenSize?
Size of the view area. If not specified, the ICamera::size() value is used.
Returns