forked from MapComplete/MapComplete
Refactoring: add hotkeys to switch backgrounds
This commit is contained in:
parent
3c0a19ebc6
commit
ee4b0fd238
8 changed files with 63 additions and 20 deletions
|
@ -1,3 +1,12 @@
|
|||
export type EliCategory =
|
||||
| "photo"
|
||||
| "map"
|
||||
| "historicmap"
|
||||
| "osmbasedmap"
|
||||
| "historicphoto"
|
||||
| "qa"
|
||||
| "elevation"
|
||||
| "other"
|
||||
export interface RasterLayerProperties {
|
||||
/**
|
||||
* The name of the imagery source
|
||||
|
@ -9,16 +18,7 @@ export interface RasterLayerProperties {
|
|||
readonly id: string
|
||||
|
||||
readonly url: string
|
||||
readonly category?:
|
||||
| string
|
||||
| "photo"
|
||||
| "map"
|
||||
| "historicmap"
|
||||
| "osmbasedmap"
|
||||
| "historicphoto"
|
||||
| "qa"
|
||||
| "elevation"
|
||||
| "other"
|
||||
readonly category?: string | EliCategory
|
||||
|
||||
readonly attribution?: {
|
||||
readonly url?: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue