Method IdentifyGraphicsOverlaysAsync
IdentifyGraphicsOverlaysAsync(PointF, 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(PointF screenPoint, double tolerance, bool returnPopupsOnly)
Parameters
Type | Name | Description |
---|---|---|
Android. |
screenPoint | The location on 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 |
---|---|
System. |
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 Identify |
Applies to
Platforms and versions
Target | Versions |
---|---|
Xamarin.Android | 100.0 - 100.15 |
IdentifyGraphicsOverlaysAsync(PointF, Double, Boolean, Int64)
Initiate an identify operation on all graphics overlays.
Declaration
public async Task<IReadOnlyList<IdentifyGraphicsOverlayResult>> IdentifyGraphicsOverlaysAsync(PointF screenPoint, double tolerance, bool returnPopupsOnly, long maximumResultsPerOverlay)
Parameters
Type | Name | Description |
---|---|---|
Android. |
screenPoint | The location on 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. |
maximumResultsPerOverlay | The maximum number of graphics to return per overlay.. |
Returns
Type | Description |
---|---|
System. |
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 Identify |
Applies to
Platforms and versions
Target | Versions |
---|---|
Xamarin.Android | 100.0 - 100.15 |