mapbox / mapbox/mapboxgl-jupyter

Please add interactive callback events to this widget.

Open
#177 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
681
Forks
137
PR merge metrics
No merged PRs in 30d

Description

Please add interactive events in this Mapbox widget, like what ipyleaflet has

I see in the [ROADMAP.md](../blob/master/ROADMAP.md)
"Hover/Highlight/select styles on mousemove and selection on click"

I do see some
```
map.on('click', 'linestring', function(e) {
map.flyTo({
center: e.lngLat
});
});
```

But this work does not appear to be done?

Even if this is complete there are no examples of using interactive events in the mapbox [examples](../tree/master/examples/notebooks) directory.

Contributor guide

Open the contributing guide

Research direction

Start with ROADMAP.md and the examples/notebooks directory, then inspect how the widget currently exposes Mapbox interactions and compare the requested behavior with ipyleaflet. Done means interactive callback events are supported and demonstrated in notebook examples, including the hover, highlight, or click behavior described in the roadmap.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jupyter-notebook, python
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.