ArcGIS Pro 2.8 API Reference Guide
MapDeviceLocationService Class Methods


ArcGIS.Desktop.Mapping.DeviceLocation Namespace : MapDeviceLocationService Class

For a list of all members of this type, see MapDeviceLocationService members.

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