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);