share_eventsο
- pick.share_events(*args, ensure_same_id=False)ο
Share callback-events between this Maps-object and other Maps-objects.
(e.g. share events both ways)
Note
For pick-events, you can use the additional keyword-argument ensure_same_id to make sure that all events pick the exact same ID.
- Parameters:
args (eomaps.Maps) β The Maps-objects that should execute the callback.
ensure_same_id (bool) β
If True, all pick-events are triggered by the same ID value. (e.g. the ID of the datapoint that was actually picked)
If False, each map executes the pick-event with respect to the reprojected mouse-position and identifies the closest datapoint to use.
The default is False