I have a use case that incorporates the $map arcade global to update symbology for a layer but currently the only globals for the visualization profile are $feature, and $view.scale. It would be nice to have the $map global included in the visualization profile.
For my use case, I have a need to update the symbology of a census tracts layer so that when 20% of the housing units in a census tract are LIHTC (Low Income Housing Tax Credits) the symbology is different. I wrote an arcade expression (screenshot below) that sums up all the housing units in the LIHTC layer that intersects with a census tract, and then compares it the total housing units in the census tract to see if its more than 20%. This code works in a pop-up since pop-ups have the $map global.
