public class GLAttachmentBillboardLayer extends java.lang.Object implements AttachmentWatcher.Listener, MapItem.OnGroupChangedListener, MapItem.OnVisibleChangedListener, MapItem.OnHeightChangedListener, PointMapItem.OnPointChangedListener, MapEventDispatcher.MapEventDispatchListener
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<com.atakmap.android.attachment.layer.GLAttachmentBillboardLayer.AttachmentThumb> |
SORT_Z |
static GLLayerSpi2 |
SPI |
Constructor and Description |
---|
GLAttachmentBillboardLayer(MapRenderer renderer,
AttachmentBillboardLayer layer) |
Modifier and Type | Method and Description |
---|---|
void |
draw(GLMapView view) |
void |
draw(GLMapView view,
int renderPass) |
int |
getRenderPass() |
Layer |
getSubject() |
void |
onAttachmentAdded(java.io.File attFile)
An attachment has been added
|
void |
onAttachmentRemoved(java.io.File attFile)
An attachment has been removed
|
void |
onHeightChanged(MapItem item) |
void |
onItemAdded(MapItem item,
MapGroup group) |
void |
onItemRemoved(MapItem item,
MapGroup group) |
void |
onLayerVisibleChanged(Layer layer) |
void |
onMapEvent(MapEvent event) |
void |
onPointChanged(PointMapItem item) |
void |
onVisibleChanged(MapItem item) |
void |
release() |
void |
start() |
void |
stop() |
public static final GLLayerSpi2 SPI
public static final java.util.Comparator<com.atakmap.android.attachment.layer.GLAttachmentBillboardLayer.AttachmentThumb> SORT_Z
public GLAttachmentBillboardLayer(MapRenderer renderer, AttachmentBillboardLayer layer)
public void onLayerVisibleChanged(Layer layer)
public void start()
public void stop()
public Layer getSubject()
public void draw(GLMapView view)
public void draw(GLMapView view, int renderPass)
public int getRenderPass()
public void release()
public void onAttachmentAdded(java.io.File attFile)
AttachmentWatcher.Listener
onAttachmentAdded
in interface AttachmentWatcher.Listener
attFile
- Attachment filepublic void onAttachmentRemoved(java.io.File attFile)
AttachmentWatcher.Listener
onAttachmentRemoved
in interface AttachmentWatcher.Listener
attFile
- Attachment filepublic void onMapEvent(MapEvent event)
onMapEvent
in interface MapEventDispatcher.MapEventDispatchListener
public void onItemAdded(MapItem item, MapGroup group)
onItemAdded
in interface MapItem.OnGroupChangedListener
public void onItemRemoved(MapItem item, MapGroup group)
onItemRemoved
in interface MapItem.OnGroupChangedListener
public void onVisibleChanged(MapItem item)
onVisibleChanged
in interface MapItem.OnVisibleChangedListener
public void onHeightChanged(MapItem item)
onHeightChanged
in interface MapItem.OnHeightChangedListener
public void onPointChanged(PointMapItem item)
onPointChanged
in interface PointMapItem.OnPointChangedListener