public final enum

PanningMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.carto.components.PanningMode

Class Overview

Possible panning modes for dual touch user input.

Summary

Enum Values
PanningMode  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. 
PanningMode  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. 
PanningMode  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. 
Public Methods
static PanningMode swigToEnum(int swigValue)
final int swigValue()
static PanningMode valueOf(String name)
final static PanningMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PanningMode 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.

public static final PanningMode 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

public static final PanningMode 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.

Public Methods

public static PanningMode swigToEnum (int swigValue)

public final int swigValue ()

public static PanningMode valueOf (String name)

public static final PanningMode[] values ()