setCenterCoordinate$3 method

void setCenterCoordinate$3(
  1. CLLocationCoordinate2D centerCoordinate$1, {
  2. required double zoomLevel,
  3. required double direction,
  4. required bool animated,
  5. ObjCBlock<Void Function()>? completionHandler,
})

Changes the center coordinate, zoom level, and direction of the map, calling a completion handler at the end of an optional animation. For animated changes, wait until the map view has finished loading before calling this method.

@param centerCoordinate The new center coordinate for the map. @param zoomLevel The new zoom level for the map. @param direction The new direction for the map, measured in degrees relative to true north. A negative value leaves the map’s direction unchanged. @param animated Specify YES if you want the map view to animate scrolling, zooming, and rotating to the new location or NO if you want the map to display the new location immediately. @param completion The block executed after the animation finishes.

Note: The behavior of this method is undefined if called in response to UIApplicationWillTerminateNotification.

Implementation

void setCenterCoordinate$3(CLLocationCoordinate2D centerCoordinate$1, {required double zoomLevel,required double direction,required bool animated,objc.ObjCBlock<ffi.Void Function()>? completionHandler}) {
_objc_msgSend_d9pvdp(this.ref.pointer, _sel_setCenterCoordinate_zoomLevel_direction_animated_completionHandler_, centerCoordinate$1, zoomLevel, direction, animated, completionHandler?.ref.pointer ?? ffi.nullptr);

}