Web maps normally don't print well, as their resolution is much lower than normal print resolution. With Print CARTO Maps you can get high resolution maps for printing by leveraging Maplibre GL JS along with deck.gl to render maps created with CARTO Builder.
- Inches or millimeters
- PNG or PDF output (PDF is Letter size for inches, A4 for millimeters)
- Choice of map styles
- Height and width settings
- DPI setting
- Create your map with CARTO Builder
- Share the map publicly and copy the Map ID
- Enter the Map ID in the corresponding text box and click on the "Load" button
- Choose the desired options
- Click on the "Generate Map" button
- The application only works with maps shared publicly
- The application does not support Google Maps basemap. If the map uses one of those, it will switch to a default CARTO basemap.
Run a local webserver such as python3 -m http.server
, and open index.html
.
$ cp index.html build
$ cp -r css build
$ cp -r js build
$ firebase deploy
Attribution of maps is required. See tile provider terms for details.
Print CARTO Maps is forked from Print Maps by Matthew Petroff.
Print Maps is distributed under the MIT License. For more information, read the
file COPYING
or peruse the license
online.
- Matthew Petroff, Original Author
- MapLibre GL JS
- FileSaver.js
- canvas-toBlob.js
- jsPDF
- Bootstrap