forked from MapComplete/MapComplete
Update theme-template.json
This commit is contained in:
parent
a776db1901
commit
671ba2a0bd
1 changed files with 10 additions and 10 deletions
|
@ -10,7 +10,7 @@
|
||||||
"version": "2022-03-12",
|
"version": "2022-03-12",
|
||||||
"title": {
|
"title": {
|
||||||
"en": "Title of your theme",
|
"en": "Title of your theme",
|
||||||
"#": "You can add extra languages here (and in all translation blocks), but make sure 'en' is everywhere"
|
"#1": "You can add extra languages here (and in all translation blocks), but make sure 'en' is everywhere"
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"en": "The welcome message goes here"
|
"en": "The welcome message goes here"
|
||||||
|
@ -19,14 +19,14 @@
|
||||||
"startZoom": 0,
|
"startZoom": 0,
|
||||||
"startLat": 0,
|
"startLat": 0,
|
||||||
"startLon": 0,
|
"startLon": 0,
|
||||||
"#": "For more options and configuration, see the documentation in LayoutConfig.json",
|
"#7": "For more options and configuration, see the documentation in LayoutConfig.json",
|
||||||
"#layers": "The list of layers is where most of the content will be. Either reuse an already existing layer by simply calling it's ID or define a whole new layer. An overview of builtin layers is at https://github.com/pietervdvn/MapComplete/blob/develop/Docs/BuiltinLayers.md#normal-layers",
|
"#8": "`layers` is where most of the content will be. Either reuse an already existing layer by simply calling it's ID or define a whole new layer. An overview of builtin layers is at https://github.com/pietervdvn/MapComplete/blob/develop/Docs/BuiltinLayers.md#normal-layers",
|
||||||
"layers": [
|
"layers": [
|
||||||
{
|
{
|
||||||
"id": "a singular noun describing the feature, in english",
|
"id": "a singular noun describing the feature, in english",
|
||||||
"source": {
|
"source": {
|
||||||
"osmTags": {
|
"osmTags": {
|
||||||
"#": "For a description on which tags are possible, see https://github.com/pietervdvn/MapComplete/blob/develop/Docs/Tags_format.md",
|
"#1": "For a description on which tags are possible, see https://github.com/pietervdvn/MapComplete/blob/develop/Docs/Tags_format.md",
|
||||||
"and": [
|
"and": [
|
||||||
"key0=value0",
|
"key0=value0",
|
||||||
"key1=value1",
|
"key1=value1",
|
||||||
|
@ -54,12 +54,12 @@
|
||||||
{
|
{
|
||||||
"if": "name~*",
|
"if": "name~*",
|
||||||
"then": {
|
"then": {
|
||||||
"#": "If name is given, use name instead as popup title. Note that the translation here uses '*' instead of 'en', which'll be shown in every language",
|
"#1": "If name is given, use name instead as popup title. Note that the translation here uses '*' instead of 'en', which'll be shown in every language",
|
||||||
"*": "{name}"
|
"*": "{name}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"#": "Note that this is a tagRendering, but doesn't have a question field"
|
"#1": "Note that this is a tagRendering, but doesn't have a question field"
|
||||||
},
|
},
|
||||||
"allowMove": true,
|
"allowMove": true,
|
||||||
"deletion": {
|
"deletion": {
|
||||||
|
@ -143,7 +143,7 @@
|
||||||
},
|
},
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"key": "some_osm_key",
|
"key": "some_osm_key",
|
||||||
"#": "Types can be found at https://github.com/pietervdvn/MapComplete/blob/develop/Docs/SpecialInputElements.md",
|
"#1": "Types can be found at https://github.com/pietervdvn/MapComplete/blob/develop/Docs/SpecialInputElements.md",
|
||||||
"type": "nat"
|
"type": "nat"
|
||||||
},
|
},
|
||||||
"mappings": [
|
"mappings": [
|
||||||
|
@ -152,7 +152,7 @@
|
||||||
"then": {
|
"then": {
|
||||||
"en": "Text on radio button which also is shown if somekey=some_value is present on the object"
|
"en": "Text on radio button which also is shown if somekey=some_value is present on the object"
|
||||||
},
|
},
|
||||||
"#": "If this option is picked as answer, these tags will be added additionally. However, if 'somekey=some_value' is present, the above rendering will be shown",
|
"#1": "If this option is picked as answer, these tags will be added additionally. However, if 'somekey=some_value' is present, the above rendering will be shown",
|
||||||
"addExtraTags": [
|
"addExtraTags": [
|
||||||
"extrakey=extravalue"
|
"extrakey=extravalue"
|
||||||
]
|
]
|
||||||
|
@ -169,9 +169,9 @@
|
||||||
"icon": {
|
"icon": {
|
||||||
"path": "/path/to/extra-icon.svg OR url",
|
"path": "/path/to/extra-icon.svg OR url",
|
||||||
"class": "medium",
|
"class": "medium",
|
||||||
"#": "An extra icon supporting this option"
|
"#1": "An extra icon supporting this option"
|
||||||
},
|
},
|
||||||
"#": "If this option is picked as answer, these tags will be added additionally. However, if 'somekey=some_value' is present, the above rendering will be shown",
|
"#1": "If this option is picked as answer, these tags will be added additionally. However, if 'somekey=some_value' is present, the above rendering will be shown",
|
||||||
"addExtraTags": [
|
"addExtraTags": [
|
||||||
"extrakey=extravalue"
|
"extrakey=extravalue"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue