forked from MapComplete/MapComplete
Chore: move RasterLayerProperties into separate file in order for the schema generator to work
This commit is contained in:
parent
498b2bb8d6
commit
e4e99c0b0a
11 changed files with 59342 additions and 1626 deletions
34
Models/RasterLayerProperties.ts
Normal file
34
Models/RasterLayerProperties.ts
Normal file
|
@ -0,0 +1,34 @@
|
|||
export interface RasterLayerProperties {
|
||||
/**
|
||||
* The name of the imagery source
|
||||
*/
|
||||
readonly name: string | Record<string, string>
|
||||
|
||||
readonly isOverlay?: boolean
|
||||
|
||||
readonly id: string
|
||||
|
||||
readonly url: string
|
||||
readonly category?:
|
||||
| string
|
||||
| "photo"
|
||||
| "map"
|
||||
| "historicmap"
|
||||
| "osmbasedmap"
|
||||
| "historicphoto"
|
||||
| "qa"
|
||||
| "elevation"
|
||||
| "other"
|
||||
|
||||
readonly attribution?: {
|
||||
readonly url?: string
|
||||
readonly text?: string
|
||||
readonly html?: string
|
||||
readonly required?: boolean
|
||||
}
|
||||
|
||||
readonly min_zoom?: number
|
||||
readonly max_zoom?: number
|
||||
|
||||
readonly best?: boolean
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue