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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM