public class ResectionMapManager extends java.lang.Object implements MapGroup.OnItemListChangedListener, PointMapItem.OnPointChangedListener, MapItem.OnMetadataChangedListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LANDMARK_PREFIX |
Constructor and Description |
---|
ResectionMapManager(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
Marker |
addLandmark(GeoPoint point) |
void |
createInterMarker()
Method to create an intermarker as the product of resectioning.
|
void |
dispose() |
GeoPoint |
getIntersectionPoint()
Calculate intersection point between all landmarks
|
java.util.List<Marker> |
getLandmarks() |
void |
onItemAdded(MapItem item,
MapGroup group) |
void |
onItemRemoved(MapItem item,
MapGroup group) |
void |
onMetadataChanged(MapItem item,
java.lang.String field) |
void |
onPointChanged(PointMapItem pmi) |
void |
setAdapter(android.widget.BaseAdapter adapter) |
public static final java.lang.String LANDMARK_PREFIX
public ResectionMapManager(MapView mapView)
public void setAdapter(android.widget.BaseAdapter adapter)
public void dispose()
public Marker addLandmark(GeoPoint point)
public java.util.List<Marker> getLandmarks()
public void onItemAdded(MapItem item, MapGroup group)
onItemAdded
in interface MapGroup.OnItemListChangedListener
public void onItemRemoved(MapItem item, MapGroup group)
onItemRemoved
in interface MapGroup.OnItemListChangedListener
public void onPointChanged(PointMapItem pmi)
onPointChanged
in interface PointMapItem.OnPointChangedListener
public void onMetadataChanged(MapItem item, java.lang.String field)
onMetadataChanged
in interface MapItem.OnMetadataChangedListener
public void createInterMarker()
public GeoPoint getIntersectionPoint()