Modifica

Condividi tramite


MKMapView.SetCenterCoordinate(CLLocationCoordinate2D, Boolean) Method

Definition

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

Applies to