public class RasterLayerMapOverlay extends java.lang.Object implements MapOverlay
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
iconUri |
protected RasterLayer2 |
subject |
| Constructor and Description |
|---|
RasterLayerMapOverlay(RasterLayer2 subject) |
RasterLayerMapOverlay(RasterLayer2 subject,
java.lang.String iconUri) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIdentifier()
Returns the application unique identifier for the overlay.
|
HierarchyListItem |
getListModel(android.widget.BaseAdapter adapter,
long capabilities,
HierarchyListItem.Sort preferredSort)
Returns the model that may be used to build a UI to interact with the overlay.
|
java.lang.String |
getName()
Returns the name of the overlay.
|
DeepMapItemQuery |
getQueryFunction() |
MapGroup |
getRootGroup()
|
protected final RasterLayer2 subject
protected final java.lang.String iconUri
public RasterLayerMapOverlay(RasterLayer2 subject)
public RasterLayerMapOverlay(RasterLayer2 subject,
java.lang.String iconUri)
public java.lang.String getIdentifier()
MapOverlaygetIdentifier in interface MapOverlaypublic java.lang.String getName()
MapOverlaygetName in interface MapOverlaypublic MapGroup getRootGroup()
MapOverlayMapGroup which will contain all
subgroups and MapItem instances for the overlay. This
method may return null to indicate that the overlay does not contain any content
that may be selected or interact with other map items.
getRootGroup in interface MapOverlaynull if the overlay does not contain
any selectable content.public DeepMapItemQuery getQueryFunction()
getQueryFunction in interface MapOverlaypublic HierarchyListItem getListModel(android.widget.BaseAdapter adapter, long capabilities, HierarchyListItem.Sort preferredSort)
MapOverlaynull, the overlay
will not appear in the list.getListModel in interface MapOverlayadapter - A reference to the adapter that will be responsible for displaying the list.
The overlay may invoke BaseAdapter.notifyDataSetChanged()
if the list content is externally modified and the adapter should update.preferredSort - The preferred sorting order to be used when constructing the list view.
This argument is a hint and may be ignored in the event that executing the
specified sort will compromise performance. An ascending alphabetic sort is
recommended as the default.null if the
overlay should not be included in the list.