Feature: add provider to photosphereview

This commit is contained in:
Pieter Vander Vennet 2025-06-05 11:40:56 +02:00
parent 236d4d87da
commit b269d210bb
5 changed files with 19 additions and 12 deletions

View file

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