ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping.DeviceLocation Namespace / MapDeviceLocationService Class
Properties Methods


In This Topic
    MapDeviceLocationService Class Members
    In This Topic

    The following tables list the members exposed by MapDeviceLocationService.

    Public Properties
     NameDescription
    Public Propertystatic (Shared in Visual Basic) Gets the singleton IMapDeviceLocationService instance.  
    Public Property Determines the enabled state of the current DeviceLocationSource.  
    Top
    Public Methods
     NameDescription
    Public Method Gets the MapDeviceLocationOptions currently used by the MapDeviceLocationService.  
    Public MethodEnables (or disables) the current DeviceLocationSource. Use ArcGIS.Desktop.Core.DeviceLocation.IDeviceLocationService.Open prior to enabling the DeviceLocationSource. This method must be called on the MCT. Use QueuedTask.Run.  
    Public MethodSets a MapDeviceLocationOptions to update the current MapDeviceLocationService settings. This method must be called on the MCT. Use QueuedTask.Run. Use QueuedTask.Run.  
    Public Method Zooms or pans the active map view to the current location, keeping the current device location at the center. This method must be called on the MCT. Use QueuedTask.Run.  
    Top
    See Also