Select to view content in your preferred language

Swipe widget: Label Issue

949
4
02-07-2024 09:14 AM
MatthieuThery1
Regular Contributor

Hello,

 

There seem to be a bug with the Swipe Widget. If I have 2 layers with labels, and I add one to the trailingLayers, then the other layer loses its labels: 

eg: both layers have labels and they can be seen when outside of the swipe tool. when I add the layer on the right to the trailingLayers , then the remaining layer (on the left) lose the labels

MatthieuThery1_0-1707325990464.png

 

Tags (2)
0 Kudos
4 Replies
Noah-Sager
Esri Regular Contributor

Hi @MatthieuThery1, thanks for reporting. This is a known issue that we are investigating.

0 Kudos
Karyn_Kerdolff
Regular Contributor

I'm experiencing this issue. Has a solution been found? 

0 Kudos
MichaelSnook
Frequent Contributor

I have also just noticed this and a simple work-around is to use VectorTile layers instead.  Labels are not affected.

0 Kudos
Sophie_Stanley
Esri Contributor

Hello! We had a support case with this exact same issue and in our instance we were able to fix the behavior (with one web map's feature layer losing it's labels when using the Swipe Widget) by changing the location of the labelling classes for one of the web map's feature layers. 

In our instance the web map we were using was configured to have both feature layers use labelling classes configured with "above center" labels. We changed one feature layer to be  "below center" and left one as "above center" which worked for us to see the labels for both the leading and trailing feature layers of the swipe widget. 

Wanted to post this potential workaround in case anyone ran into the same issue we were encountering!

ArcGIS Online Technical Support Analyst
0 Kudos