The ArcGIS API for Python MapView widgets on_click() method does not trigger in ArcGIS Notebooks within ArcGIS Pro.
ArcGIS Pro
漏洞 ID 编号
BUG-000167756
已提交
May 23, 2024
上次修改时间
September 2, 2025
适用范围
ArcGIS Pro
找到的版本
2.9.12
操作系统
Windows OS
操作系统版本
N/A
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
The callback approach was deprecated from the Python API 2.4 release, with a different set of interactive mapping features. This feature relies on the Python API 2.3 series, but unfortunately the versions of ArcGIS Pro which ship with that have conflicts with the ipywidgets library used. This workflow will work in a standalone API 2.3 based environment.
解决办法
Create a standalone Python environment with the ArcGIS API 2.3.x release. This functionality works in standalone notebooks with the Python API 2.3, but not on newer Python API releases.