public static interface

AmazonMap.OnMarkerDragListener

com.amazon.geo.mapsv2.AmazonMap.OnMarkerDragListener

Class Overview

Interface for receiving callbacks when the user drags a marker. Callbacks always occur on the main thread. Use getPosition() to get the current location of the Marker.

Note draggable markers are not currently supported in the Amazon Maps API, so this listener is never called.

Summary

Public Methods
abstract void onMarkerDrag(Marker marker)
Called each time the marker moves while it is being dragged.
abstract void onMarkerDragEnd(Marker marker)
Called once the user releases the marker.
abstract void onMarkerDragStart(Marker marker)
Called when the user begins dragging a marker.

Public Methods

public abstract void onMarkerDrag (Marker marker)

Called each time the marker moves while it is being dragged.

Parameters
marker The Marker that is being dragged.

public abstract void onMarkerDragEnd (Marker marker)

Called once the user releases the marker.

Parameters
marker The Marker that the user dragged and released.

public abstract void onMarkerDragStart (Marker marker)

Called when the user begins dragging a marker.

Parameters
marker The Marker the user begins dragging.