Refactoring: put all special visualisations into their own class, add their location into the documentation

This commit is contained in:
Pieter Vander Vennet 2025-06-26 05:20:12 +02:00
parent c0e7c9e8fa
commit ae5205f92d
29 changed files with 2270 additions and 2075 deletions

View file

@ -6,7 +6,7 @@ import { Feature } from "geojson"
import LayerConfig from "../../../Models/ThemeConfig/LayerConfig"
import { default as LanguageElementSvelte } from "./LanguageElement.svelte"
export class LanguageElement implements SpecialVisualization {
export class LanguageElement extends SpecialVisualization {
funcName: string = "language_chooser"
needsUrls = []
@ -45,7 +45,7 @@ export class LanguageElement implements SpecialVisualization {
},
]
example: `
example= `
\`\`\`json
{"special":
"type": "language_chooser",