Hi!
In ArcGIS Online: I have a set of Arcade labels that works fine in the map viewer classic but they don't display at all in the new map viewer. Testing the expression in the new map viewer gives the correct (expected) output results. But nothing displays on the map or on the experience builder app that is using this web map. Here is the Arcade expression:
// Get the geometry of the feature
var geom = Geometry($feature);
// Extract the latitude and longitude
var lat = Round(geom.y, 6);
var lon = Round(geom.x, 6);
// Combine latitude and longitude into a label
return "Lat: " + Text(lat, "#.######") + "°, Lon: " + Text(lon, "#.######") + "°";
Anybody knows why this happens?