I am adding geometry fields using Arcade Geometry($feature).x and Geometry($feature).y. Since my target feature layer is in Web Mercator projection, my custom lat & long fields are displaying the values in meter. Is there a way to convert this to decimal degrees with arcade function?
Solved! Go to Solution.
Thank you! I had a Rest endpoint with only x,y in the attributes.
Your arcade worked perfectly to be able to use google directions
It would be great to have some increased functions added to arcade to include ToLatitude(geometry($feature).x) and ToLongitude(geometry($feature).y)
Please consider adding a kudo to this idea
Covert point geometry to Latitude and Longitude - Esri Community