forked from MapComplete/MapComplete
Feat: more integrations of panoramax: add panoramax to nearby images view, add to drawer, add icon, see #1451
This commit is contained in:
parent
d079f8379b
commit
5fd1d75efb
24 changed files with 617 additions and 33 deletions
|
@ -17,7 +17,8 @@ export interface ProvidedImage {
|
|||
*/
|
||||
rotation?: number
|
||||
lat?: number,
|
||||
lon?: number
|
||||
lon?: number,
|
||||
host?: string
|
||||
}
|
||||
|
||||
export default abstract class ImageProvider {
|
||||
|
@ -25,7 +26,7 @@ export default abstract class ImageProvider {
|
|||
|
||||
public abstract readonly name: string
|
||||
|
||||
public abstract SourceIcon(id?: string, location?: { lon: number; lat: number }): BaseUIElement
|
||||
public abstract SourceIcon(img?: {id: string, url: string, host?: string}, location?: { lon: number; lat: number }): BaseUIElement
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue