Package 

Class FolderOverlay

    • Constructor Detail

      • FolderOverlay

        FolderOverlay()
    • Method Detail

      • draw

         void draw(Canvas pCanvas, MapView pMapView, boolean pShadow)

        Draw the overlay over the map. This will be called on all active overlays with shadow=true,to lay down the shadow layer, and then again on all overlays with shadow=false. Callersshould check isEnabled() before calling draw(). By default, draws nothing.

        changed for 5.6 to be public see https://github.com/osmdroid/osmdroid/issues/466If possible, use draw instead (cf. MapSnapshot

      • onSingleTapUp

         boolean onSingleTapUp(MotionEvent e, MapView mapView)

        By default does nothing ({@code return false}). If you handled the Event, return {@code true} , otherwise return {@code false}. If you returned {@code true} none of the following Overlaysor the underlying MapView has the chance to handle this event.

      • onSingleTapConfirmed

         boolean onSingleTapConfirmed(MotionEvent e, MapView mapView)

        By default does nothing ({@code return false}). If you handled the Event, return {@code true} , otherwise return {@code false}. If you returned {@code true} none of the following Overlaysor the underlying MapView has the chance to handle this event.

      • onLongPress

         boolean onLongPress(MotionEvent e, MapView mapView)

        By default does nothing ({@code return false}). If you handled the Event, return {@code true} , otherwise return {@code false}. If you returned {@code true} none of the following Overlaysor the underlying MapView has the chance to handle this event.

      • onTouchEvent

         boolean onTouchEvent(MotionEvent e, MapView mapView)

        You can prevent all(!) other Touch-related events from happening!By default does nothing ({@code return false}). If you handled the Event, return {@code true} , otherwise return {@code false}. If you returned {@code true} none of the following Overlaysor the underlying MapView has the chance to handle this event.

      • onDoubleTap

         boolean onDoubleTap(MotionEvent e, MapView mapView)

        By default does nothing ({@code return false}). If you handled the Event, return {@code true} , otherwise return {@code false}. If you returned {@code true} none of the following Overlaysor the underlying MapView has the chance to handle this event.

      • closeAllInfoWindows

         void closeAllInfoWindows()

        Close all opened InfoWindows of overlays it contains.This only operates on overlays that inherit from OverlayWithIW.

      • onDetach

         void onDetach(MapView mapView)

        Override to perform clean up of resources before shutdown. By default does nothing.