| Número de ID do Erro |
BUG-000161285 |
| Enviado | September 8, 2023 |
| Última Modificação | September 29, 2025 |
| Aplica-se à | Portal for ArcGIS |
| Versão encontrada | 11.1 |
| Sistema Operacional | Windows Server |
| Versão do Sistema Operacional | 2019 64 Bit |
| Status | Known Limit
Após revisão pela equipe de desenvolvimento, foi determinado que esse problema está relacionado a uma limitação conhecida do software que está fora do controle da Esri. A seção Informações Adicionais do problema pode conter mais explicações.
|
Informações Adicionais
This is a known limitation in ArcGIS Enterprise and ArcGIS Online when using ArcGIS Maps SDK for JavaScript 3.x and Map Viewer Classic. Refer to this documentation, https://developers.arcgis.com/arcade/function-reference/constants/#textformattingnewline where it states, 'Multi-line labels are NOT supported in the ArcGIS API 3.x for JavaScript nor in the ArcGIS Online map viewer'.
Solução Provisória
- Remove this function so the label is on one line only.
- Keep new line function and change the label styles placement to center along since above and below placement do not work.
Utilize Map Viewer. Map Viewer use ArcGIS Maps SDK for JavaScript. 4.x, the latest version.
Etapas para Reproduzir