public func zoomOutToFit(
camera: BaseCamera,
objects: [SimpleMapObject],
styleZoomToTiltRelation: StyleZoomToTiltRelation? = nil,
size: ScreenSize? = nil
) -> CameraPosition
Parameters
camera
BaseCamera
Camera used for position calculation.
objects
SimpleMapObject[]
Map objects that must be embedded into the screen area defined by internal camera paddings.
styleZoomToTiltRelation
StyleZoomToTiltRelation?
Dependence function of the camera tilt angle on the style zoom level.
size
ScreenSize?
Size of the view area. If not specified, the ICamera::size() value is used.
Returns