ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Desktop.Mapping.DeviceLocation Namespace / MapDeviceLocationService Class / IsDeviceLocationEnabled Property

In This Topic
    IsDeviceLocationEnabled Property (MapDeviceLocationService)
    In This Topic
    Determines the enabled state of the current DeviceLocationSource.
    Syntax
    public bool IsDeviceLocationEnabled {get;}
    Public ReadOnly Property IsDeviceLocationEnabled As Boolean
    Remarks
    If there is no active map view the property will return false.

    If there is no current DeviceLocationSource the property will return false.

    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also