Refactoring: move special visualisations into multiple files

This commit is contained in:
Pieter Vander Vennet 2025-01-29 20:37:04 +01:00
parent f057b0f358
commit b9bc3f5980
14 changed files with 839 additions and 801 deletions

View file

@ -2,7 +2,6 @@ import { Feature, Point } from "geojson"
import { UIEventSource } from "../../../Logic/UIEventSource"
import { SpecialVisualization, SpecialVisualizationState } from "../../SpecialVisualization"
import BaseUIElement from "../../BaseUIElement"
import LayerConfig from "../../../Models/ThemeConfig/LayerConfig"
import SvelteUIElement from "../../Base/SvelteUIElement"
import PointImportFlow from "./PointImportFlow.svelte"
import { PointImportFlowArguments, PointImportFlowState } from "./PointImportFlowState"
@ -20,9 +19,11 @@ export class PointImportButtonViz implements SpecialVisualization {
public readonly example?: string
public readonly args: { name: string; defaultValue?: string; doc: string; split?: boolean }[]
public needsUrls = []
group = "data_import"
constructor() {
this.funcName = "import_button"
this.docs =
"This button will copy the point from an external dataset into OpenStreetMap" +
ImportFlowUtils.documentationGeneral