Add feature switches to layouts, add option to remove a layout from more-screen
This commit is contained in:
parent
21dd38c3c7
commit
7882747424
7 changed files with 19 additions and 8 deletions
|
@ -22,10 +22,8 @@ export class MoreScreen extends UIElement {
|
|||
|
||||
const els: UIElement[] = []
|
||||
for (const k in AllKnownLayouts.allSets) {
|
||||
if (k === "all") {
|
||||
continue;
|
||||
}
|
||||
const layout = AllKnownLayouts.allSets[k]
|
||||
if(layout.hideFromOverview){continue}
|
||||
|
||||
const linkText =
|
||||
`https://pietervdvn.github.io/MapComplete/${layout.name}.html?z=${this.currentLocation.data.zoom}&lat=${this.currentLocation.data.lat}&lon=${this.currentLocation.data.lon}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue