public class GLCircleCrumb extends GLPointMapItem2 implements Crumb.OnCrumbColorChangedListener
GLMapItem2.OnBoundsChangedListener, GLMapItem2.OnVisibleChangedListener
altHae, altitude, altMode, latitude, localTerrainValue, longitude, point, terrainVersion
bounds, clickable, context, DEFAULT_MAX_ALT, DEFAULT_MIN_ALT, minMapGsd, renderPass, subject, visible, zOrder
Constructor and Description |
---|
GLCircleCrumb(MapRenderer surface,
Crumb subject) |
Modifier and Type | Method and Description |
---|---|
void |
batch(GLMapView view,
GLRenderBatch2 batch,
int renderPass) |
void |
draw(GLMapView ortho,
int renderPass) |
void |
onCrumbColorChanged(Crumb crumb) |
void |
onPointChanged(PointMapItem item) |
void |
startObserving()
Start observing the subject.
|
void |
stopObserving()
Stops observing the subject.
|
getAltitudeMode, getLollipopsVisible, onAltitudeModeChanged, setLollipopsVisible, updateBoundsZ, validateLocalElevation
addBoundsListener, addVisibleListener, dispatchOnBoundsChanged, dispatchOnVisibleChanged, forward, forward, forward, forward, forward, forward, forward, getBounds, getClampToGroundAtNadir, getClickable, getMinDrawResolution, getOpaque, getRenderPass, getSubject, getZOrder, hitTest, hitTestImpl, isVisible, markSurfaceDirty, onClickableChanged, onVisibleChanged, onZOrderChanged, release, removeBoundsListener, removeVisibleListener, runOnGLThread, setClampToGroundAtNadir, setOpaque
public GLCircleCrumb(MapRenderer surface, Crumb subject)
public void onCrumbColorChanged(Crumb crumb)
onCrumbColorChanged
in interface Crumb.OnCrumbColorChangedListener
public void draw(GLMapView ortho, int renderPass)
public void onPointChanged(PointMapItem item)
onPointChanged
in interface PointMapItem.OnPointChangedListener
onPointChanged
in class GLPointMapItem2
public void startObserving()
GLMapItem2
Invoking this method should generally refresh the state of the item.
This method may not be invoked on the GL context thread.
startObserving
in interface GLMapItem2
startObserving
in class GLPointMapItem2
public void stopObserving()
AbstractGLMapItem2
AbstractGLMapItem2.startObserving()
.
This method may not be invoked on the GL context thread.
stopObserving
in interface GLMapItem2
stopObserving
in class GLPointMapItem2
public void batch(GLMapView view, GLRenderBatch2 batch, int renderPass)