MKMapView.SetCenterCoordinate(CLLocationCoordinate2D, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the map center. This method is asynchronous.
[Foundation.Export("setCenterCoordinate:animated:")]
public virtual void SetCenterCoordinate (CoreLocation.CLLocationCoordinate2D coordinate, bool animated);
abstract member SetCenterCoordinate : CoreLocation.CLLocationCoordinate2D * bool -> unit
override this.SetCenterCoordinate : CoreLocation.CLLocationCoordinate2D * bool -> unit
Parameters
- coordinate
- CLLocationCoordinate2D
The coordinate to center the map on.
- animated
- Boolean
A boolean indicating if the transition to the new center location should be animated.
- Attributes