Enum LocationDisplayAutoPanMode
An enumeration of the various modes that define how the GeoView viewpoint reacts to location changes.
Namespace: Esri.ArcGISRuntime.UI
Assembly: Esri.ArcGISRuntime.dll
Syntax
public enum LocationDisplayAutoPanMode
Remarks
If the visible map extent is changed by the user navigating the map interactively, or by a programmatic navigation method, this will cause AutoPanMode to be reset to Off. However, if the user double-taps or pinches to zoom the map only, the AutoPanMode remains as Navigation while the map is zoomed in or out, allowing users to easily zoom the map while in this mode.
Fields
Name | Description |
---|---|
CompassNavigation | Centers the map view at the current location, rotates the map view to align with the direction in which the device is currently, and shows the location symbol. When the current location or position of the device changes, the map view is automatically panned and rotated to maintain this position, thus if the device is spun in a circle, the map view stays aligned with the real world. |
Navigation | Pans the map view so that the current location symbol is shown near the bottom of the map view, and rotates the map view to align it with the direction of travel. When the current location or direction of travel changes the map view is automatically panned and rotated to maintain this position. To use this mode effectively, the device location must be moving at a speed greater than 0 meters per second. The behavior is affected by the navigation point height factor. |
Off | Displays the location symbol at the current location without adjusting the map view's extent, so no auto-panning is performed. The location symbol may move off screen. |
Recenter | Centers the map view at the current location, and shows the location symbol. When the current location changes, the map view is automatically panned to re-center at the new location. The behavior is affected by the wander extent factor. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |