laptop and a wrench

漏洞

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.

上次发布: June 7, 2022 ArcGIS Pro
漏洞 ID 编号 BUG-000148802
已提交April 27, 2022
上次修改时间December 9, 2025
适用范围ArcGIS Pro
找到的版本2.9
操作系统Windows OS
操作系统版本10.0 64 Bit
状态In Review

解决办法

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

重现步骤

漏洞 ID: BUG-000148802

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项