用來套google map 也是可以的
L.tileLayer('http://mt{s}.google.com/vt/x={x}&y={y}&z={z}', {
attribution: 'Map data © Google',
maxZoom: 18,
subdomains: '012',
detectRetina: true
}).addTo(map);
官網: http://leafletjs.com/
github: https://github.com/Leaflet/Leaflet
0 意見:
張貼留言