forked from MapComplete/MapComplete
Refactoring: move all code files into a src directory
This commit is contained in:
parent
de99f56ca8
commit
e75d2789d2
389 changed files with 0 additions and 12 deletions
35
src/Models/RasterLayerProperties.ts
Normal file
35
src/Models/RasterLayerProperties.ts
Normal file
|
@ -0,0 +1,35 @@
|
|||
export type EliCategory =
|
||||
| "photo"
|
||||
| "map"
|
||||
| "historicmap"
|
||||
| "osmbasedmap"
|
||||
| "historicphoto"
|
||||
| "qa"
|
||||
| "elevation"
|
||||
| "other"
|
||||
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 | EliCategory
|
||||
readonly type?: "vector" | string
|
||||
|
||||
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