Click or drag to resize

GeoViewIdentifyGraphicsOverlayAsync Method (GraphicsOverlay, Point, Double, Boolean)

Initiates an identify operation on the specified graphics overlay which will return the visible topmost graphic.

Namespace:  Esri.ArcGISRuntime.Xamarin.Forms
Assembly:  Esri.ArcGISRuntime.Xamarin.Forms (in Esri.ArcGISRuntime.Xamarin.Forms.dll) Version: 100.7.0.0
Syntax
C#
public Task<IdentifyGraphicsOverlayResult> IdentifyGraphicsOverlayAsync(
	GraphicsOverlay graphicsOverlay,
	Point screenPoint,
	double tolerance,
	bool returnPopupsOnly
)

Parameters

graphicsOverlay
Type: Esri.ArcGISRuntime.UIGraphicsOverlay
The overlay on which to run the identify.
screenPoint
Type: Xamarin.Forms.Point
The location at which to run identify in screen coordinates.
tolerance
Type: SystemDouble
The width and height in screen coordinates of the square centered on screen coordinate that will be used in the identify.
returnPopupsOnly
Type: SystemBoolean
Controls whether the graphics property of the result is populated.

Return Value

Type: TaskIdentifyGraphicsOverlayResult
A task that represents the asynchronous identify operation on the specified graphics overlay. The value of the TResult parameter contains IdentifyGraphicsOverlayResult
Exceptions
ExceptionCondition
ArgumentNullExceptiongraphicsOverlay
See Also
Additional Examples
Hyperlink to ExampleDescription
SpatialRelationshipsDetermine spatial relationships between two geometries.