flyToCamera$3 method

void flyToCamera$3(
  1. MLNMapCamera camera$1, {
  2. required UIEdgeInsets edgePadding,
  3. required double withDuration,
  4. ObjCBlock<Void Function()>? completionHandler,
})

Moves the viewpoint to a different location using a transition animation that evokes powered flight.

The transition animation seamlessly incorporates zooming and panning to help the user find his or her bearings even after traversing a great distance.

@param camera The new viewpoint. @param insets The minimum padding (in screen points) that would be visible around the returned camera object if it were set as the receiver's camera. @param duration The amount of time, measured in seconds, that the transition animation should take. Specify 0 to jump to the new viewpoint instantaneously. Specify a negative value to use the default duration, which is based on the length of the flight path. @param completion The block to execute after the animation finishes.

Implementation

void flyToCamera$3(MLNMapCamera camera$1, {required UIEdgeInsets edgePadding,required double withDuration,objc.ObjCBlock<ffi.Void Function()>? completionHandler}) {
_objc_msgSend_s17tgr(this.ref.pointer, _sel_flyToCamera_edgePadding_withDuration_completionHandler_, camera$1.ref.pointer, edgePadding, withDuration, completionHandler?.ref.pointer ?? ffi.nullptr);

}