laptop and a wrench

Bogue

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

Dernière publication: September 23, 2021 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000120162
EnvoiFebruary 19, 2019
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.20
Système d’exploitationWindows OS
Version du système d’exploitationN/A
StatutKnown Limit

Informations supplémentaires

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

Étapes pour reproduire

ID de bogue: BUG-000120162

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement