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.
上次发布: November 20, 2015ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000092242
已提交
November 17, 2015
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
3.14
操作系统
Windows OS
操作系统版本
7.0 64 Bit
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
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