mapbox / mapboxgl-jupyter

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

Will Mapbox add support for JupyterLab? #176

Open dprophet opened 4 years ago

dprophet commented 4 years ago

Will Mapbox add support for JupyterLab?

Take a look at ipyleaflet in how they create the nbextensions

https://github.com/jupyter-widgets/ipyleaflet#installation

It seems that Mapbox created this quick prototype but its not keeping up with Jupyter development. A fully interactive Mapbox JupyterLab widget would be amazing for DataScience.

This means moving away from your IFrame to a 1st class citizen widget in Jupyter with all of the on_hover, on_click, etc interactive events.

akacarlyann commented 4 years ago

Hi there! Is this something you'd be interested in collaborating on?

dprophet commented 4 years ago

@akacarlyann Sorry, it has taken a while but I had to get some other work finished up. Absolutely, collaboration makes better results and makes us consider other use cases.

My rough trajectory is 1) Remove iFrame 2) Add in jupyter nbextensions extensions 3) Add #177 (interactive callbacks).

Maps are great for humans viewing a map but there is so much more thats needed for geospatial data exploration. Interactive Spread Sheets, Bindings between spread sheets+data frames+maps, events allowing selections between spread sheets and the MAP widget itself.

akacarlyann commented 4 years ago

@dprophet I think there was some interest in shifting away from iFrames by other users as well. I haven't really looked into that so it would be cool to see what you come up with!

dprophet commented 4 years ago

@akacarlyann I believe @lerenah will be starting on this. Perhaps you 2 want to collaborate together.

akacarlyann commented 4 years ago

@dprophet I'm not a jupyter lab user, but happy to provide input on what's currently implemented in this repo :)

spawn-guy commented 2 years ago

are there any news on this?

we use MapBoxGL in production, and now a little bit with jupyter-lab. i'd like to plot a lot of point-data - i am expecting webGL to help with this a lot