Package Exports
- mapbox-print-canvas
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mapbox-print-canvas) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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