Merge upload GPX-tracks to OSM; split 'specialVisualisations' into multiple smaller classes
This commit is contained in:
commit
8d304f9a56
37 changed files with 1459 additions and 1057 deletions
16
UI/SpecialVisualization.ts
Normal file
16
UI/SpecialVisualization.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import {UIEventSource} from "../Logic/UIEventSource";
|
||||
import BaseUIElement from "./BaseUIElement";
|
||||
|
||||
export interface SpecialVisualization {
|
||||
funcName: string
|
||||
constr: (
|
||||
state: any, /*FeaturePipelineState*/
|
||||
tagSource: UIEventSource<any>,
|
||||
argument: string[],
|
||||
guistate: any /*DefaultGuiState*/
|
||||
) => BaseUIElement
|
||||
docs: string | BaseUIElement
|
||||
example?: string
|
||||
args: { name: string; defaultValue?: string; doc: string; required?: false | boolean }[]
|
||||
getLayerDependencies?: (argument: string[]) => string[]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue