Click or drag to resize

GeoViewIdentifyLayersAsync Method (Point, Double, Boolean, Int64, CancellationToken)

Initiates an identify operation on all layers in the view.

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<IReadOnlyList<IdentifyLayerResult>> IdentifyLayersAsync(
	Point screenPoint,
	double tolerance,
	bool returnPopupsOnly,
	long maximumResultsPerLayer,
	CancellationToken cancellationToken
)

Parameters

screenPoint
Type: Xamarin.Forms.Point
The location on 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.
maximumResultsPerLayer
Type: SystemInt64
The maximum number of geoelements to return per layer.
cancellationToken
Type: System.ThreadingCancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value

Type: TaskIReadOnlyListIdentifyLayerResult
A task that represents the asynchronous identify operation on all layers in the view The value of the TResult parameter contains a read-only collection of IdentifyLayerResult in top to bottom order.
See Also