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

@ -543,6 +543,18 @@ export interface LayerConfigJson {
*/
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.
*