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