mpetroff / print-maps

High-resolution maps in the browser, for printing
https://printmaps.mpetroff.net/
MIT License
286 stars 51 forks source link

Print Maps

Web maps normally don't print well, as their resolution is much lower than normal print resolution, not to mention the various other unwanted text and elements that print along with the map. Print Maps changes that by leveraging Mapbox GL JS to render print resolution maps in the browser.

Future updates

Due to Mapbox's new anti-FOSS stance, Mapbox GL JS will not be updated past v1.13. Please reach out to Mapbox to express your displeasure with this stance. Maintenance on this repository will continue as long as fixes can be made without updating Mapbox GL JS.

Options

Building

Add your Mapbox access token to js/script.js, run a local webserver such as python3 -m http.server, and open index.html.

Attribution

Attribution of maps is required. See tile provider terms for details.

License

Print Maps is distributed under the MIT License. For more information, read the file COPYING or peruse the license online.

Credits