laptop and a wrench

Error

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.

Última publicación: November 20, 2015 ArcGIS API for JavaScript
Número de ID del error BUG-000092242
EnviadoNovember 17, 2015
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada3.14
Sistema operativoWindows OS
Versión de sistema operativo7.0 64 Bit
EstadoKnown Limit

Información adicional

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

Pasos para reproducir

ID del error: BUG-000092242

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga