Remove clutter from brouter geojson files
This commit is contained in:
parent
efeec0bf42
commit
eb4507d261
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ async function updateBrouter () {
|
||||||
if (geojson != undefined) {
|
if (geojson != undefined) {
|
||||||
map.removeLayer(geojson);
|
map.removeLayer(geojson);
|
||||||
}
|
}
|
||||||
|
delete data.features[0].properties.messages
|
||||||
geojsons.push(data.features[0]);
|
geojsons.push(data.features[0]);
|
||||||
const dat = {type: "FeatureCollection", features: geojsons};
|
const dat = {type: "FeatureCollection", features: geojsons};
|
||||||
geojson = addGeoJsonToMap(dat);
|
geojson = addGeoJsonToMap(dat);
|
||||||
|
|
Loading…
Add table
Reference in a new issue