calcPositionForObjects function

CameraPosition calcPositionForObjects(
  1. BaseCamera camera,
  2. List<SimpleMapObject> objects,
  3. StyleZoomToTiltRelation? styleZoomToTiltRelation,
  4. Padding? screenArea,
  5. Tilt? tilt,
  6. Bearing? bearing,
  7. ScreenSize? size,
)

Implementation

CameraPosition calcPositionForObjects(
  BaseCamera camera,
  List<SimpleMapObject> objects,
  StyleZoomToTiltRelation? styleZoomToTiltRelation,
  Padding? screenArea,
  Tilt? tilt,
  Bearing? bearing,
  ScreenSize? size
){
  var _a0 = camera._copyFromDartTo_CBaseCamera();
  var _a1 = objects._copyFromDartTo_CArray_CSimpleMapObject();
  var _a2 = styleZoomToTiltRelation._copyFromDartTo_COptional_CStyleZoomToTiltRelation();
  var _a3 = screenArea._copyFromDartTo_COptional_CPadding();
  var _a4 = tilt._copyFromDartTo_COptional_CTilt();
  var _a5 = bearing._copyFromDartTo_COptional_CBearing();
  var _a6 = size._copyFromDartTo_COptional_CScreenSize();
  _CCameraPosition res = _CFunction_G_calcPositionForObjects_With_CBaseCamera_CArray_CSimpleMapObject_COptional_CStyleZoomToTiltRelation_COptional_CPadding_COptional_CTilt_COptional_CBearing_COptional_CScreenSize(_a0, _a1, _a2, _a3, _a4, _a5, _a6);
  _a2._releaseIntermediate();
  _a1._releaseIntermediate();
  _a0._releaseIntermediate();
  return res._toDart();
}