zoomOutToFitForObjects function

CameraPosition zoomOutToFitForObjects(
  1. BaseCamera camera,
  2. List<SimpleMapObject> objects, [
  3. StyleZoomToTiltRelation? styleZoomToTiltRelation = null,
  4. ScreenSize? size = null,
])

Implementation

CameraPosition zoomOutToFitForObjects(
  BaseCamera camera,
  List<SimpleMapObject> objects,
  [StyleZoomToTiltRelation? styleZoomToTiltRelation = null,
  ScreenSize? size = null
  ]){
  var _a0 = camera._copyFromDartTo_CBaseCamera();
  var _a1 = objects._copyFromDartTo_CArray_CSimpleMapObject();
  var _a2 = styleZoomToTiltRelation._copyFromDartTo_COptional_CStyleZoomToTiltRelation();
  var _a3 = size._copyFromDartTo_COptional_CScreenSize();
  _CCameraPosition res = _CFunction_G_zoomOutToFitForObjects_With_CBaseCamera_CArray_CSimpleMapObject_COptional_CStyleZoomToTiltRelation_COptional_CScreenSize(_a0, _a1, _a2, _a3);
  _a2._releaseIntermediate();
  _a1._releaseIntermediate();
  _a0._releaseIntermediate();
  return res._toDart();
}