public class GLRubberModelLayer extends <any> implements MapGroup.OnItemListChangedListener, GLMapItem2.OnVisibleChangedListener, GLMapItem2.OnBoundsChangedListener
Constructor and Description |
---|
GLRubberModelLayer(MapRenderer surface,
RubberModelLayer subject,
MapGroup group) |
Modifier and Type | Method and Description |
---|---|
protected GLRubberModel |
createGLModel(RubberModel mdl) |
protected java.util.Collection<GLMapRenderable2> |
createPendingData() |
java.util.Collection<?> |
getHitTestList() |
protected java.util.Collection<? extends GLMapRenderable2> |
getRenderList() |
int |
getRenderPass() |
boolean |
hitTest(float screenX,
float screenY,
GeoPoint result) |
void |
onBoundsChanged(GLMapItem2 item,
GeoBounds bounds) |
void |
onItemAdded(MapItem item,
MapGroup group) |
void |
onItemRemoved(MapItem item,
MapGroup group) |
void |
onVisibleChanged(GLMapItem2 item,
boolean visible) |
protected void |
query(ViewState state,
java.util.Collection<GLMapRenderable2> result) |
protected void |
register(RubberModel mdl) |
protected void |
releasePendingData(java.util.Collection<GLMapRenderable2> pendingData) |
protected void |
resetPendingData(java.util.Collection<GLMapRenderable2> pendingData) |
void |
start() |
void |
stop() |
protected void |
unregister(RubberModel mdl) |
protected boolean |
updateRenderList(ViewState state,
java.util.Collection<GLMapRenderable2> pendingData) |
public GLRubberModelLayer(MapRenderer surface, RubberModelLayer subject, MapGroup group)
public void start()
public void stop()
protected java.util.Collection<? extends GLMapRenderable2> getRenderList()
protected void resetPendingData(java.util.Collection<GLMapRenderable2> pendingData)
protected void releasePendingData(java.util.Collection<GLMapRenderable2> pendingData)
protected java.util.Collection<GLMapRenderable2> createPendingData()
protected boolean updateRenderList(ViewState state, java.util.Collection<GLMapRenderable2> pendingData)
protected void query(ViewState state, java.util.Collection<GLMapRenderable2> result)
public int getRenderPass()
protected void register(RubberModel mdl)
protected void unregister(RubberModel mdl)
protected GLRubberModel createGLModel(RubberModel mdl)
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 onVisibleChanged(GLMapItem2 item, boolean visible)
onVisibleChanged
in interface GLMapItem2.OnVisibleChangedListener
public void onBoundsChanged(GLMapItem2 item, GeoBounds bounds)
onBoundsChanged
in interface GLMapItem2.OnBoundsChangedListener
public java.util.Collection<?> getHitTestList()
public boolean hitTest(float screenX, float screenY, GeoPoint result)