The identify layer result contains the identified geoelements of a layer. More...
Public Functions Detailed DescriptionOperations that identify the geoelements in a layer, such as GeoView::identifyLayerAsync(Esri::ArcGISRuntime::Layer*, const QPointF&, double, bool, QObject*) or GeoView::identifyLayersAsync(const QPointF&, double, bool, QObject*), return the resulting geoelements in a geoElements collection for each layer.
Obtain these results through the identifyLayersCompleted signal.
Relevant samples:
See also GeoView, MapQuickView::identifyLayersCompleted, and MapGraphicsView::identifyLayersCompleted.
Member Function Documentation[override virtual noexcept]
IdentifyLayerResult::~IdentifyLayerResult()
Destructor.
Esri::ArcGISRuntime::Error IdentifyLayerResult::error() constReturns the error that occurred during the identify operation, if there is one.
QList<Esri::ArcGISRuntime::GeoElement *> IdentifyLayerResult::geoElements() constReturns the collection of identified geoelements.
If there are no geoelement results at the layer level (for layers where geoelement results are exposed in sublayer results), an empty QList is returned. The function will always return an QList containing objects that implement GeoElement. The specific type of geoelement in the collection depends on the type of objects contained in the layer and whether AggregationFeatureReduction is enabled on the layer. When AggregationFeatureReduction is enabled on the layer, geoelements in the QList will be either AggregateGeoElement or the GeoElement type contained in the layer.
bool IdentifyLayerResult::isTransferLimitExceeded() constReturns true
if the transfer limit was exceeded for the identify results, false
otherwise.
Returns the layer that contains the identified geoelements.
The element will contain an object that implements LayerContent. This may be either an ArcGISSublayer or a Layer.
QList<Esri::ArcGISRuntime::Popup *> IdentifyLayerResult::popups() constReturns a QList of identified popups.
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
.
Returns the identify layer result's QList of sub results.
For layers that do not contain sublayers, the QList will be empty.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4