flyToCamera$1 method
void
flyToCamera$1(
- MLNMapCamera camera$1, {
- required double withDuration,
- ObjCBlock<
Void Function()> ? completionHandler,
Moves the viewpoint to a different location using a transition animation that evokes powered flight and an optional transition duration.
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 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$1(MLNMapCamera camera$1, {required double withDuration,objc.ObjCBlock<ffi.Void Function()>? completionHandler}) {
_objc_msgSend_a85mgj(this.ref.pointer, _sel_flyToCamera_withDuration_completionHandler_, camera$1.ref.pointer, withDuration, completionHandler?.ref.pointer ?? ffi.nullptr);
}