laptop and a wrench

Error

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
Número de ID del error BUG-000157715
EnviadoApril 21, 2023
Última modificaciónOctober 11, 2023
Relacionado conArcGIS Maps SDK for .NET
Versión encontrada200.0
Sistema operativoWindows OS
Versión de sistema operativo11.0 64 bit
EstadoIn Product Plan

Solución alternativa

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);

Pasos para reproducir

ID del error: BUG-000157715

Software:

  • ArcGIS Maps SDK for .NET

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga