The identify graphics overlay result contains the identified geoelements of an overlay. More...
Header | #include <Identify |
Since | Esri |
Inherits | Esri |
Public Functions
virtual | ~ |
Esri | error() const |
(since Esri Q | geo |
Q | graphics() const |
Esri | graphics |
Q | popups() const |
Detailed Description
Operations that identify the geoelements in a graphics overlay, such as GeoView::identifyGraphicsOverlayAsync(Esri::ArcGISRuntime::GraphicsOverlay*, const QPointF&, double, bool, QObject*) or GeoView::identifyGraphicsOverlaysAsync(const QPointF&, double, bool, QObject*), return the resulting geoelements in a geoElements QList for each graphics overlay.
Relevant samples:
- Create and edit geometries: Use the Geometry Editor to create new point, multipoint, polyline, or polygon geometries or to edit existing geometries by interacting with a map view.
See also GeoView, MapQuickView::identifyGraphicsOverlaysCompleted, MapGraphicsView::identifyGraphicsOverlaysCompleted, and GeoView::identifyGraphicsOverlaysAsync.
Member Function Documentation
[override virtual noexcept]
IdentifyGraphicsOverlayResult::~IdentifyGraphicsOverlayResult ()
Destructor.
Esri::ArcGISRuntime::Error IdentifyGraphicsOverlayResult::error() const
Returns the error that occurred during the identify operation, if there is one.
[since Esri::ArcGISRuntime 200.4]
QList <Esri::ArcGISRuntime::GeoElement *> IdentifyGraphicsOverlayResult::geoElements () const
Returns a QList of identified geoelements.
If there are no geoelement results in the overlay, an empty QList is returned. The QList may contain the identified graphics or identified aggregate geoelements if the overlay is enabled with AggregationFeatureReduction.
This function was introduced in Esri::ArcGISRuntime 200.4.
QList <Esri::ArcGISRuntime::Graphic *> IdentifyGraphicsOverlayResult::graphics() const
Returns a QList of identified graphics.
Esri::ArcGISRuntime::GraphicsOverlay *IdentifyGraphicsOverlayResult::graphicsOverlay () const
Returns the graphics overlay that contains the identified graphics.
QList <Esri::ArcGISRuntime::Popup *> IdentifyGraphicsOverlayResult::popups() const
Returns a QList of identified popups.
Only valid when the identify was called with the returnPopupsOnly
parameter set to true
.