From bcf8b7411f17e90935edf8175958211e06e8f57d Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Tue, 13 Sep 2022 09:22:23 +0800
Subject: [PATCH] 修改地图地址为https

---
 src/components/clickMap.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/clickMap.vue b/src/components/clickMap.vue
index ca8b155..9bfb9d4 100644
--- a/src/components/clickMap.vue
+++ b/src/components/clickMap.vue
@@ -213,11 +213,11 @@
                 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)
         },

--
Gitblit v1.9.3