Select to view content in your preferred language

4.30 - LabelingInfo BUG

514
5
Jump to solution
08-26-2024 02:36 AM
michaelkdev
Regular Contributor

Hi all,

Found a bug with layer's labelingInfo when adding, updating or deleting graphics (with applyEdits).

Made a codepen to reproduce this issue: 

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

Steps to reproduce:

  1. Run the codepen - default filter view: all graphics

    michaelkdev_0-1724664770158.png

     

  2. Select 'highlight graphics' in the top-right widget - filter view: highlight graphics

    michaelkdev_1-1724664807211.png

    label not visible

  3. Switch again

    michaelkdev_2-1724664882602.png

    label graphicB not visible

issue: labels are not visible (when zooming in or out, the labels will be visible again.)

Thanks in advance!

Gr

Michael

0 Kudos
1 Solution

Accepted Solutions
UndralBatsukh
Esri Regular Contributor

Hi there, 

We fixed this issue at version 4.31 which will be released in a month or so. In meantime, you can test your app against our next version. The fix will be available next Tuesday for you to test.

Thanks

View solution in original post

0 Kudos
5 Replies
UndralBatsukh
Esri Regular Contributor

Hi there, 

I did scan through your repro case. But lots going on there. This codepen add 2 points to featurecollection and removes/adds Feature B from a button click. I am not able to reproduce your issue with this codepen: https://codepen.io/U_B_U/pen/jOjKwEZ?editors=1000

 

0 Kudos
michaelkdev
Regular Contributor

Hi hi Undral!

I changed your codepen a little bit, now all features will be removed with the user action and all features will be added again (toggle like). This functionality should work I assume? Labels are not shown correctly when adding features again.

Thanks! Gr

0 Kudos
michaelkdev
Regular Contributor
0 Kudos
UndralBatsukh
Esri Regular Contributor

Hi there, 

I am able to reproduce the issue when all features are deleted and new features are added. I will update you once we have a fix for this. Thanks for reporting this issue.

UndralBatsukh
Esri Regular Contributor

Hi there, 

We fixed this issue at version 4.31 which will be released in a month or so. In meantime, you can test your app against our next version. The fix will be available next Tuesday for you to test.

Thanks

0 Kudos