Long-time subscriber first time posting:
I'm looking to create a custom label for a new feature service but I think I'm running into an error with AGOL. I'd like the label to appear for the user with each attribute on a newline (name, ID #, acreage). When I test my expression it is correct but it doesn't display correctly on the map. This occurs while I'm attempting to change the label from the visualization tab.
$feature["Name"]
+TextFormatting.NewLine
+$feature["Parcel_ID"]
+TextFormatting.NewLine
+$feature["LOT_SIZE"] + " acres"
Solved! Go to Solution.
The visualization tab is still hooked into the "Classic" map, where line breaks in labels do not render.
Once you have the label configured, open your map in the new Map Viewer, and you should see the line breaks rendered.
The visualization tab is still hooked into the "Classic" map, where line breaks in labels do not render.
Once you have the label configured, open your map in the new Map Viewer, and you should see the line breaks rendered.
Thanks Josh! This worked exactly as you described.
~ Jacob