IdentifyLayerResult Class

  • IdentifyLayerResult
  • class Esri::ArcGISRuntime::IdentifyLayerResult

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

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

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    virtual ~IdentifyLayerResult() override
    Esri::ArcGISRuntime::Error error() const
    QList<Esri::ArcGISRuntime::GeoElement *> geoElements() const
    bool isTransferLimitExceeded() const
    Esri::ArcGISRuntime::LayerContent *layerContent() const
    QList<Esri::ArcGISRuntime::Popup *> popups() const
    QList<Esri::ArcGISRuntime::IdentifyLayerResult *> sublayerResults() const

    Detailed Description

    Obtain these results through the identifyLayersCompleted signal.

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

    Member Function Documentation

    [override virtual] IdentifyLayerResult::~IdentifyLayerResult()

    Destructor.

    Esri::ArcGISRuntime::Error IdentifyLayerResult::error() const

    Gets the Error encountered during the identify.

    An empty error indicates that no error occurred.

    QList<Esri::ArcGISRuntime::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.

    Esri::ArcGISRuntime::LayerContent *IdentifyLayerResult::layerContent() const

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

    QList<Esri::ArcGISRuntime::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<Esri::ArcGISRuntime::IdentifyLayerResult *> IdentifyLayerResult::sublayerResults() const

    Gets the list of IdentifyLayerResult for the sublayers.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close