Class IdentifyGraphicsOverlayResult

java.lang.Object
com.esri.arcgisruntime.mapping.view.IdentifyGraphicsOverlayResult

public class IdentifyGraphicsOverlayResult extends Object
Represents an identify result from a single GraphicsOverlay in a GeoView. It contains a list of identified graphics and a reference to the layer from whence they came.
Since:
100.0.0
  • Method Details

    • getGraphics

      public List<Graphic> getGraphics()
      Returns an unmodifiable List of the identified Graphics. The list may be empty if no graphics were found, also if true was specified for the returnPopupsOnly parameter in the identify operation. Additionally, the number of identified Graphics may be limited by the maxResults parameter of the identify method.
      Returns:
      an unmodifiable List of the identified Graphics
      Since:
      100.0.0
    • getGraphicsOverlay

      public GraphicsOverlay getGraphicsOverlay()
      Returns the GraphicsOverlay the identify result relates to.
      Returns:
      a GraphicsOverlay object
      Since:
      100.0.0
    • getPopups

      public List<Popup> getPopups()
      Returns an unmodifiable List of the identified Popups. The number of identified Popups may be limited by the maxResults parameter of the identify method.
      Returns:
      an unmodifiable List of the identified Popups
      Since:
      100.0.0
      See Also:
    • getError

      public ArcGISRuntimeException getError()
      Returns the error that occurred during the identify operation if there was one, otherwise null is returned.
      Returns:
      the error that occurred during the identify operation if there was one, otherwise null is returned.
      Since:
      100.0.0
      See Also:
    • getGeoElements

      public ObservableList<GeoElement> getGeoElements()
      Gets a list of identified geoelements.

      If there are no geoelement results in the overlay, an empty list is returned. This list may contain the identified graphics or identified aggregate geoelements if the overlay is enabled with AggregationFeatureReduction.

      Returns:
      a list of identified geoelements
      Since:
      200.4.0