mapbox-print-canvas
v0.0.6
Published
A library for get canvas dataURL from mapbox with all layers
Readme
Overview
A library for saving high resolution versions of mapbox-gl maps to a pdf with an optional header and/or footer that scales with the size of the format.
Installation
npm install mapbox-print-canvasStyling
The available properties/values are restricted by html2canvas, for a list of supported features see html2canvas.
Attribution
Attribution of maps is required. See tile provider terms for details.
License
Licensed under the MIT License.
Credits
- Matthew Petroff, Based on his work print-maps
- Mapbox GL JS
- jsPDF
- html2canvas
