Cookiecutter Web Map Template #367
PhilipMathieu
started this conversation in
Show and tell
Replies: 1 comment 3 replies
-
@PhilipMathieu Looks nice so far! I would suggest having a large dataset > 5MB or so to clarify the motivation for using PMTiles over GeoJSON, a GeoJSON of <1MB can be loaded directly in the browser without the complexity of that tiling conversion step. For templates you could also try the new Observable Framework, I made a leaflet/maplibre/pmtiles example here: https://github.com/bdon/observable-framework-maps |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey y'all,
I posted previously about some of my work helping integrate geospatial technologies into the data science program at my grad school (Northeastern University, Portland Maine campus). After exploring a lot of different options, I set up a
cookiecutter
template at https://github.com/PhilipMathieu/cookiecutter-bootstrap-maplibre-pmtilesThe template sets up a simple project with the following structure:
The README explains how to take a new GeoJSON file, generate a pmtiles file, and add it to the map in docs/index.html. I tried to keep the HTML code as minimal as possible while including some of the most important "nice to haves" - namely, basic column layouts, full-width map, and ability to override colors. You can view the sample project here.
Would love any comments or feedback! I'm hoping to "beta test" this with some of my fellow students later this spring.
Beta Was this translation helpful? Give feedback.
All reactions