Themes: add 'allow_copy' to some layers (e.g. bench, ...)

This commit is contained in:
Pieter Vander Vennet 2025-07-07 18:26:42 +02:00
parent 2f89f9203d
commit a7fe72abdf
19 changed files with 52 additions and 21 deletions

View file

@ -1867,5 +1867,6 @@
"enableImproveAccuracy": true, "enableImproveAccuracy": true,
"enableRelocation": false "enableRelocation": false
}, },
"enableMorePrivacy": true "enableMorePrivacy": true,
"allowCopy": true
} }

View file

@ -1325,5 +1325,6 @@
"allowMove": { "allowMove": {
"enableRelocation": false, "enableRelocation": false,
"enableImproveAccuracy": true "enableImproveAccuracy": true
} },
"allowCopy": true
} }

View file

@ -1224,5 +1224,6 @@
] ]
} }
} }
] ],
"allowCopy": true
} }

View file

@ -203,5 +203,6 @@
"allowMove": { "allowMove": {
"enableRelocation": false, "enableRelocation": false,
"enableImproveAccuracy": true "enableImproveAccuracy": true
} },
"allowCopy": true
} }

View file

@ -107,5 +107,6 @@
"allowMove": { "allowMove": {
"enableImproveAccuracy": true, "enableImproveAccuracy": true,
"enableRelocation": false "enableRelocation": false
} },
"allowCopy": true
} }

View file

@ -3973,5 +3973,6 @@
} }
} }
], ],
"#": "no-question-hint-check" "#": "no-question-hint-check",
"allowCopy": true
} }

View file

@ -220,6 +220,7 @@
} }
}, },
"allowMove": false, "allowMove": false,
"allowCopy": true,
"credits": "Robin van der Linde", "credits": "Robin van der Linde",
"credits:uid": 5093765 "credits:uid": 5093765
} }

View file

@ -570,5 +570,6 @@
] ]
} }
} }
] ],
"allowCopy": true
} }

View file

@ -576,5 +576,6 @@
"allowMove": { "allowMove": {
"enableRelocation": false, "enableRelocation": false,
"enableImproveAccuracy": true "enableImproveAccuracy": true
} },
"allowCopy": true
} }

View file

@ -635,5 +635,6 @@
] ]
} }
} }
] ],
"allowCopy": true
} }

View file

@ -336,5 +336,6 @@
"deletion": true, "deletion": true,
"allowMove": { "allowMove": {
"enableImproveAccuracy": true "enableImproveAccuracy": true
} },
"allowCopy": true
} }

View file

@ -180,5 +180,6 @@
"allowMove": { "allowMove": {
"enableRelocation": false, "enableRelocation": false,
"enableImproveAccuracy": true "enableImproveAccuracy": true
} },
"allowCopy": true
} }

View file

@ -329,5 +329,6 @@
"allowMove": { "allowMove": {
"enableImproveAccuracy": true, "enableImproveAccuracy": true,
"enableRelocation": false "enableRelocation": false
} },
"allowCopy": true
} }

View file

@ -857,5 +857,6 @@
"allowMove": { "allowMove": {
"enableImproveAccuracy": true, "enableImproveAccuracy": true,
"enableRelocation": false "enableRelocation": false
} },
"allowCopy": true
} }

View file

@ -1596,5 +1596,6 @@
"allowMove": { "allowMove": {
"enableImproveAccuracy": true, "enableImproveAccuracy": true,
"enableRelocation": true "enableRelocation": true
} },
"allowCopy": true
} }

View file

@ -35,12 +35,14 @@
"minzoom": 12, "minzoom": 12,
"title": { "title": {
"render": "{name}", "render": "{name}",
"mappings": [{ "mappings": [
{
"if": "name=", "if": "name=",
"then": { "then": {
"en": "Information office" "en": "Information office"
} }
}] }
]
}, },
"pointRendering": [ "pointRendering": [
{ {

View file

@ -495,5 +495,6 @@
"allowMove": { "allowMove": {
"enableRelocation": false, "enableRelocation": false,
"enableImproveAccuracy": true "enableImproveAccuracy": true
} },
"allowCopy": true
} }

View file

@ -337,5 +337,6 @@
] ]
} }
} }
] ],
"allowCopy": true
} }

View file

@ -543,6 +543,18 @@ export interface LayerConfigJson {
*/ */
allowMove?: MoveConfigJson | boolean allowMove?: MoveConfigJson | boolean
/**
* If set, a button 'copy point' will be shown.
* If clicked, the contributor can copy the point and create an identical copy, including pictures.
*
* group: editing
* question: Is copying a selected point allowed?
* iftrue: Allow contributors to copy a point
* iffalse: Don't allow contributors to copy points
* ifunset: Don't allow contributors to copy points (default)
*/
allowCopy?: boolean
/** /**
* If set, a 'split this way' button is shown on objects rendered as LineStrings, e.g. highways. * If set, a 'split this way' button is shown on objects rendered as LineStrings, e.g. highways.
* *