forked from MapComplete/MapComplete
Add layer-control-toggle to the URL bar and in the share-screen, fix #90
This commit is contained in:
parent
734f571b5d
commit
0e4cd630e6
4 changed files with 32 additions and 5 deletions
11
Utils.ts
11
Utils.ts
|
@ -46,6 +46,17 @@ export class Utils {
|
|||
}
|
||||
return ls;
|
||||
}
|
||||
|
||||
public static NoEmpty(array: string[]): string[]{
|
||||
const ls: string[] = [];
|
||||
for (const t of array) {
|
||||
if (t === "") {
|
||||
continue;
|
||||
}
|
||||
ls.push(t);
|
||||
}
|
||||
return ls;
|
||||
}
|
||||
|
||||
public static CreateLanguagePicker(label: string | UIElement = "") {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue