Package com.massifmaps.ui
Class MapMoveReason
java.lang.Object
com.massifmaps.ui.MapMoveReason
What caused a camera change. Carried by every camera event, so an app can tell its own
moves from the user's without watching touches itself.
moves from the user's without watching touches itself.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceThe accepted values of this constant namespace. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAn animation the SDK is stepping - a flight, or a move given a duration.static final intThe app, through a call that took effect immediately: setFocusPos, setZoom,
an option change that moved the camera.static final intThe user, directly: a gesture, a mouse wheel, or the inertia that follows one. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MAP_MOVE_REASON_GESTURE
public static final int MAP_MOVE_REASON_GESTUREThe user, directly: a gesture, a mouse wheel, or the inertia that follows one.- See Also:
-
MAP_MOVE_REASON_ANIMATION
public static final int MAP_MOVE_REASON_ANIMATIONAn animation the SDK is stepping - a flight, or a move given a duration. The call
that started it reported the reason it was made with; every frame after that is
this one.- See Also:
-
MAP_MOVE_REASON_API
public static final int MAP_MOVE_REASON_APIThe app, through a call that took effect immediately: setFocusPos, setZoom,
an option change that moved the camera.- See Also:
-
-
Constructor Details
-
MapMoveReason
public MapMoveReason()
-