If you need help with questions about Arcade please use the Esri Community: community.esri.com/t5/arcgis-online-developers-questions/bd-p/arcgis-online-developers-questions
@CanButler852 жыл бұрын
I just want to reference the geometry layer from my shared web service layer in my AGOL web map, lol. What's wrong with this code block? // var PointGeometry = Geometry($feature); var ArcadeX = PointGeometry.x; var ArcadeY = PointGeometry.y; var ArcadeSr = PointGeometry.spatialReference.wkid; var Latitude, Longitude; Do I need to place an 'x' and a 'y' attribute within my feature?
@EsriEvents2 жыл бұрын
That expression doesn't include a 'return' statement. For better support please use the Esri Community. Another resource that might be helpful: learn.arcgis.com/en/projects/get-started-with-arcgis-arcade/