forked from MapComplete/MapComplete
Fix dasharrays, add custom size PNG export
This commit is contained in:
parent
faff07d231
commit
a79675c879
7 changed files with 52 additions and 7 deletions
|
@ -351,7 +351,8 @@ class LineRenderingLayer {
|
|||
"line-color": ["feature-state", "color"],
|
||||
"line-opacity": ["feature-state", "color-opacity"],
|
||||
"line-width": ["feature-state", "width"],
|
||||
"line-offset": ["feature-state", "offset"]
|
||||
"line-offset": ["feature-state", "offset"],
|
||||
"line-dasharray": this._config.dashArray?.split(" ")?.map(s => Number(s))
|
||||
},
|
||||
layout: {
|
||||
"line-cap": "round"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue