Disabled Kartaview from P4Review as it is dead and always gives an error message

This commit is contained in:
Pieter Vander Vennet 2024-05-21 01:06:06 +02:00
parent 988bc4fe7a
commit 729d6b974f

View file

@ -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 []
}
}