| Bug-ID-Nummer |
BUG-000161285 |
| Eingereicht | September 8, 2023 |
| Zuletzt geändert | September 29, 2025 |
| Gilt für | Portal for ArcGIS |
| Gefunden in Version | 11.1 |
| Betriebssystem | Windows Server |
| Betriebssystemversion | 2019 64 Bit |
| Status | Known Limit
Nach Überprüfung durch das Entwicklungsteam wurde festgestellt, dass dieses Problem im Zusammenhang mit einer bekannten Einschränkung der Software steht, die außerhalb der Kontrolle von Esri liegt. Weitere Erläuterungen finden Sie ggf. im Abschnitt "Zusätzliche Informationen" des jeweiligen Problems.
|
Zusätzliche Informationen
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'.
Workaround
- 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.
Schritte zur Reproduzierung