Select to view content in your preferred language

4.31 - LabelingInfo ISSUE with CIM renderers

218
3
02-06-2025 02:11 AM
michaelkdev
Regular Contributor

Hi! My labels are not visible for my featureLayer (labelingInfo) with CIM renderers.

Made a codepen to reproduce this issue! Thanks in advance.

https://codepen.io/michaelk95/pen/YPKoOQq

You can reproduce the issue by switching the renderer from rendererSimple to rendererComplex. when using CIM renderer " rendererComplex " no labels will be visible, when switching to the simple one: "rendererSimple", labels will be present. 

 

michaelkdev_0-1738836687450.png

vs

michaelkdev_1-1738836700222.png

Thanks in Advance!

 

 

0 Kudos
3 Replies
AnneFitz
Esri Regular Contributor

Hi @michaelkdev - thanks for bringing this to our attention! This appears to be a bug with labels and real world size visual variables. You'll notice if you remove the size VV from your "rendererComplex" - the labels will display as expected. We'll look into it. 

michaelkdev
Regular Contributor

Looks like it's fixed in release 4.32? @AnneFitz Thanks!

0 Kudos
AnneFitz
Esri Regular Contributor

Hi @michaelkdev - it looks like your codepen is no longer using any visual variables? This is why the issue may appear to be fixed. There's still more work to do on this on our end 🙂