First working version with multi-rendering
This commit is contained in:
parent
b9b8a5c71a
commit
0c0ef48a96
16 changed files with 228 additions and 135 deletions
|
@ -13,6 +13,11 @@ import LineRenderingConfigJson from "../Models/ThemeConfig/Json/LineRenderingCon
|
|||
* In place fix
|
||||
*/
|
||||
function fixLayerConfig(config: LayerConfigJson): void {
|
||||
if(config["overpassTags"]){
|
||||
config.source.osmTags = config["overpassTags"]
|
||||
delete config["overpassTags"]
|
||||
}
|
||||
|
||||
if (config.tagRenderings !== undefined) {
|
||||
for (const tagRendering of config.tagRenderings) {
|
||||
if (tagRendering["#"] !== undefined) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue