leaflet:调用arcgis切片地图服务

   var mymap = L.map('mapid').setView([31.59, 120.29], 7);

    L.tileLayer('http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineCommunity/MapServer/tile/{z}/{y}/{x}', {
        maxZoom: 12,
        minZoom: 4,
        pane: 'overlayPane'
    }).addTo(mymap);

 

转载自:https://blog.csdn.net/weixin_33811539/article/details/86044216

You may also like...