HERE Android SDK Developer's Guide

OnDragListener

The interface OnDragListener is a member of com.here.android.mpa.mapping.MapMarker.

Interface Summary

public static abstract interface MapMarker.OnDragListener

Callback interface for drag events on MapMarker objects.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in OnDragListener
Methods

public abstract void onMarkerDrag (MapMarker marker)

Called repeatedly while a marker is being dragged.

public abstract void onMarkerDragEnd (MapMarker marker)

Called when a marker has finished being dragged.

public abstract void onMarkerDragStart (MapMarker marker)

Called when a marker starts being dragged.

Interface Details

Callback interface for drag events on MapMarker objects.

Method Details

public abstract void onMarkerDrag (MapMarker marker)

Called repeatedly while a marker is being dragged. The MapMarker 's location can be accessed through getCoordinate().

Parameters:

  • marker

    The MapMarker that is being dragged.

public abstract void onMarkerDragEnd (MapMarker marker)

Called when a marker has finished being dragged. The MapMarker 's location can be accessed through getCoordinate().

Parameters:

  • marker

    The MapMarker that is being dragged.

public abstract void onMarkerDragStart (MapMarker marker)

Called when a marker starts being dragged. The MapMarker 's location can be accessed via getCoordinate(). This position may be different to the position prior to the start of the drag because the marker is popped up above the touch point.

Parameters:

  • marker

    The MapMarker that is being dragged.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.