forked from MapComplete/MapComplete
More css tweaks and bug fixes
This commit is contained in:
parent
fd350bb095
commit
eb4dda1ba2
29 changed files with 294 additions and 107303 deletions
|
@ -33,11 +33,15 @@ export class AllKnownLayouts {
|
|||
|
||||
|
||||
const all = new All();
|
||||
const knownKeys = []
|
||||
for (const layout of layouts) {
|
||||
for (const layer of layout.layers) {
|
||||
if (all.layers.indexOf(layer) >= 0) {
|
||||
const key = layer.overpassFilter.asOverpass().join("");
|
||||
if (knownKeys.indexOf(key) >= 0) {
|
||||
continue;
|
||||
}
|
||||
console.log(key)
|
||||
knownKeys.push(key);
|
||||
all.layers.push(layer);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue