Enum Class MapFragment.MapMode

java.lang.Object
java.lang.Enum<MapFragment.MapMode>
com.mapfactor.sdk.map.MapFragment.MapMode
All Implemented Interfaces:
Serializable, Comparable<MapFragment.MapMode>, Constable
Enclosing class:
MapFragment

public static enum MapFragment.MapMode extends Enum<MapFragment.MapMode>
Map modes
Since:
1.0
  • Enum Constant Details

    • NORTH_UP

      public static final MapFragment.MapMode NORTH_UP
      Available when not navigating. North up, not centered to current GPS position.
      Since:
      1.0
    • NORTH_UP_CENTER

      public static final MapFragment.MapMode NORTH_UP_CENTER
      Available when not navigating. North up, centered to current GPS position.
      Since:
      1.0
    • ROTATE

      public static final MapFragment.MapMode ROTATE
      Available when not navigating. Current direction up, not centered to current GPS position.
      Since:
      1.0
    • ROTATE_CENTER

      public static final MapFragment.MapMode ROTATE_CENTER
      Available when not navigating. Current direction up, centered to current GPS position.
      Since:
      1.0
    • DRIVER_VIEW

      public static final MapFragment.MapMode DRIVER_VIEW
      Available while navigating. View from current map position ahead in the direction of the route.
      Since:
      1.0
    • LOCAL_VIEW

      public static final MapFragment.MapMode LOCAL_VIEW
      Available while navigating. 2D view in the vicinity of current GPS position.
      Since:
      1.0
    • ROUTE_OVERVIEW

      public static final MapFragment.MapMode ROUTE_OVERVIEW
      Available while navigating. 2D view on whole route.
      Since:
      1.0
    • NEXT_MANEUVER

      public static final MapFragment.MapMode NEXT_MANEUVER
      Available while navigating. 2D view on next maneuver.
      Since:
      1.0
  • Method Details

    • values

      public static MapFragment.MapMode[] 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

      public static MapFragment.MapMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null