forked from MapComplete/MapComplete
Add multi-apply box/feature, use it in etymology-theme to apply tags onto all segments of the same street
This commit is contained in:
parent
d0dfe9f607
commit
d3550fefbe
22 changed files with 355 additions and 78 deletions
|
@ -55,7 +55,6 @@ export default abstract class ImageProvider {
|
|||
}
|
||||
seenValues.add(value)
|
||||
this.ExtractUrls(key, value).then(promises => {
|
||||
console.log("Got ", promises.length, "promises for", value,"by",self.constructor.name)
|
||||
for (const promise of promises ?? []) {
|
||||
if (promise === undefined) {
|
||||
continue
|
||||
|
|
|
@ -27,7 +27,6 @@ export class WikidataImageProvider extends ImageProvider {
|
|||
if(entity === undefined){
|
||||
return []
|
||||
}
|
||||
console.log("Entity:", entity)
|
||||
|
||||
const allImages : Promise<ProvidedImage>[] = []
|
||||
// P18 is the claim 'depicted in this image'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue