forked from MapComplete/MapComplete
Chore: housekeeping
This commit is contained in:
parent
cd9e03dd6f
commit
b300fffdc5
156 changed files with 4436 additions and 1318 deletions
|
@ -83,11 +83,15 @@ export default class AllImageProviders {
|
|||
): number {
|
||||
let count = 0
|
||||
|
||||
const sources = [Imgur.singleton,
|
||||
const sources = [
|
||||
Imgur.singleton,
|
||||
Mapillary.singleton,
|
||||
Panoramax.singleton,
|
||||
AllImageProviders.genericImageProvider]
|
||||
const allPrefixes = Utils.Dedup(prefixes ?? [].concat(...sources.map(s => s.defaultKeyPrefixes)))
|
||||
AllImageProviders.genericImageProvider,
|
||||
]
|
||||
const allPrefixes = Utils.Dedup(
|
||||
prefixes ?? [].concat(...sources.map((s) => s.defaultKeyPrefixes))
|
||||
)
|
||||
for (const prefix of allPrefixes) {
|
||||
for (const k in tags) {
|
||||
if (!tags[k]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue