laptop and a wrench

Bug

The ArcGIS API for Python MapView widgets on_click() method does not trigger in ArcGIS Notebooks within ArcGIS Pro.

ArcGIS Pro
Bug ID Number BUG-000167756
SubmittedMay 23, 2024
Last ModifiedSeptember 2, 2025
Applies toArcGIS Pro
Version found2.9.12
Operating SystemWindows OS
Operating System VersionN/A
StatusKnown Limit

Additional Information

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.

Workaround

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.

Steps to Reproduce

Bug ID: BUG-000167756

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