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 Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動