forked from MapComplete/MapComplete
Add A2 poster, fix pointer events, add templates to build output
This commit is contained in:
parent
d50fd663ef
commit
aaa7439b02
4 changed files with 2364 additions and 6 deletions
|
|
@ -1,4 +1,6 @@
|
|||
import { Utils } from "./Utils"
|
||||
import MinimapImplementation from "./UI/Base/MinimapImplementation";
|
||||
|
||||
7import { Utils } from "./Utils"
|
||||
import AllThemesGui from "./UI/AllThemesGui"
|
||||
import { QueryParameters } from "./Logic/Web/QueryParameters"
|
||||
import StatisticsGUI from "./UI/StatisticsGUI"
|
||||
|
|
@ -44,10 +46,11 @@ if (mode.data === "statistics") {
|
|||
new FixedUiElement("").AttachTo("centermessage")
|
||||
new StatisticsGUI().SetClass("w-full h-full pointer-events-auto").AttachTo("topleft-tools")
|
||||
} else if(mode.data === "pdf"){
|
||||
MinimapImplementation.initialize()
|
||||
new FixedUiElement("").AttachTo("centermessage")
|
||||
const div = document.createElement("div")
|
||||
div.id = "extra_div_for_maps"
|
||||
new PdfExportGui(div.id).AttachTo("topleft-tools")
|
||||
new PdfExportGui(div.id).SetClass("pointer-event-auto").AttachTo("topleft-tools")
|
||||
document.getElementById("topleft-tools").appendChild(div)
|
||||
} else {
|
||||
new AllThemesGui().setup()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue