📅  最后修改于: 2022-03-11 15:02:03.245000             🧑  作者: Mango
async function addGeoJson() {
const response = await fetch("filepath/filename.geojson");
const data = await response.json();
L.geoJson(data).addTo(map);
}
addGeoJson();