public class DragMarkerHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Marker |
createDragMarker() |
void |
endDrag()
This will stop the dragging of a marker.
|
static DragMarkerHelper |
getInstance() |
void |
hideWidget()
Hide the reticle widget
|
void |
startDrag(Marker m,
MapEventDispatcher.MapEventDispatchListener dropEvent)
This method will start all of the mechanics of dragging a marker.
|
void |
updateWidget(MapItem mi)
Update the reticle widget's target marker
|
public static DragMarkerHelper getInstance()
public static Marker createDragMarker()
public void updateWidget(MapItem mi)
mi
- Markerpublic void hideWidget()
public void startDrag(Marker m, MapEventDispatcher.MapEventDispatchListener dropEvent)
public void endDrag()