laptop and a wrench

Bug

In ArcGIS Pro, coordinate pairs of a polygon geometry generated from an Arcade expression are not passed into the pop-up when the mobile map package file (.mmpk) is launched in ArcGIS Field Maps.

Last Published: June 7, 2022 ArcGIS Pro
Bug ID Number BUG-000148802
SubmittedApril 27, 2022
Last ModifiedDecember 9, 2025
Applies toArcGIS Pro
Version found2.9
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusIn Review

Workaround

In ArcGIS Pro 3.5, this can be worked around by using an Arcade pop-up element with the following expression:

function MetersToLatLon(x, y) { // Converts XY point from Spherical Mercator EPSG:900913 to latitude/longitude in WGS84 Datum // Source: http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/ var originShift = 2.0 * PI * 6378137.0 / 2.0; var lon = (x / originShift) * 180.0; var lat = (y / originShift) * 180.0; lat = 180.0 / PI * (2.0 * Atan( Exp( lat * PI / 180.0)) - PI / 2.0); return Concatenate(TEXT(lat)," ", TEXT(lon)); } var geom = Geometry($feature); var firstpart = geom.rings[0]; var outparts = []; var counter = 0; for (var pt in firstpart){ var ptstr = MetersToLatLon(firstpart[pt].x,firstpart[pt].y); outparts[counter]= ptstr; counter = counter + 1; } return { type : 'text', text : 'Survey Link' // this property supports html tags } the return section is html (this dialog is not allowing me to type in the html, but it is the survey link in an html tagged a href="arcgis-survey123:///?itemID=0c2cfb42256d47838fa4b9fde4d85516&field:geosh1= + Concatenate(outparts, ";")+">Survey Link

Steps to Reproduce

Bug ID: BUG-000148802

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options