aboutsummaryrefslogtreecommitdiffstats
path: root/src/cgeo/geocaching/mapinterfaces/ItemizedOverlayImpl.java
blob: 73eed1f28c24a09a0873b76de4bafd568366c45e (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
33
package cgeo.geocaching.mapinterfaces;

import cgeo.geocaching.mapcommon.ItemizedOverlayBase;
import android.graphics.Canvas;
import android.graphics.Point;
import android.graphics.drawable.Drawable;

/**
 * Defines the common functions to access the provider-specific
 * ItemizedOverlay implementation
 * @author rsudev
 *
 */
public interface ItemizedOverlayImpl {

	ItemizedOverlayBase 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);

}