In ArcGIS Online, feature symbology can be driven by Arcade expressions reading feature attributes, but not labels.
IDEA: Add option to use arcade to dynamically set labelling properties (like text colour) based on attributes against a feature (e.g. a colour hex code).
USE CASE: I'm setting up a Personal Markup layer where the annotations created by the user persist between sessions (Text/Markers/Lines/Areas) and aren't lost as soon as the map viewer is closed or refreshed. Currently, I can create a domain in a point layer (where the point symbol itself is invisible and only the label is visible) with a list of predetermined colours stored as hex values (e.g. Black = 000000) but I can't dyanmically pull that value into the label formatting. Instead I have to setup different label classes using filters for each colour.
This is on our roadmap and would be part of our support we are currently working on for having text formatting tags inside the arcade expression and you would have conditional expression for a color based on attribute value in this case. We are looking into supporting this hopefully later this year or early 2027 release.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.