Select to view content in your preferred language

Wrap/stack a text string label in an AGOL web map

5102
20
Jump to solution
02-01-2022 12:23 PM
Labels (1)
JayHodny
Frequent Contributor

Hello.  I have labels using an attribute text string that I would like to "wrap and stack" on my web map.  In Pro, I am able to do this using Labeling Properties (see screen shot).  I published the service but the labeling itself did not carry through to the service (maybe I missed a setting in the Share Web Layer?).

JayHodny_0-1643746462967.png

I read that classic map viewer does not support the idea but the new map viewer does (maybe)?  I opened my web map in the new map viewer and poked around on the Label features dialogue but was not successful.

JayHodny_1-1643746906637.png

I am an Arcade beginner, but was wondering if there is an arcade function or code snippet available to do this, for example, wrap and stack the text string at the first space in the string?  Thanks!

 

20 Replies
KenBuja
MVP Esteemed Contributor

I don't believe this is possible. While you can use formatting tags in Popups, this capability isn't available for Labels

0 Kudos