Is there a simple way to offset line labels in a web map?
I have line labels with a 2pt halo to increase visibility. We'd like a little separation between the line and the label.
I've tried an arcade expression (two different ways) and it's duplicating my label text.
text($feature.SewerMainID) + "; " + $feature.PipeDiameter + 'in ' + Round($feature["Shape.STLength()"], 2) + "ft" + TextFormatting.NewLine + TextFormatting.NewLinevar tsewerid = text($feature.SewerMainID) + "; "
var len_2 = Round($feature["Shape.STLength()"], 2) + "ft"
`${tsewerid} ${$feature.PipeDiameter}in ${len_2}
`
Also tried adding a . in the second line - which probably won't be noticed by the user - but the entire text block is still being duplicated.
The allow overrun and repeat label settings don't change anything. Am I missing a simple setting for this?
This is not exposed just in our style panel for labeling but you can modify the web map or layer JSON in ago-assistant and set the yoffset within the symbol under the labelinginfo.