setCenterCoordinate$1 method

void setCenterCoordinate$1(
  1. CLLocationCoordinate2D centerCoordinate$1, {
  2. required double zoomLevel,
  3. required bool animated,
})

Changes the center coordinate and zoom level of the map and optionally animates the change. 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 animated Specify YES if you want the map view to animate scrolling and zooming to the new location or NO if you want the map to display the new location immediately.

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

Implementation

void setCenterCoordinate$1(CLLocationCoordinate2D centerCoordinate$1, {required double zoomLevel,required bool animated}) {
_objc_msgSend_sbs4d5(this.ref.pointer, _sel_setCenterCoordinate_zoomLevel_animated_, centerCoordinate$1, zoomLevel, animated);

}