MKMapView.UserTrackingMode Property
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.
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>