forked from MapComplete/MapComplete
Walking node theme + other fixes
This commit is contained in:
parent
e060bd3288
commit
b50e54e3e4
18 changed files with 599 additions and 86 deletions
|
@ -229,7 +229,11 @@ export default class LayerConfig extends WithContextLoader {
|
|||
maxSnapDistance: undefined,
|
||||
}
|
||||
if (pr["preciseInput"] !== undefined) {
|
||||
throw "Layer " + this.id + " still uses the old 'preciseInput'-field"
|
||||
throw (
|
||||
"Layer " +
|
||||
this.id +
|
||||
" still uses the old 'preciseInput'-field. For snapping to layers, use 'snapToLayer' instead"
|
||||
)
|
||||
}
|
||||
if (pr.snapToLayer !== undefined) {
|
||||
let snapToLayers: string[]
|
||||
|
@ -520,7 +524,7 @@ export default class LayerConfig extends WithContextLoader {
|
|||
neededTags = this.source.osmTags["and"]
|
||||
}
|
||||
|
||||
let tableRows = Utils.NoNull(
|
||||
const tableRows = Utils.NoNull(
|
||||
this.tagRenderings
|
||||
.map((tr) => tr.FreeformValues())
|
||||
.map((values) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue