Select to view content in your preferred language

Arrows in Labels - Arcade

378
1
10-17-2024 12:29 PM
Labels (1)
KateDoughty1
Regular Contributor

Is there a way to change the size/bold of just the arrow in my labels? Using arcade to create these based on this Esri article.

KateDoughty1_0-1729193327365.png

 

0 Kudos
1 Reply
JesseWickizer
Esri Contributor

Instead of using that character for your arrow, you could use a different character and wrap it in the FNT formatting tag specifying a symbol font. For example, the ESRI Business font includes some bold arrows that could be useful.

"<FNT name='ESRI Business'>a</FNT>" produces a right-facing arrow

"<FNT name='ESRI Business'>b</FNT>" produces a left-facing arrow

If the character is embedded in your attribute table instead of in the label expression, use the Arcade Replace function to replace the characters → and ← with the above formatting tags. 

0 Kudos