this code was working fine till last weeks AGOL update, any ideas?
if ( IsEmpty($feature.Address)){
var pc = Intersects($feature,FeatureSetByName($map,"Address Point - MPRN"))
var fpc = First(pc)
return fpc["location_desc"]
}
else {
return $feature.Address
}
Is this labeling or something else? I have a strong feeling that june 26 update broke some $feature functions in labeling. Or actually the function works but whole label disappeares/goes in wrong location. I am reporting this case just in support systems. We had similar issues but it got fixed 1.5 years ago but now it seems that june update bring some of them back.
The core of issue was that it has been all the time working in old MapViewer but in new MapViewer it has had issues. Currently the challenge is obviously that old MapViewer no longer exist.
My variant is related only on linear features and I see no issues on points, which slightly concerns that we have separate cases. My variant also do not always vanish all labels - just spreads them here and there randomly. In my variant issue is always related on Geometry($feature) functions.