Feature: add link to the original provider, see #2387

This commit is contained in:
Pieter Vander Vennet 2025-04-23 21:35:43 +02:00
parent 991925ba35
commit 3e5b1444cc
10 changed files with 51 additions and 5 deletions

View file

@ -125,6 +125,11 @@ export default abstract class ImageProvider {
public abstract apiUrls(): string[]
/**
* URL to visit the image on the original website
*/
public abstract visitUrl(image: Partial<ProvidedImage>, location?: { lon: number, lat: number }): string | undefined
public abstract getPanoramaInfo(image: {
id: string
}): Promise<Feature<Point, PanoramaView>> | undefined