0.0.6 • Published 5 years ago
mapbox-print-canvas v0.0.6
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-canvas
Styling
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