Class PanningMode

java.lang.Object
com.massifmaps.components.PanningMode

public final class PanningMode extends Object
Possible panning modes for dual touch user input.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    The accepted values of this constant namespace.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Free panning means that the map panning is unrestricted, user is able to zoom, rotate and
    pan the map at the same time without any artificial limits.
    static final int
    Sticky panning means that the map panning is restricted, user is able to freely pan the map,
    but zooming and rotating gestures can't be performed at the same time.
    static final int
    Final sticky panning means that the map panning is restricted, user is able to freely pan the map,
    but zooming and rotating gestures can't be performed at the same time.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • PANNING_MODE_FREE

      public static final int PANNING_MODE_FREE
      Free panning means that the map panning is unrestricted, user is able to zoom, rotate and
      pan the map at the same time without any artificial limits.
      See Also:
    • PANNING_MODE_STICKY

      public static final int PANNING_MODE_STICKY
      Sticky panning means that the map panning is restricted, user is able to freely pan the map,
      but zooming and rotating gestures can't be performed at the same time. User is still able to
      switch between zooming and rotating the map but it takes a bit more effort compared to FREE panning.
      gesture is performed and
      See Also:
    • PANNING_MODE_STICKY_FINAL

      public static final int PANNING_MODE_STICKY_FINAL
      Final sticky panning means that the map panning is restricted, user is able to freely pan the map,
      but zooming and rotating gestures can't be performed at the same time. Once the gesture type is
      determined the user is stuck with either zooming or rotating. To switch the gesture the user has to lift
      at least one the two fingers off the screen.
      See Also:
  • Constructor Details

    • PanningMode

      public PanningMode()