L.esri.query({ url: "http://127.0.0.1:6080/arcgis/rest/services/demo/ditu/MapServer/0" }).where("1=1") .run(function(error, result) { console.log(result.features); result.features.forEach(function(result) { //后续处理result 为 geojson });