Identify result containing an overlay and the identified geoelements of that overlay. More...
Header: | #include <IdentifyGraphicsOverlayResult.h> |
Since: | Esri::ArcGISRuntime 100.0 |
Inherits: | Esri::ArcGISRuntime::Object |
Public Functions
virtual | ~IdentifyGraphicsOverlayResult() override |
Esri::ArcGISRuntime::Error | error() const |
QList<Esri::ArcGISRuntime::GeoElement *> | geoElements() const |
QList<Esri::ArcGISRuntime::Graphic *> | graphics() const |
Esri::ArcGISRuntime::GraphicsOverlay * | graphicsOverlay() const |
QList<Esri::ArcGISRuntime::Popup *> | popups() const |
Detailed Description
Obtain these results through the identifyGraphicsOverlaysCompleted signal.
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]
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 list of identified geoelements.
If there are no geoelement results in the overlay, an empty array is returned. This array 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 the identify result's list of identified graphics.
Esri::ArcGISRuntime::GraphicsOverlay *IdentifyGraphicsOverlayResult::graphicsOverlay () const
Returns the overlay identify result's overlay.
QList<Esri::ArcGISRuntime::Popup *> IdentifyGraphicsOverlayResult::popups() const
Returns the identify result's list of identified popups.
Only valid when the identify was called with the returnPopupsOnly
parameter set to true
.