aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/maps/interfaces/GeneralOverlay.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/maps/interfaces/GeneralOverlay.java')
-rw-r--r--main/src/cgeo/geocaching/maps/interfaces/GeneralOverlay.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/maps/interfaces/GeneralOverlay.java b/main/src/cgeo/geocaching/maps/interfaces/GeneralOverlay.java
new file mode 100644
index 0000000..35d0b2d
--- /dev/null
+++ b/main/src/cgeo/geocaching/maps/interfaces/GeneralOverlay.java
@@ -0,0 +1,21 @@
+package cgeo.geocaching.maps.interfaces;
+
+import android.graphics.Canvas;
+import android.graphics.Point;
+
+/**
+ * Defines the base functions of the provider-independent
+ * Overlay implementations
+ *
+ * @author rsudev
+ *
+ */
+public interface GeneralOverlay {
+
+ void draw(Canvas canvas, MapViewImpl mapView, boolean shadow);
+
+ void drawOverlayBitmap(Canvas canvas, Point drawPosition,
+ MapProjectionImpl projection, byte drawZoomLevel);
+
+ OverlayImpl getOverlayImpl();
+}