public class GLDogHouse extends AbstractGLMapItem2 implements Doghouse.DoghouseChangeListener
GLMapItem2.OnBoundsChangedListener, GLMapItem2.OnVisibleChangedListenerbounds, clickable, context, DEFAULT_MAX_ALT, DEFAULT_MIN_ALT, minMapGsd, renderPass, subject, visible, zOrder| Constructor and Description |
|---|
GLDogHouse(MapRenderer surface,
Doghouse dh) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(GLMapView ortho,
int renderPass) |
protected HitTestResult |
hitTestImpl(MapRenderer3 renderer,
HitTestQueryParameters params)
Perform a hit test on this map item
Sub-classes should override this method for hit-testing
|
void |
onDoghouseChanged(Doghouse doghouse) |
void |
onDoghouseRemoved(Doghouse doghouse) |
void |
release() |
void |
startObserving()
Start observing the subject.
|
void |
stopObserving()
Stops observing the subject.
|
addBoundsListener, addVisibleListener, dispatchOnBoundsChanged, dispatchOnVisibleChanged, forward, forward, forward, forward, forward, forward, forward, getBounds, getClampToGroundAtNadir, getClickable, getMinDrawResolution, getOpaque, getRenderPass, getSubject, getZOrder, hitTest, isVisible, markSurfaceDirty, onClickableChanged, onVisibleChanged, onZOrderChanged, removeBoundsListener, removeVisibleListener, runOnGLThread, setClampToGroundAtNadir, setOpaquepublic GLDogHouse(MapRenderer surface,
Doghouse dh)
public void draw(GLMapView ortho,
int renderPass)
public void startObserving()
GLMapItem2Invoking this method should generally refresh the state of the item.
This method may not be invoked on the GL context thread.
startObserving in interface GLMapItem2startObserving in class AbstractGLMapItem2public void stopObserving()
AbstractGLMapItem2AbstractGLMapItem2.startObserving().
This method may not be invoked on the GL context thread.
stopObserving in interface GLMapItem2stopObserving in class AbstractGLMapItem2public void release()
release in class AbstractGLMapItem2public void onDoghouseChanged(Doghouse doghouse)
onDoghouseChanged in interface Doghouse.DoghouseChangeListenerpublic void onDoghouseRemoved(Doghouse doghouse)
onDoghouseRemoved in interface Doghouse.DoghouseChangeListenerprotected HitTestResult hitTestImpl(MapRenderer3 renderer,
HitTestQueryParameters params)
AbstractGLMapItem2hitTestImpl in class AbstractGLMapItem2renderer - Map rendererparams - Query parameters