ArcGIS Runtime SDK for iOS: AGSLocationDisplay.h File Reference
ArcGIS Runtime SDK for iOS  100.15
AGSLocationDisplay.h File Reference

Go to the source code of this file.

Enumerations

enum  AGSLocationDisplayAutoPanMode { AGSLocationDisplayAutoPanModeOff = 0 , AGSLocationDisplayAutoPanModeRecenter = 1 , AGSLocationDisplayAutoPanModeNavigation = 2 , AGSLocationDisplayAutoPanModeCompassNavigation = 3 }
 

Enumeration Type Documentation

◆ AGSLocationDisplayAutoPanMode

An enumeration of the various modes that define how the map view extent reacts to location changes.

Since
100.0
Enumerator
AGSLocationDisplayAutoPanModeOff 

Displays the location symbol at the current location but the map view extent is unaffected, no auto-panning is performed.

AGSLocationDisplayAutoPanModeRecenter 

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. Behavior is affected by the wander extent factor.

AGSLocationDisplayAutoPanModeNavigation 

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. Behavior is affected by the navigation point height factor.

AGSLocationDisplayAutoPanModeCompassNavigation 

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.