forked from MapComplete/MapComplete
Feature: add link to the original provider, see #2387
This commit is contained in:
parent
991925ba35
commit
3e5b1444cc
10 changed files with 51 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue