From eb4507d2610909c059788172d5f8271fc51cfd80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonia=20P=C3=A9rez-Cerezo?= Date: Mon, 10 Mar 2025 22:19:41 +0100 Subject: [PATCH] Remove clutter from brouter geojson files --- frontend/common/map.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/common/map.js b/frontend/common/map.js index 771c311..c5b0fc3 100644 --- a/frontend/common/map.js +++ b/frontend/common/map.js @@ -109,6 +109,7 @@ async function updateBrouter () { if (geojson != undefined) { map.removeLayer(geojson); } + delete data.features[0].properties.messages geojsons.push(data.features[0]); const dat = {type: "FeatureCollection", features: geojsons}; geojson = addGeoJsonToMap(dat);