laptop and a wrench

Error

Polygons are rendered with jagged lines when displayed in ArcGIS API for JavaScript.

Última publicación: September 23, 2021 ArcGIS API for JavaScript
Número de ID del error BUG-000120162
EnviadoFebruary 19, 2019
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada4.20
Sistema operativoWindows OS
Versión de sistema operativoN/A
EstadoKnown Limit

Información adicional

When polygons are added client-side, the polygon geometries need to be OGC compliant. If not, the geometryEngine.simplify method must be used to simplify the polygons. The polygon must be simplified before it is added to the FeatureCollection. Refer to https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#simplify for more information. This behavior is documented in the polygon class. Refer to https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html for more information. See known limitations in the Overview section. For example: graphic.geometry = geometryEngine.simplify(graphic.geometry); var featureLayer = new FeatureLayer({ fields: fields, renderer: renderer, source: [graphic], id: "myLayer" });

Pasos para reproducir

ID del error: BUG-000120162

Software:

  • ArcGIS API for JavaScript

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