aboutsummaryrefslogtreecommitdiffstats
path: root/webmap-publish
diff options
context:
space:
mode:
Diffstat (limited to 'webmap-publish')
-rwxr-xr-xwebmap-publish2
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)