Module com.esri.arcgisruntime
Class IdentifyGraphicsOverlayResult
java.lang.Object
com.esri.arcgisruntime.mapping.view.IdentifyGraphicsOverlayResult
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 Summary
Modifier and TypeMethodDescriptiongetError()
Returns the error that occurred during the identify operation if there was one, otherwise null is returned.Gets a list of identified geoelements.Returns an unmodifiable List of the identified Graphics.Returns the GraphicsOverlay the identify result relates to.Returns an unmodifiable List of the identified Popups.
-
Method Details
-
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
Returns the GraphicsOverlay the identify result relates to.- Returns:
- a GraphicsOverlay object
- Since:
- 100.0.0
-
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
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
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
-