Use html2canvas instead of dom-to-image

This commit is contained in:
Andreas Hocevar
2021-06-20 23:41:44 +02:00
parent e82a86f563
commit 670ea6db9d
5 changed files with 32 additions and 27 deletions

View File

@@ -6,7 +6,7 @@ docs: >
Example of exporting a map as a PDF using the <a href="https://github.com/MrRio/jsPDF" target="_blank">jsPDF</a> library.
tags: "export, pdf, openstreetmap"
resources:
- https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.5.3/jspdf.min.js
- https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.3.1/jspdf.umd.min.js
---
<div class="row-fluid">
<div class="span12">