forked from MapComplete/MapComplete
Changes do apply left-right splitting before uploading too
This commit is contained in:
parent
40c4ae769d
commit
0dc7187bab
6 changed files with 27 additions and 9 deletions
|
@ -297,4 +297,8 @@ export default class LayerConfig extends WithContextLoader{
|
|||
|
||||
return allIcons;
|
||||
}
|
||||
|
||||
public isLeftRightSensitive() : boolean{
|
||||
return this.lineRendering.some(lr => lr.leftRightSensitive)
|
||||
}
|
||||
}
|
|
@ -279,5 +279,9 @@ export default class LayoutConfig {
|
|||
})
|
||||
return new LayoutConfig(JSON.parse(originalJson), false, "Layout rewriting")
|
||||
}
|
||||
|
||||
public isLeftRightSensitive(){
|
||||
return this.layers.some(l => l.isLeftRightSensitive())
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue