Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Render with Mapbox GL JS #116

Open
ryanbaumann opened this issue Mar 26, 2018 · 1 comment · May be fixed by nottyboi513/jupyter-renderers#2 or #122
Open

[Enhancement] Render with Mapbox GL JS #116

ryanbaumann opened this issue Mar 26, 2018 · 1 comment · May be fixed by nottyboi513/jupyter-renderers#2 or #122

Comments

@ryanbaumann
Copy link

ryanbaumann commented Mar 26, 2018

Ref - mapbox/mapboxgl-jupyter#67

Mapbox GL JS is an open-source WebGL-based map rendering SDK. It can specifically render much, much larger geojson data than leaflet on the fly because:

  1. It creates vector tiles on the fly from geojson data using geojson-vt
  2. It renders tiles only in the viewport, with automatic simplification based on zoom level, using WebGL instead of HTML canvas elements

Consider switching Leaflet.js to Mapbox GL JS for jupyter-renderers geojson extension to improve the user experience working with larger geojson datasets.

@gnestor
Copy link
Collaborator

gnestor commented Apr 4, 2018

Great suggestion @ryanbaumann! I submitted a WIP PR. Will need to figure out the Typescript issue and loop in some others to determine whether switching from leaflet to mapbox-gl is the right move 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants