iconBadge.then,
context + ".iconBadges[" + i + "]"
)
errs.push(...errors)
diff --git a/src/Models/ThemeConfig/Json/LayerConfigJson.ts b/src/Models/ThemeConfig/Json/LayerConfigJson.ts
index 3e17c1e12..664c6662d 100644
--- a/src/Models/ThemeConfig/Json/LayerConfigJson.ts
+++ b/src/Models/ThemeConfig/Json/LayerConfigJson.ts
@@ -10,6 +10,8 @@ import { QuestionableTagRenderingConfigJson } from "./QuestionableTagRenderingCo
import RewritableConfigJson from "./RewritableConfigJson"
import { Translatable } from "./Translatable"
+type MapRendering = {}
+
/**
* Configuration for a single layer
*/
@@ -239,17 +241,9 @@ export interface LayerConfigJson {
* Visualisation of the items on the map
* Set 'null' explicitly if you do not want a maprendering
* group: maprendering
+ * types: PointRendering ; LineRendering
*/
- mapRendering?: (
- | PointRenderingConfigJson
- | LineRenderingConfigJson
- | RewritableConfigJson<
- | LineRenderingConfigJson
- | PointRenderingConfigJson
- | LineRenderingConfigJson[]
- | PointRenderingConfigJson[]
- >
- )[]
+ mapRendering?: (PointRenderingConfigJson | LineRenderingConfigJson)[]
/**
* If set, this layer will pass all the features it receives onto the next layer.
diff --git a/src/UI/Studio/Region.svelte b/src/UI/Studio/Region.svelte
index 9b07c6efb..aafc537a9 100644
--- a/src/UI/Studio/Region.svelte
+++ b/src/UI/Studio/Region.svelte
@@ -28,9 +28,6 @@ export let path: (string | number)[] = [];
{:else}
-
- {JSON.stringify(configs, null, " ")}
-
{#each configs as config}
diff --git a/src/UI/Studio/SchemaBasedMultiType.svelte b/src/UI/Studio/SchemaBasedMultiType.svelte
index 6b141b34f..5df7213ae 100644
--- a/src/UI/Studio/SchemaBasedMultiType.svelte
+++ b/src/UI/Studio/SchemaBasedMultiType.svelte
@@ -122,7 +122,6 @@
const oldOption = chosenOption;
chosenOption = tags["value"] ? Number(tags["value"]) : defaultOption;
const type = schema.type[chosenOption];
- console.log("Subtype is", type, {chosenOption, oldOption, schema});
if (chosenOption !== oldOption) {
// Reset the values beneath
subSchemas = [];
diff --git a/src/assets/schemas/layerconfigmeta.json b/src/assets/schemas/layerconfigmeta.json
index 742d426f9..a0ade2343 100644
--- a/src/assets/schemas/layerconfigmeta.json
+++ b/src/assets/schemas/layerconfigmeta.json
@@ -1583,6 +1583,7 @@
],
"required": false,
"hints": {
+ "types": "PointRendering ; LineRendering ;",
"group": "maprendering"
},
"type": [
@@ -43330,6 +43331,10 @@
"if": "value=elevator",
"then": "elevator - This layer show elevators and asks for operational status and elevator dimensions. Useful for wheelchair accessibility information"
},
+ {
+ "if": "value=elongated_coin",
+ "then": "elongated_coin - Layer showing penny presses."
+ },
{
"if": "value=entrance",
"then": "entrance - A layer showing entrances and offering capabilities to survey some advanced data which is important for e.g. wheelchair users (but also bicycle users, people who want to deliver, …)"