laptop and a wrench

Bogue

Poor rendering quality of SimpleMarkerSymbol when using a SVG path in the ArcGIS Maps SDK for JavaScript v4.28 app.

ArcGIS Maps SDK for JavaScript
Numéro d’ID de bogue BUG-000163544
EnvoiDecember 7, 2023
Dernière modificationDecember 6, 2024
S’applique àArcGIS Maps SDK for JavaScript
Version trouvée4.28
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction4.30 (June 2024)
StatutFixed

Solution de contournement

Use a symbol service to convert the SVG to a CIMSymbol: https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-symbolService.html. This is also possible using the CIM Symbol Builder app. See this blog for more information: https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/upload-symbols-from-svg-in-the-updated-cim-symbol-builder/. 

Another temporary workaround is to set the outline of the SimpleMarkerSymbol to 'null'. This improves the quality of the symbol.

Étapes pour reproduire

ID de bogue: BUG-000163544

Logiciel:

  • ArcGIS Maps SDK 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