Skip To Content ArcGIS for Developers Sign In Dashboard

IdentifyLayerResult Class

(Esri::ArcGISRuntime::IdentifyLayerResult)

The identified GeoElements of a GeoView::identifyLayers task. More...

Header: #include <IdentifyLayerResult>
Since: Esri::ArcGISRuntime 100.0
Inherits: Object

Public Functions

~IdentifyLayerResult()
Error error() const
QList<GeoElement *> geoElements() const
bool isTransferLimitExceeded() const
LayerContent *layerContent() const
QList<Popup *> popups() const
QList<IdentifyLayerResult *> sublayerResults() const
  • 31 public functions inherited from QObject

Additional Inherited Members

Detailed Description

The identified GeoElements of a GeoView::identifyLayers task.

Obtain these results through the identifyLayersCompleted signal.

See also GeoView, MapQuickView::identifyLayersCompleted, and MapGraphicsView::identifyLayersCompleted.

Member Function Documentation

IdentifyLayerResult::~IdentifyLayerResult()

Destructor.

Error IdentifyLayerResult::error() const

Gets the Error encountered during the identify.

An empty error indicates that no error occurred.

QList<GeoElement *> IdentifyLayerResult::geoElements() const

Gets the list of identified GeoElements.

bool IdentifyLayerResult::isTransferLimitExceeded() const

Returns whether the transfer limit was exceeded for the identify results.

LayerContent *IdentifyLayerResult::layerContent() const

Gets the Layer or ArcGISSublayer that the returned GeoElements are associated with.

QList<Popup *> IdentifyLayerResult::popups() const

Gets a list of the identifed popups for the layer represented by layerContent.

The list of popups may be empty if the layer is composed of sub layers, in which case sublayerResults will be populated with results from sub layers.

Only valid when the identify was called with the returnPopupsOnly parameter set to true.

QList<IdentifyLayerResult *> IdentifyLayerResult::sublayerResults() const

Gets the list of IdentifyLayerResult for the sublayers.


Feedback on this topic?