From 837e99459d44928a4fb42fa873e87b9fcbbb8e66 Mon Sep 17 00:00:00 2001 From: Morten Nielsen Date: Wed, 1 Nov 2023 08:37:59 -0700 Subject: [PATCH] Update src/Toolkit/Toolkit/GeoViewController.cs Co-authored-by: Matvei Stefarov --- src/Toolkit/Toolkit/GeoViewController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Toolkit/Toolkit/GeoViewController.cs b/src/Toolkit/Toolkit/GeoViewController.cs index 184e8f360..351f450c0 100644 --- a/src/Toolkit/Toolkit/GeoViewController.cs +++ b/src/Toolkit/Toolkit/GeoViewController.cs @@ -177,7 +177,7 @@ public virtual Task IdentifyLayerAsync(Layer layer, Point s /// public virtual Task> IdentifyGraphicsOverlaysAsync(Point screenPoint, double tolerance, bool returnPopupsOnly = false, long maximumResultsPerOverlay = 1) => ConnectedView?.IdentifyGraphicsOverlaysAsync(screenPoint, tolerance, returnPopupsOnly, maximumResultsPerOverlay) ?? - Task.FromResult>(new List().AsReadOnly()); + Task.FromResult>(Array.Empty()); /// public virtual Task IdentifyGraphicsOverlayAsync(GraphicsOverlay overlay, Point screenPoint, double tolerance, bool returnPopupsOnly = false, long maximumResults = 1) =>