forked from MapComplete/MapComplete
Performance: fix PDF export for maps with many items
This commit is contained in:
parent
7ae1a6c00f
commit
03d976c567
6 changed files with 131 additions and 57 deletions
|
|
@ -15,7 +15,6 @@
|
|||
export let templateName: string
|
||||
export let state: ThemeViewState
|
||||
const template: PdfTemplateInfo = SvgToPdf.templates[templateName]
|
||||
console.log("template", template)
|
||||
let mainText: Translation =
|
||||
typeof template.description === "string"
|
||||
? new Translation(template.description)
|
||||
|
|
@ -47,7 +46,6 @@
|
|||
})
|
||||
|
||||
const unsub = creator.status.addCallbackAndRunD((s) => {
|
||||
console.log("SVG creator status:", s)
|
||||
status?.setData(s)
|
||||
})
|
||||
await creator.ExportPdf(Locale.language.data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue