forked from MapComplete/MapComplete
feature: expose _referencing_ways/snap_to_layer in preset icon
This commit is contained in:
parent
6f4288476e
commit
08565dd20e
3 changed files with 15 additions and 8 deletions
|
@ -69,7 +69,7 @@ export class ReferencingWaysMetaTagger extends SimpleMetaTagger {
|
|||
{
|
||||
keys: ["_referencing_ways"],
|
||||
isLazy: true,
|
||||
doc: "_referencing_ways contains - for a node - which ways use this this node as point in their geometry. ",
|
||||
doc: "_referencing_ways contains - for a node - which ways use this this node as point in their geometry. If the preset has 'snapToLayer' defined, the icon will be calculated based on the preset tags with `_referencing_ways=[way/-1]` added.",
|
||||
},
|
||||
(feature, _, __, state) => {
|
||||
if (!ReferencingWaysMetaTagger.enabled) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue