Select to view content in your preferred language

LabelingInfo Breaks Rendering of Complex Polyline FeatureLayer in 4.29–4.32 (works fine in 4.28)

265
1
05-27-2025 02:39 AM
mattheol
Emerging Contributor

I've encountered a rendering issue in ArcGIS Maps SDK for JavaScript versions 4.29 through 4.32, related to labelingInfo and complex polylines.

I have a FeatureLayer containing polylines with many vertices (approximately 1000+ per feature). In version 4.28, everything works perfectly: the layer renders completely, and labels are displayed correctly and quickly.

However, starting with version 4.29, enabling labelingInfo causes the layer to render only partially or not at all. Surprisingly, even if only a single complex polyline is present, it causes the entire layer to break rendering. Labels and the polylines are not drawn — or only partially drawn. Disabling labelingInfo resolves the issue immediately.

4.28:
Screenshot 2025-05-27 at 11.33.24.pngScreenshot 2025-05-27 at 11.35.47.png

4.32:
Screenshot 2025-05-27 at 11.33.46.pngScreenshot 2025-05-27 at 11.35.26.png

1 Reply
Noah-Sager
Esri Regular Contributor

Hi @mattheol, thanks for posting your issue here. I haven't seen this before, but if you could share some sample data or a test-app that reproduces this issue, I'd be happy to take a look. Feel free to respond here or send me a direct message.

0 Kudos