| | |
| | | doubleClickZoom: false, // 禁用双击放大 |
| | | attributionControl: false // 移除右下角leaflet标识 |
| | | }) |
| | | this.$L.tileLayer('http://t{s}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | this.$L.tileLayer('https://t{s}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | subdomains: [0, 1, 2, 3, 4, 5, 6, 7], |
| | | }).addTo(this.map) |
| | | |
| | | this.$L.tileLayer('http://t{s}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | this.$L.tileLayer('https://t{s}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | subdomains: [0, 1, 2, 3, 4, 5, 6, 7], |
| | | }).addTo(this.map) |
| | | }, |
| | |
| | | flightArr: [31.34534554915163, 120.40351663678561], |
| | | url: "https://mt3.google.cn/maps/vt?lyrs=s,h@189&gl=cn&x={x}&y={y}&z={z}&scale=1.2", |
| | | attribution: |
| | | '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors', |
| | | '© <a href="https://osm.org/copyright">OpenStreetMap</a> contributors', |
| | | latlngArr: [], //绘制的地块的坐标 |
| | | area: 0, //多边形面积 |
| | | perimeter: 0, //周长 |
| | |
| | | doubleClickZoom: false, // 禁用双击放大 |
| | | attributionControl: false, // 移除右下角leaflet标识 |
| | | }) |
| | | this.$L.tileLayer('http://t{s}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | this.$L.tileLayer('https://t{s}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | subdomains: [0, 1, 2, 3, 4, 5, 6, 7], |
| | | }).addTo(this.map) |
| | | |
| | | this.$L.tileLayer('http://t{s}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | this.$L.tileLayer('https://t{s}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | subdomains: [0, 1, 2, 3, 4, 5, 6, 7], |
| | | }).addTo(this.map) |
| | | |
| | |
| | | doubleClickZoom: false, // 禁用双击放大 |
| | | attributionControl: false // 移除右下角leaflet标识 |
| | | }) |
| | | this.$L.tileLayer('http://t{s}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | this.$L.tileLayer('https://t{s}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | subdomains: [0, 1, 2, 3, 4, 5, 6, 7], |
| | | }).addTo(this.map) |
| | | |
| | | this.$L.tileLayer('http://t{s}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | this.$L.tileLayer('https://t{s}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | subdomains: [0, 1, 2, 3, 4, 5, 6, 7], |
| | | }).addTo(this.map) |
| | | // this.map.removeLayer(name) // 移除图层 |
| | |
| | | flightArr: [31.34534554915163, 120.40351663678561], |
| | | url: "https://mt3.google.cn/maps/vt?lyrs=s,h@189&gl=cn&x={x}&y={y}&z={z}&scale=1.2", |
| | | attribution: |
| | | '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors', |
| | | '© <a href="https://osm.org/copyright">OpenStreetMap</a> contributors', |
| | | latlngArr: [], //绘制的地块的坐标 |
| | | area: 0, //多边形面积 |
| | | perimeter: 0, //周长 |
| | |
| | | |
| | | |
| | | |
| | | this.$L.tileLayer('http://t{s}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | this.$L.tileLayer('https://t{s}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | subdomains: [0, 1, 2, 3, 4, 5, 6, 7], |
| | | }).addTo(myMap) |
| | | |
| | |
| | | // subdomains: [0, 1, 2, 3, 4, 5, 6, 7], |
| | | // }).addTo(myMap) |
| | | |
| | | this.$L.tileLayer('http://t{s}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | this.$L.tileLayer('https://t{s}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=e9533f5acb2ac470b07f406a4d24b4f0', { |
| | | subdomains: [0, 1, 2, 3, 4, 5, 6, 7], |
| | | }).addTo(myMap) |
| | | |