ArcGIS Pro 2.7 API Reference Guide
MapDeviceLocationService Class Members
Properties  Methods 


ArcGIS.Desktop.Mapping.DeviceLocation Namespace : MapDeviceLocationService Class

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 Returns the MapDeviceLocationOptions currently being 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

Reference

MapDeviceLocationService Class
ArcGIS.Desktop.Mapping.DeviceLocation Namespace