setCenterCoordinate$2 method
- CLLocationCoordinate2D centerCoordinate$1, {
- required double zoomLevel,
- required double direction,
- required bool animated,
Changes the center coordinate, zoom level, and direction 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 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.
Note: The behavior of this method is undefined if called in response to
UIApplicationWillTerminateNotification.
Implementation
void setCenterCoordinate$2(CLLocationCoordinate2D centerCoordinate$1, {required double zoomLevel,required double direction,required bool animated}) {
_objc_msgSend_3zczym(this.ref.pointer, _sel_setCenterCoordinate_zoomLevel_direction_animated_, centerCoordinate$1, zoomLevel, direction, animated);
}