forked from MapComplete/MapComplete
Chore: Remove unused variables
This commit is contained in:
parent
1a415f4815
commit
e68b31e267
42 changed files with 48 additions and 106 deletions
|
|
@ -698,7 +698,7 @@ class SvgToPdfPage {
|
|||
}
|
||||
|
||||
for (const mapSpec of mapSpecs) {
|
||||
await this.prepareMap(mapSpec, !this.options?.disableDataLoading)
|
||||
await this.prepareMap(mapSpec)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -840,7 +840,7 @@ class SvgToPdfPage {
|
|||
/**
|
||||
* Replaces a mapSpec with the appropriate map
|
||||
*/
|
||||
private async prepareMap(mapSpec: SVGTSpanElement, loadData: boolean): Promise<void> {
|
||||
private async prepareMap(mapSpec: SVGTSpanElement): Promise<void> {
|
||||
if (this.options.disableMaps) {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue