| Bug ID Number |
BUG-000125905 |
| Submitted | October 10, 2019 |
| Last Modified | June 5, 2024 |
| Applies to | ArcGIS API for JavaScript |
| Version found | 4.13 |
| Operating System | Windows OS |
| Operating System Version | 10.0 |
| Status | Known Limit
After review by the development team, it has been determined that this issue is related to a known limitation with the software that lies outside of Esri's control. The issue's Additional Information section may contain further explanation.
|
Additional Information
This is a known limitation for FeatureLayer Polylines stated in the documentation: "FeatureLayer Polylines only support center-along label placement in 2D MapViews."
See Known Limitation section for the labelPlacement property: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#labelPlacement
Workaround
Set the placement to 'center-along' stops the error.
Steps to Reproduce