laptop and a wrench

漏洞

MapView.IdentifyLayerAsync returns an exception: "Invalid argument: Identify parameters do not specify a region in the view extent."

上次发布: March 11, 2020 ArcGIS Runtime SDK
漏洞 ID 编号 BUG-000129000
已提交February 27, 2020
上次修改时间June 5, 2024
适用范围ArcGIS Runtime SDK
找到的版本100.7
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Will Not Be Addressed

附加信息

When using the IdentifyLayerAsync method of the MapView class, the second parameter expects a Point object. The Location property of the GeoViewInputEventArgs returns a MapPoint which is why the error is thrown - the map point x,y values are outside the view extent. To fix this, use the GeoViewInputEventArgs.Position Property to pass in the x,y values into the IdentifyLayerAsync method as shown below: IdentifyLayerResult identifyResult = await MyMapView.IdentifyLayerAsync(layer, new Point(e.Position.X, e.Position.Y), 10, false, 100);

重现步骤

漏洞 ID: BUG-000129000

软件:

  • ArcGIS Runtime SDK

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项