package com.mapbox.mapboxsdk.overlay; import com.mapbox.mapboxsdk.api.ILatLng; /** * Interface for objects that need to handle map events thrown by a MapEventsOverlay. * * @author M.Kergall * @see com.mapbox.mapboxsdk.overlay.MapEventsOverlay */ public interface MapEventsReceiver { /** * @param p the position where the event occurred. * @return true if the event has been "consumed" and should not be handled by other objects. */ boolean singleTapUpHelper(ILatLng p); /** * @param p the position where the event occurred. * @return true if the event has been "consumed" and should not be handled by other objects. */ boolean longPressHelper(ILatLng p); }