forked from MapComplete/MapComplete
Feature(360): attempt to fix CSP
This commit is contained in:
parent
a30f25f42a
commit
558b19f8d7
5 changed files with 132 additions and 55 deletions
|
@ -33,6 +33,30 @@ export interface PanoramaView {
|
|||
pitchOffset?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* The property of "nearbyFeatures" in ImagePreview.svelte.
|
||||
* These properties declare how they are rendered
|
||||
*/
|
||||
export interface HotspotProperties {
|
||||
/**
|
||||
* The popup text when hovering
|
||||
*/
|
||||
name: string
|
||||
|
||||
/**
|
||||
* If true: the panorama view will automatically turn towards this object
|
||||
*/
|
||||
focus: boolean
|
||||
/**
|
||||
* The pitch degrees to display this.
|
||||
* If "auto": will determine the pitch automatically based on distance
|
||||
*/
|
||||
pitch: number | "auto"
|
||||
|
||||
gotoPanorama: Feature<Point, PanoramaView>
|
||||
|
||||
}
|
||||
|
||||
export default abstract class ImageProvider {
|
||||
public abstract readonly defaultKeyPrefixes: string[]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue