Skip to content

chelm/jupbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jup Box Hero

A Python interface to react-mapbox-gl for using in a Jupyter Notebook.

Install

pip install https://github.com/chelm/jupbox/archive/master.zip && jupyter nbextension enable --py jupbox

Example usage

from jupbox import Map, GeoJsonLayer
from IPython.display import display

m = Map(zoom=10, center=[lon, lat], api_key='YOUR_MB_TOKEN')

layer = GeoJsonLayer(geojson, style={})

m.add_layer(layer)

display(m)

About

A python interface to Mapbox GL maps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages