diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2024-10-19 19:07:11 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2024-10-19 19:19:12 +0200 |
commit | c7998694e4de61cc32383f9c9e1a796155796b28 (patch) | |
tree | 43145792a68c1df60d47bbf04f3d5f25fa533cd8 /webmap-publish | |
parent | 4f56801e9737e1f9201ea5e2d1f23f759d65d437 (diff) |
Add layer with planed gigafactories.
Own work.
Diffstat (limited to 'webmap-publish')
-rwxr-xr-x | webmap-publish | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webmap-publish b/webmap-publish index f3c6c5d..a33d56e 100755 --- a/webmap-publish +++ b/webmap-publish @@ -491,6 +491,8 @@ if __name__ == '__main__': elif isinstance(exportdef, list): exportdef = { l:{} for l in exportdef } for export_layername, export_layerdef in exportdef.items(): + if 'target_name' in export_layerdef: + export_layername = export_layerdef.pop('target_name') if export_layername not in export_layers: export_layers[export_layername] = [] export_layers[export_layername].append(export_layerdef) |