diff --git a/umap/static/umap/js/modules/data/layer.js b/umap/static/umap/js/modules/data/layer.js index 38c1cfa2..91aa4bef 100644 --- a/umap/static/umap/js/modules/data/layer.js +++ b/umap/static/umap/js/modules/data/layer.js @@ -812,7 +812,7 @@ export class DataLayer { this ) if (this.umap_id) { - const filename = Utils.slugify(this.options.name) + const filename = `${Utils.slugify(this.options.name)}.geojson` const download = Utils.loadTemplate(` ${translate('Download')}