forked from MapComplete/MapComplete
Cyclenodes: add ability to add nodes
This commit is contained in:
parent
1aeb1fdb5b
commit
49f7857eb0
1 changed files with 32 additions and 3 deletions
|
@ -81,12 +81,18 @@
|
||||||
"en": "nodes"
|
"en": "nodes"
|
||||||
},
|
},
|
||||||
"source": {
|
"source": {
|
||||||
"osmTags": "rcn_ref~*"
|
"osmTags": {
|
||||||
|
"or": [
|
||||||
|
"network:type=node_network",
|
||||||
|
"rcn_ref~*"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"minzoom": 12,
|
"minzoom": 12,
|
||||||
"title": {
|
"title": {
|
||||||
"render": {
|
"render": {
|
||||||
"en": "cycle node <strong>{rcn_ref}</strong>"
|
"en": "cycle node <strong>{rcn_ref}</strong>",
|
||||||
|
"de": "Knotenpunkt"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"label": {
|
"label": {
|
||||||
|
@ -94,9 +100,32 @@
|
||||||
{
|
{
|
||||||
"if": "rcn_ref~*",
|
"if": "rcn_ref~*",
|
||||||
"then": "<div style='position: absolute; top: 10px; right: 10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%'>{rcn_ref}</div>"
|
"then": "<div style='position: absolute; top: 10px; right: 10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%'>{rcn_ref}</div>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "rcn_ref=",
|
||||||
|
"then": "<div style='position: absolute; top: 10px; right: 10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%'>?</div>"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"presets": [
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"de": "Knotenpunkt"
|
||||||
|
},
|
||||||
|
"tags": [
|
||||||
|
"network:type=node_network"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"de": "Knotenpunkt im Netzwerk Spree-Neiße"
|
||||||
|
},
|
||||||
|
"tags": [
|
||||||
|
"network:type=node_network",
|
||||||
|
"cycle_network=Knotenpunktwegweisung Spree-Neiße"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"tagRenderings": [
|
"tagRenderings": [
|
||||||
{
|
{
|
||||||
"question": {
|
"question": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue