ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping.DeviceLocation Namespace / MapDeviceLocationOptions Class / TrackUpNavigation Property
Example

In This Topic
    TrackUpNavigation Property
    In This Topic
    Gets and sets whether the heading of the location from the device points to the top of the screen.
    Syntax
    public bool TrackUpNavigation {get; set;}
    Public Property TrackUpNavigation As Boolean
    Remarks

    Zooming or pannig the map view interactively cancels this mode and sets it to MappingDeviceLocationNavigationMode.None

    By default, TrackupNavigation is set to False.

    Example
    Get Current Map Device Location Options
    var options = MapDeviceLocationService.Instance.GetDeviceLocationOptions();
    
    var visibility = options.DeviceLocationVisibility;
    var navMode = options.NavigationMode;
    var trackUp = options.TrackUpNavigation;
    var showBuffer = options.ShowAccuracyBuffer;
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also