public final class GesturesDetectionSettings
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static com.tomtom.online.sdk.common.location.BoundingBox |
DEFAULT_BOUNDING_BOX
Deprecated.
|
static double |
UNSPECIFIED_ZOOM_LEVEL
An unspecified zoom level which is used internally.
|
Modifier and Type | Method and Description |
---|---|
static GesturesDetectionSettings |
createDefault()
Creates the default settings for gestures detection.
|
com.tomtom.online.sdk.common.location.BoundingBox |
getMaxBounds()
Obtains the maximum bounds which can be set for the map view port.
|
double |
getMaxZoom()
Obtains the maximum zoom level which can be set for the map view port.
|
double |
getMinZoom()
Obtains the minimal zoom level which can be set for the map.
|
boolean |
isEventsInterceptingEnabled()
Specifies whether map events should be always propagated.
|
boolean |
isForceMinMaxZoom()
Specifies if the max and min zoom levels are used without any adjustments and restrictions.
|
boolean |
isPanningEnabled()
Specifies if the panning gestures are enabled.
|
boolean |
isRotationEnabled()
Specifies if the rotation gestures are enabled.
|
boolean |
isTiltEnabled()
Specifies if the tilt gestures are enabled.
|
boolean |
isZoomEnabled()
Specifies if the zooming gestures are enabled.
|
public static final double UNSPECIFIED_ZOOM_LEVEL
@Deprecated @DeprecatedSince(year=2019, month=9) public static final com.tomtom.online.sdk.common.location.BoundingBox DEFAULT_BOUNDING_BOX
GesturesDetectionSettings
with all gestures enabled.public boolean isRotationEnabled()
public boolean isZoomEnabled()
public boolean isPanningEnabled()
public double getMinZoom()
public double getMaxZoom()
public boolean isForceMinMaxZoom()
public boolean isTiltEnabled()
public boolean isEventsInterceptingEnabled()
@Nullable public com.tomtom.online.sdk.common.location.BoundingBox getMaxBounds()
public static GesturesDetectionSettings createDefault()