aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/maps/interfaces/ItemizedOverlayImpl.java
blob: 90c5b316f85083949fe289f40a4623f15011b04a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package cgeo.geocaching.maps.interfaces;

import cgeo.geocaching.maps.AbstractItemizedOverlay;

import android.graphics.Canvas;
import android.graphics.Point;
import android.graphics.drawable.Drawable;

/**
 * Defines the common functions to access the provider-specific
 * ItemizedOverlay implementation
 */
public interface ItemizedOverlayImpl extends OverlayImpl {

    AbstractItemizedOverlay getBase();

    void superPopulate();

    void superSetLastFocusedItemIndex(int i);

    Drawable superBoundCenter(Drawable markerIn);

    Drawable superBoundCenterBottom(Drawable marker);

    boolean superOnTap(int index);

    void superDraw(Canvas canvas, MapViewImpl mapView, boolean shadow);

    void superDrawOverlayBitmap(Canvas canvas, Point drawPosition, MapProjectionImpl projection,
            byte drawZoomLevel);

}