blob: 1950e9a5f0d05249792321b01ff03e0d64d2ccd5 (
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
|
package cgeo.geocaching.mapinterfaces;
import android.app.Activity;
import android.content.Context;
import cgeo.geocaching.cgCoord;
import cgeo.geocaching.cgUser;
/**
* Defines functions of a factory class to get implementation specific objects
* (GeoPoints, OverlayItems, ...)
* @author rsudev
*
*/
public interface MapFactory {
public Class<?extends Activity> getMapClass();
public int getMapViewId();
public int getMapLayoutId();
public GeoPointImpl getGeoPointBase(int latE6, int lonE6);
// public OverlayImpl getOverlayBaseWrapper(OverlayBase ovlIn);
CacheOverlayItemImpl getCacheOverlayItem(cgCoord coordinate, String type);
public UserOverlayItemImpl getUserOverlayItemBase(Context context,
cgUser userOne);
}
|