laptop and a wrench

漏洞

The LocatorTask.ReverseGeocodeAsync method does not return any attribute information only for the offline locator.

上次发布: August 11, 2017 ArcGIS Runtime SDK
漏洞 ID 编号 BUG-000102342
已提交January 24, 2017
上次修改时间June 5, 2024
适用范围ArcGIS Runtime SDK
找到的版本100.0.0
操作系统Windows OS
操作系统版本10.0
状态Will Not Be Addressed

附加信息

The default return fields for an ArcGIS Runtime locator dataset are Match_addr for a non-composite locator, and Match_addr and Loc_Name for a composite locator. To return additional fields, field names should be added to the ReverseGeocodeParameters.ResultAttributeNames property. Additionally an asterisk ("*") can be used to return all fields.

解决办法

One or more attribute names must be added to the ReverseGeocodeParameters.ResultAttributeNames property, or alternatively "*" for all attributes. ReverseGeocodeParameters rgParams = new ReverseGeocodeParameters();rgParams.MaxDistance = 10;rgParams.OutputSpatialReference = MyMapView.Map.SpatialReference;rgParams.MaxResults = 5;rgParams.ResultAttributeNames.Add("*");

重现步骤

漏洞 ID: BUG-000102342

软件:

  • ArcGIS Runtime SDK

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项