mapbox / mapboxgl-jupyter

Use Mapbox GL JS to visualize data in a Python Jupyter notebook
MIT License
661 stars 136 forks source link

Please add interactive callback events to this widget. #177

Open dprophet opened 4 years ago

dprophet commented 4 years ago

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

I see in the 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 directory.