Select to view content in your preferred language

Be able to see latitude, longitude from existing point data

119
0
2 weeks ago
Status: Open
BanchanaPandey
Regular Contributor

I have a webmap (viewed in new map viewer) that shows point data that users can edit from desktop and also from fieldmaps app. the data is in state plane, needs to be in that projection. We would also like to be able to display the latitude and longitude values of the captured point in the popup along with other attributes. latitude and longitude are not currently attributes on the feature class and we don't want to calculate those values each time a new point gets added or moved.  It would be nice if Arcade expression was able to do a simple project(geometry, spatialreference) function and convert the x and y to latitude and longitude, only when a relevant feature is indentified on the webmap or fieldmaps app. We do see there is an option to show latitude, longitude value by providing the spatial reference in the rest api, why is not that an option in popup in a webmap? For an information, that is already there, why do we have to go around and extract the data in different ways, instead of it being a choice for us to display in the popup, as it is through the rest endpoint?