laptop and a wrench

Bug

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.

Zuletzt veröffentlicht: November 20, 2015 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000092242
EingereichtNovember 17, 2015
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version3.14
BetriebssystemWindows OS
Betriebssystemversion7.0 64 Bit
StatusKnown Limit

Zusätzliche Informationen

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

Schritte zur Reproduzierung

Bug-ID: BUG-000092242

Software:

  • ArcGIS API for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln