laptop and a wrench

漏洞

The renderer.GetSymbol(GeoElement) method returns wrong result with the unique value renderer with multiple fields, if a field contains a null value.

ArcGIS Maps SDK for .NET
漏洞 ID 编号 BUG-000157715
已提交April 21, 2023
上次修改时间October 11, 2023
适用范围ArcGIS Maps SDK for .NET
找到的版本200.0
操作系统Windows OS
操作系统版本11.0 64 bit
状态In Product Plan

解决办法

If an attribute has a <no value>, replace it with the “<Null>” text. Example:

if (feature.Attributes["NrofPeople"] == null)

{

  feature.Attributes["NrofPeople"] = "<Null>";

}

var symbol = renderer.GetSymbol(feature);

重现步骤

漏洞 ID: BUG-000157715

软件:

  • ArcGIS Maps SDK for .NET

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项