Enum MapTrackingMode

  • All Implemented Interfaces:

    
    public enum MapTrackingMode
    
                        

    Modes can be used on map to ensure multiple kinds of map displays

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NOT_AVAILABLE

      Mode where no location information is available

      NO_TRACKING

      Mode where user can navigate through whole map freely

      LOCATION_TRACKING

      Mode where user can navigate through map but focuses current position if touch interaction will be idle for some period of time

      LOCATION_TRACKING_WITH_ROTATION

      Mode where pin will be focused and no navigation will be allowed

      PATH_TRACKING

      Map rotates based on current path, ensuring path is always facing up

      OUTDOOR_PATH_TRACKING

      Map rotates based on current path, ensuring path is always facing up

    • Method Summary

      Modifier and Type Method Description
      int getVisibleNameResourceId() Gets visible name resource id.
      static Array<MapTrackingMode> values() Returns an array containing the constants of this enum type, in the order they're declared.
      static MapTrackingMode valueOf(String name) Returns the enum constant of this type with the specified name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getVisibleNameResourceId

         int getVisibleNameResourceId()

        Gets visible name resource id.

        Returns:

        the visible name resource id

      • values

         static Array<MapTrackingMode> values()

        Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

        Returns:

        an array containing the constants of this enum type, in the order they're declared

      • valueOf

         static MapTrackingMode valueOf(String name)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

        Returns:

        the enum constant with the specified name