mapbox / mapboxgl-jupyter

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

Add boolean switches for zoom behavior (scroll zoom, touch zoom, drag… #119

Closed akacarlyann closed 6 years ago

akacarlyann commented 6 years ago

… zoom and double-click zoom)

Closes #113

ryanbaumann commented 6 years ago

Nice @akacarlyann, looks good to me. Any tests we should add to cover these new flags?

akacarlyann commented 6 years ago

@ryanbaumann Happy to add some, but can you suggest a structure for the test functions? This just passes additional info to the base.html template (similar to the bearing and zoom arguments) that were previously handled by the MapboxGL defaults for maps. Otherwise, this PR is also ready for review.