Show / Hide Table of Contents

Method IdentifyGraphicsOverlaysAsync

IdentifyGraphicsOverlaysAsync(Point, Double, Boolean)

Initiate an identify operation on all graphics overlays which will return the single visible topmost graphic per overlay only.

Declaration
public async Task<IReadOnlyList<IdentifyGraphicsOverlayResult>> IdentifyGraphicsOverlaysAsync(Point screenPoint, double tolerance, bool returnPopupsOnly)
Parameters
Type Name Description
Point screenPoint

The location on which to run identify in screen coordinates.

Double tolerance

The width and height in screen coordinates of the square centered on screen coordinate that will be used in the identify.

Boolean returnPopupsOnly

Controls whether the graphics property of the result is populated.

Returns
Type Description
Task<IReadOnlyList<IdentifyGraphicsOverlayResult>>

A task that represents the asynchronous identify operation on all graphics overlays in the view The value of the TResult parameter contains a read-only collection of IdentifyGraphicsOverlayResult in top to bottom order.

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 200.0
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12

IdentifyGraphicsOverlaysAsync(Point, Double, Boolean, Int64)

Initiate an identify operation on all graphics overlays.

Declaration
public async Task<IReadOnlyList<IdentifyGraphicsOverlayResult>> IdentifyGraphicsOverlaysAsync(Point screenPoint, double tolerance, bool returnPopupsOnly, long maximumResultsPerOverlay)
Parameters
Type Name Description
Point screenPoint

The location on which to run identify in screen coordinates.

Double tolerance

The width and height in screen coordinates of the square centered on screen coordinate that will be used in the identify.

Boolean returnPopupsOnly

Controls whether the graphics property of the result is populated.

Int64 maximumResultsPerOverlay

The maximum number of graphics to return per overlay..

Returns
Type Description
Task<IReadOnlyList<IdentifyGraphicsOverlayResult>>

A task that represents the asynchronous identify operation on all graphics overlays in the view The value of the TResult parameter contains a read-only collection of IdentifyGraphicsOverlayResult in top to bottom order.

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 200.0
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
In This Article
Back to top Copyright © 2022 Esri.