Package world.mappable.mapkit.map
Interface MapObjectDragListener
interface MapObjectDragListener
This listener is notified when a map object is being dragged.
Note that the map object's "draggable" property needs to be set to True in order to activate dragging. A long tap on a map object activates dragging mode.
Summary
Methods
Type and modifiers |
Method and Description |
void |
onMapObjectDragStart(@NonNull MapObject mapObject) |
void |
onMapObjectDrag(@NonNull MapObject mapObject, |
void |
onMapObjectDragEnd(@NonNull MapObject mapObject) |
Methods
onMapObjectDragStart
@UiThread |
Raised when dragging mode is active for the given map object.
onMapObjectDrag
@UiThread |
Raised when the user is moving a finger and the map object follows it.
onMapObjectDragEnd
@UiThread |
Raised when the user released the tap.