public static final enum

LocationDisplayManager.AutoPanMode

extends Enum<LocationDisplayManager.AutoPanMode>
java.lang.Object
   ↳ java.lang.Enum<com.esri.android.map.LocationDisplayManager.AutoPanMode>
     ↳ com.esri.android.map.LocationDisplayManager.AutoPanMode

Class Overview

Modes of automatically panning the map to center on the current location. AutoPan supports different modes depending on the desired behavior. The default is OFF. If the visible map extent is changed by other manual interaction or programmatic calls this will cause AutoPanMode to be reset to OFF, for example if the user zooms or pans the map, or the MapView setExtent method is called.

Summary

Enum Values
LocationDisplayManager.AutoPanMode  COMPASS  Centers the map at the current location, rotates the map to align with the direction in which the device is currently, and shows the location symbol. 
LocationDisplayManager.AutoPanMode  LOCATION  Centers the map at the current location, and shows the location symbol. 
LocationDisplayManager.AutoPanMode  NAVIGATION  Pans the map so that the current location symbol is shown near the bottom of the map, and rotates the map to align it with the direction of travel. 
LocationDisplayManager.AutoPanMode  OFF  The location symbol is shown at the current location but the map extent is unaffected, no auto-panning is performed. 
Public Methods
int getValue()
static LocationDisplayManager.AutoPanMode valueOf(String name)
static final AutoPanMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final LocationDisplayManager.AutoPanMode COMPASS

Centers the map at the current location, rotates the map 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 is automatically panned and rotated to maintain this position, thus if the device is spun in a circle, the map stays aligned with the real world.

public static final LocationDisplayManager.AutoPanMode LOCATION

Centers the map at the current location, and shows the location symbol. When the current location changes, the map is automatically panned to re-center at the new location. Behaviour is affected by the getWanderExtentFactor().

public static final LocationDisplayManager.AutoPanMode NAVIGATION

Pans the map so that the current location symbol is shown near the bottom of the map, and rotates the map to align it with the direction of travel. When the current location or direction of travel changes the map 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. Behaviour is affected by the getNavigationPointHeightFactor().

public static final LocationDisplayManager.AutoPanMode OFF

The location symbol is shown at the current location but the map extent is unaffected, no auto-panning is performed. This is the default mode of the LocationDisplayManager.

Public Methods

public int getValue ()

Returns
int

public static LocationDisplayManager.AutoPanMode valueOf (String name)

Parameters
name String
Returns
LocationDisplayManager.AutoPanMode

public static final AutoPanMode[] values ()

Returns
AutoPanMode[]