From 429e5d0b930933599d9eb1b3440f144c4314d1c4 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 24 Jul 2023 09:33:20 +0200 Subject: [PATCH] Use proper GPX mimetype fix #1225 --- umap/static/umap/js/umap.controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index 517a70f3..0c1bc9c1 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -1032,7 +1032,7 @@ L.U.Map.include({ return togpx(map.toGeoJSON()) }, ext: '.gpx', - filetype: 'application/xml', + filetype: 'application/gpx+xml', }, kml: { formatter: function (map) {