Skip to content

class PickListener

PavelTychinin edited this page Dec 22, 2021 · 6 revisions

Interface for a callback to receive the picked MapObjects, triggered after a call to {@link MapController#pickMarker(float, float)}. The listener is set with {@link MapController#setMarkerPickListener(MarkerPickListener)}. The callback will be run on the main (UI) thread and is performed in the same order as {@link MapController#pickMarker(float, float)} was called.

Referenced from: LocationView.

Public methods

Functions setPosition / setPositionAnimated

public abstract class PickListener {
    public PickListener() {}
    public abstract void onMapObjectPickComplete(MapObjectPickResult res, Point point);
}

Clone this wiki locally