leaflet获取arcgis服务图层所有信息

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 });
原文地址:https://www.cnblogs.com/vichang/p/9438747.html