forked from MapComplete/MapComplete
Disabled Kartaview from P4Review as it is dead and always gives an error message
This commit is contained in:
parent
988bc4fe7a
commit
729d6b974f
1 changed files with 4 additions and 2 deletions
|
@ -49,7 +49,9 @@ export default class NearbyImagesSearch {
|
|||
private readonly _options: NearbyImageOptions
|
||||
|
||||
constructor(options: NearbyImageOptions, features: IndexedFeatureSource) {
|
||||
this.individualStores = NearbyImagesSearch.services.map((s) =>
|
||||
this.individualStores = NearbyImagesSearch.services
|
||||
.filter(s => s !== "kartaview" /*DEAD*/)
|
||||
.map((s) =>
|
||||
NearbyImagesSearch.buildPictureFetcher(options, s)
|
||||
)
|
||||
|
||||
|
@ -98,7 +100,7 @@ export default class NearbyImagesSearch {
|
|||
)
|
||||
return pics
|
||||
} catch (e) {
|
||||
console.error("Could not fetch images from service", fetcher, e)
|
||||
console.warn("Could not fetch images from service", fetcher, e)
|
||||
return []
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue