Method IdentifyLayersAsync
IdentifyLayersAsync(Point, Double, Boolean)
Initiates an identify operation on all layers in the view which will return the single visible topmost GeoElement per layer only.
Declaration
public Task<IReadOnlyList<IdentifyLayerResult>> IdentifyLayersAsync(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 |
|---|---|
| System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<IdentifyLayerResult>> | 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. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET 6.0 Windows | 100.15 |
IdentifyLayersAsync(Point, Double, Boolean, CancellationToken)
Initiates an identify operation on all layers in the view which will return the single visible topmost GeoElement per layer only.
Declaration
public Task<IReadOnlyList<IdentifyLayerResult>> IdentifyLayersAsync(Point screenPoint, double tolerance, bool returnPopupsOnly, CancellationToken cancellationToken)
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. |
| CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<IdentifyLayerResult>> | 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. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET 6.0 Windows | 100.15 |
IdentifyLayersAsync(Point, Double, Boolean, Int64)
Initiates an identify operation on all layers in the view.
Declaration
public Task<IReadOnlyList<IdentifyLayerResult>> IdentifyLayersAsync(Point screenPoint, double tolerance, bool returnPopupsOnly, long maximumResultsPerLayer)
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 | maximumResultsPerLayer | The maximum number of GeoElements to return per layer. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<IdentifyLayerResult>> | 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. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET 6.0 Windows | 100.15 |
IdentifyLayersAsync(Point, Double, Boolean, Int64, CancellationToken)
Initiates an identify operation on all layers in the view.
Declaration
public Task<IReadOnlyList<IdentifyLayerResult>> IdentifyLayersAsync(Point screenPoint, double tolerance, bool returnPopupsOnly, long maximumResultsPerLayer, CancellationToken cancellationToken)
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 | maximumResultsPerLayer | The maximum number of GeoElements to return per layer. |
| CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<IdentifyLayerResult>> | 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. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET 6.0 Windows | 100.15 |