public class Crumb extends PointMapItem
Modifier and Type | Class and Description |
---|---|
static interface |
Crumb.OnCrumbColorChangedListener |
static interface |
Crumb.OnCrumbDirectionChangedListener |
static interface |
Crumb.OnCrumbDrawLineToSurfaceChangedListener |
static interface |
Crumb.OnCrumbSizeChangedListener |
PointMapItem.OnPointChangedListener
MapItem.OnAltitudeModeChangedListener, MapItem.OnClickableChangedListener, MapItem.OnGroupChangedListener, MapItem.OnHeightChangedListener, MapItem.OnMetadataChangedListener, MapItem.OnTypeChangedListener, MapItem.OnVisibleChangedListener, MapItem.OnZOrderChangedListener
Modifier and Type | Field and Description |
---|---|
float |
bearing |
int |
crumbDBID |
Crumb |
next |
Crumb |
prev |
float |
speed |
long |
timestamp |
int |
trackDBID |
POINT_DEFAULT
CLICKABLE_DEFAULT, EDITABLE_DEFAULT, EMPTY_TYPE, HIT_RATIO_DEFAULT, MOVABLE_DEFAULT, VISIBLE_DEFAULT, ZORDER_DEFAULT, ZORDER_HITTEST_COMPARATOR, ZORDER_RENDER_COMPARATOR
metadata
Constructor and Description |
---|
Crumb(GeoPoint point,
int color,
float dir,
java.lang.String uid) |
Crumb(GeoPoint point,
int color,
java.lang.String uid) |
Crumb(GeoPoint point,
java.lang.String uid) |
Crumb(long serialId,
MetaDataHolder metadata,
java.lang.String uid) |
addOnPointChangedListener, dispose, getCrumbTrail, getGeoPointMetaData, getPersistentCircleCrumbTrail, getPoint, getVolumeHeight, getVolumeRadius, onPointChanged, removeOnPointChangedListener, setCrumbTrail, setPersistentCircleCrumbTrail, setPoint, setPoint, setVolume
addOnAltitudeModeChangedListener, addOnClickableChangedListener, addOnGroupChangedListener, addOnHeightChangedListener, addOnMetadataChangedListener, addOnMetadataChangedListener, addOnTypeChangedListener, addOnVisibleChangedListener, addOnZOrderChangedListener, computeDistance, copyMetaData, createSerialId, getAltitudeMode, getClickable, getClickPoint, getEditable, getGroup, getHashtags, getHeight, getHitRadius, getIconColor, getIconDrawable, getMetaBoolean, getMetaString, getMovable, getRadialMenuPath, getRemarks, getRemarksKey, getSerialId, getTag, getTitle, getType, getUID, getUniqueMapItemName, getURI, getVisible, getVisible, getZOrder, isTouchable, notifyMetadataChanged, onAdded, onAltitudeModeChanged, onClickableChanged, onGroupChanged, onHeightChanged, onMetadataChanged, onRemoved, onTypeChanged, onVisibilityConditions, onVisibleChanged, onZOrderChanged, persist, refresh, removeFromGroup, removeMetaData, removeOnAltitudeModeChangedListener, removeOnClickableChangedListener, removeOnGroupChangedListener, removeOnHeightChangedListener, removeOnMetadataChangedListener, removeOnMetadataChangedListener, removeOnTypeChangedListener, removeOnVisibleChangedListener, removeOnZOrderChangedListener, setAltitudeMode, setClickable, setClickPoint, setEditable, setHashtags, setHeight, setMetaBoolean, setMetaData, setMetaDouble, setMetaIntArray, setMetaInteger, setMetaLong, setMetaMap, setMetaParcelable, setMetaSerializable, setMetaString, setMetaStringArrayList, setMovable, setRadialMenu, setRemarks, setTag, setTitle, setTouchable, setType, setVisible, setVisible, setZOrder, testOrthoHit
get, getMetaData, getMetaDouble, getMetaIntArray, getMetaInteger, getMetaLong, getMetaMap, getMetaParcelable, getMetaSerializable, getMetaStringArrayList, hasMetaValue, setMetaDataImpl, toggleMetaData
public long timestamp
public float speed
public float bearing
public int trackDBID
public int crumbDBID
public Crumb prev
public Crumb next
public Crumb(long serialId, MetaDataHolder metadata, java.lang.String uid)
public Crumb(GeoPoint point, java.lang.String uid)
public Crumb(GeoPoint point, int color, java.lang.String uid)
public Crumb(GeoPoint point, int color, float dir, java.lang.String uid)
public boolean getDrawLineToSurface()
public void setDrawLineToSurface(boolean drawLineToSurface)
drawLineToSurface
- true if the line should be drawn.public double getDirection()
public void setDirection(double ndir)
ndir
- Crumb direction in true degreespublic void setColor(int ncolor)
public void setSize(int s)
public int getSize()
public int getColor()
public java.lang.String toString()
MapItem
public void setTimestamp(long timestamp)
public long getTimestamp()
public void addCrumbColorListener(Crumb.OnCrumbColorChangedListener l)
public void removeCrumbColorListener(Crumb.OnCrumbColorChangedListener l)
public void addCrumbSizeListener(Crumb.OnCrumbSizeChangedListener l)
public void removeCrumbSizeListener(Crumb.OnCrumbSizeChangedListener l)
public void addCrumbDirectionListener(Crumb.OnCrumbDirectionChangedListener l)
public void removeCrumbDirectionListener(Crumb.OnCrumbDirectionChangedListener l)
public void addCrumbDrawLineToSurfaceListener(Crumb.OnCrumbDrawLineToSurfaceChangedListener l)
public void removeCrumbDrawLineToSurfaceListener(Crumb.OnCrumbDrawLineToSurfaceChangedListener l)