Package com.mapfactor.sdk.map
Enum Class MapFragment.MapMode
- All Implemented Interfaces:
Serializable
,Comparable<MapFragment.MapMode>
,Constable
- Enclosing class:
- MapFragment
Map modes
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAvailable while navigating.Available while navigating.Available while navigating.Available when not navigating.Available when not navigating.Available when not navigating.Available when not navigating.Available while navigating. -
Method Summary
Modifier and TypeMethodDescriptionstatic MapFragment.MapMode
Returns the enum constant of this class with the specified name.static MapFragment.MapMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORTH_UP
Available when not navigating. North up, not centered to current GPS position.- Since:
- 1.0
-
NORTH_UP_CENTER
Available when not navigating. North up, centered to current GPS position.- Since:
- 1.0
-
ROTATE
Available when not navigating. Current direction up, not centered to current GPS position.- Since:
- 1.0
-
ROTATE_CENTER
Available when not navigating. Current direction up, centered to current GPS position.- Since:
- 1.0
-
DRIVER_VIEW
Available while navigating. View from current map position ahead in the direction of the route.- Since:
- 1.0
-
LOCAL_VIEW
Available while navigating. 2D view in the vicinity of current GPS position.- Since:
- 1.0
-
ROUTE_OVERVIEW
Available while navigating. 2D view on whole route.- Since:
- 1.0
-
NEXT_MANEUVER
Available while navigating. 2D view on next maneuver.- Since:
- 1.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-