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
19
src/Models/ThemeConfig/PresetConfig.ts
Normal file
19
src/Models/ThemeConfig/PresetConfig.ts
Normal file
|
@ -0,0 +1,19 @@
|
|||
import { Translation } from "../../UI/i18n/Translation"
|
||||
import { Tag } from "../../Logic/Tags/Tag"
|
||||
|
||||
export interface PreciseInput {
|
||||
preferredBackground?: ("map" | "photo" | "osmbasedmap" | "historicphoto" | string)[]
|
||||
snapToLayers?: string[]
|
||||
maxSnapDistance?: number
|
||||
}
|
||||
|
||||
export default interface PresetConfig {
|
||||
title: Translation
|
||||
tags: Tag[]
|
||||
description?: Translation
|
||||
exampleImages?: string[]
|
||||
/**
|
||||
* If precise input is set, then an extra map is shown in which the user can drag the map to the precise location
|
||||
*/
|
||||
preciseInput?: PreciseInput
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue