Method IdentifyLayerAsync
IdentifyLayerAsync(Layer, Point, Double, Boolean)
Initiates an identify operation on the specified layer which will return the single visible topmost geolement only.
Declaration
public Task<IdentifyLayerResult> IdentifyLayerAsync(Layer layer, Point screenPoint, double tolerance, bool returnPopupsOnly)
Parameters
Type | Name | Description |
---|---|---|
Layer | layer | The layer on which to run the identify. |
Xamarin. |
screenPoint | The location at which to run identify in screen coordinates. |
System. |
tolerance | The width and height in screen coordinates of the square centered on screen coordinate that will be used in the identify. |
System. |
returnPopupsOnly | Controls whether the graphics property of the result is populated. |
Returns
Type | Description |
---|---|
Task<Identify |
A task that represents the asynchronous identify operation on the specified layer.
The value of the TResult parameter contains Identify |
Exceptions
Type | Condition |
---|---|
System. |
layer |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
IdentifyLayerAsync(Layer, Point, Double, Boolean, CancellationToken)
Initiates an identify operation on the specified layer which will return the single visible topmost geolement only.
Declaration
public Task<IdentifyLayerResult> IdentifyLayerAsync(Layer layer, Point screenPoint, double tolerance, bool returnPopupsOnly, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Layer | layer | The layer on which to run the identify. |
Xamarin. |
screenPoint | The location at which to run identify in screen coordinates. |
System. |
tolerance | The width and height in screen coordinates of the square centered on screen coordinate that will be used in the identify. |
System. |
returnPopupsOnly | Controls whether the graphics property of the result is populated. |
System. |
cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
Task<Identify |
A task that represents the asynchronous identify operation on the specified layer.
The value of the TResult parameter contains Identify |
Exceptions
Type | Condition |
---|---|
System. |
layer |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
IdentifyLayerAsync(Layer, Point, Double, Boolean, Int64)
Initiates an identify operation on the specified layer.
Declaration
public Task<IdentifyLayerResult> IdentifyLayerAsync(Layer layer, Point screenPoint, double tolerance, bool returnPopupsOnly, long maximumResults)
Parameters
Type | Name | Description |
---|---|---|
Layer | layer | The layer on which to run the identify. |
Xamarin. |
screenPoint | The location at which to run identify in screen coordinates. |
System. |
tolerance | The width and height in screen coordinates of the square centered on screen coordinate that will be used in the identify. |
System. |
returnPopupsOnly | Controls whether the graphics property of the result is populated. |
System. |
maximumResults | The maximum size of the result set of geoelements. |
Returns
Type | Description |
---|---|
Task<Identify |
A task that represents the asynchronous identify operation on the specified layer.
The value of the TResult parameter contains Identify |
Exceptions
Type | Condition |
---|---|
System. |
layer |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
IdentifyLayerAsync(Layer, Point, Double, Boolean, Int64, CancellationToken)
Initiates an identify operation on the specified layer.
Declaration
public Task<IdentifyLayerResult> IdentifyLayerAsync(Layer layer, Point screenPoint, double tolerance, bool returnPopupsOnly, long maximumResults, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Layer | layer | The layer on which to run the identify. |
Xamarin. |
screenPoint | The location at which to run identify in screen coordinates. |
System. |
tolerance | The width and height in screen coordinates of the square centered on screen coordinate that will be used in the identify. |
System. |
returnPopupsOnly | Controls whether the graphics property of the result is populated. |
System. |
maximumResults | The maximum size of the result set of geoelements. |
System. |
cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
Task<Identify |
A task that represents the asynchronous identify operation on the specified layer.
The value of the TResult parameter contains Identify |
Exceptions
Type | Condition |
---|---|
System. |
layer |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |