Themes: allow to easily import tagrenderings and add a prefix key to all tags

This commit is contained in:
Pieter Vander Vennet 2025-04-21 02:51:41 +02:00
parent 4d9bdaf877
commit 01680f236c
9 changed files with 201 additions and 31 deletions

View file

@ -1,11 +1,7 @@
import { Store, UIEventSource } from "../Logic/UIEventSource"
import BaseUIElement from "./BaseUIElement"
import ThemeConfig from "../Models/ThemeConfig/ThemeConfig"
import {
FeatureSource,
IndexedFeatureSource,
WritableFeatureSource,
} from "../Logic/FeatureSource/FeatureSource"
import { FeatureSource, IndexedFeatureSource, WritableFeatureSource } from "../Logic/FeatureSource/FeatureSource"
import { OsmConnection } from "../Logic/Osm/OsmConnection"
import { Changes } from "../Logic/Osm/Changes"
import { ExportableMap, MapProperties } from "../Models/MapProperties"
@ -100,7 +96,8 @@ export interface SpecialVisualization {
name: string
defaultValue?: string
doc: string
required?: false | boolean
required?: false | boolean,
type?: "key"
}[]
readonly getLayerDependencies?: (argument: string[]) => string[]
@ -133,7 +130,8 @@ export interface SpecialVisualizationSvelte {
name: string
defaultValue?: string
doc: string
required?: false | boolean
required?: false | boolean,
type?: "key" | string
}[]
readonly getLayerDependencies?: (argument: string[]) => string[]