Modifier

Partager via


MKMapView.UserTrackingMode Property

Definition

Specifies if and how the map should track the application user's position.

public virtual MapKit.MKUserTrackingMode UserTrackingMode { [Foundation.Export("userTrackingMode")] get; [Foundation.Export("setUserTrackingMode:")] set; }
member this.UserTrackingMode : MapKit.MKUserTrackingMode with get, set

Property Value

The default value is None.

Attributes

Remarks

Setting this property to either Follow or FollowWithHeading causes the MKMapView to begin centering and zooming the map to the application user's location.

Applies to

See also

  • <xref:UIKit.MKMapView.SetUserTrackingMode>