MapKit.MKMapView.UserTrackingMode Property
Specifies if and how the map should track the application user's position.

Syntax

[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
[get: Foundation.Export("userTrackingMode")]
[get: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
[set: Foundation.Export("setUserTrackingMode:")]
[set: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual MKUserTrackingMode UserTrackingMode { get; set; }

See Also

UIKit.MKMapView.SetUserTrackingMode

Value

The default value is MKUserTrackingMode.None.

Remarks

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

Requirements

Namespace: MapKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0