Select to view content in your preferred language

The labels are not displaying in ArcGIS Online as they do in ArcGIS Pro.

502
3
03-13-2024 02:01 AM
sajjady
New Contributor III

The labels are not displaying in ArcGIS Online as they do in ArcGIS Pro. If any one have this solution please share with me.

0 Kudos
3 Replies
RussRoberts
Esri Notable Contributor

Map Viewer Classic does not support multiline labeling. Check out Map Viewer and there is word wrapping and you can build an arcade expression to set multiline labeling. 

0 Kudos
sajjady
New Contributor III

Thanks for your suggestion. Could you please share the Expression as i m not that much good in Arcade

 

0 Kudos
RHilde
by
New Contributor

I've used this Arcade expression. 

$feature.(yourfieldname) + TextFormatting.NewLine + $feature.(yourfieldname)

 

It is from this ESRI help page. https://pro.arcgis.com/en/pro-app/latest/help/mapping/text/specify-text-for-labels.htm

0 Kudos