漏洞 ID 编号 |
BUG-000161285 |
已提交 | September 8, 2023 |
上次修改时间 | September 29, 2025 |
适用范围 | Portal for ArcGIS |
找到的版本 | 11.1 |
操作系统 | Windows Server |
操作系统版本 | 2019 64 Bit |
状态 | Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
|
附加信息
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'.
解决办法
- 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.
重现步骤