laptop and a wrench

Bogue

Styles applied to the text element of a TextSymbol do not properly honor a range of styles such as the color, background color, and text shadow.

Dernière publication: November 20, 2015 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000092242
EnvoiNovember 17, 2015
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée3.14
Système d’exploitationWindows OS
Version du système d’exploitation7.0 64 Bit
StatutKnown Limit

Informations supplémentaires

This is due to the internal styling of TextElement. Users can view this in Chrome's developer tools. This styling overrides what is set within the CSS and is by design. As a workaround, work with SVG and CSS to get the desired results. Graphics are rendered using SVG, so use text attributes such as fill, fill opacity, stroke, and so forth. More information on working with SVG can be found at https://developers.arcgis.com/javascript/jshelp/inside_styling_svg.html

Étapes pour reproduire

ID de bogue: BUG-000092242

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