forked from MapComplete/MapComplete
Feature: add provider to photosphereview
This commit is contained in:
parent
236d4d87da
commit
b269d210bb
5 changed files with 19 additions and 12 deletions
|
@ -36,6 +36,7 @@ export interface PanoramaView {
|
|||
*/
|
||||
northOffset?: number
|
||||
pitchOffset?: number
|
||||
provider: ImageProvider | string
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -124,7 +125,7 @@ export default abstract class ImageProvider {
|
|||
|
||||
public abstract DownloadAttribution(providedImage: {
|
||||
url: string
|
||||
id: string
|
||||
id?: string
|
||||
}): Promise<LicenseInfo>
|
||||
|
||||
public abstract apiUrls(): string[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue