From 418ef9e2b1230a6815d44f10caf8d66851277a74 Mon Sep 17 00:00:00 2001
From: zhaoxing <zhaoxing@shsening.com>
Date: 星期四, 21 四月 2022 09:39:05 +0800
Subject: [PATCH] 更新天地图key
---
js/changable_params.js | 6 +++++-
js/function_wind.js | 4 ++--
config/config.json | 6 +++---
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/config/config.json b/config/config.json
index 6a774a9..f6a7baf 100644
--- a/config/config.json
+++ b/config/config.json
@@ -72,7 +72,7 @@
"icon": "img/basemaps/tdt_img.png",
"type": "group",
"layers": [
- { "name": "搴曞浘", "type": "tdt", "layer": "img_d", "key": ["9ae78c51a0a28f06444d541148496e36"] }
+ { "name": "搴曞浘", "type": "tdt", "layer": "img_d", "key": ["a1caa7df458c7d113e844e771397b9af"] }
],
"show":true
},
@@ -82,7 +82,7 @@
"icon": "img/basemaps/tdt_vec.png",
"type": "group",
"layers": [
- { "name": "搴曞浘", "type": "tdt", "layer": "vec_d", "key": ["9ae78c51a0a28f06444d541148496e36"] }
+ { "name": "搴曞浘", "type": "tdt", "layer": "vec_d", "key": ["a1caa7df458c7d113e844e771397b9af"] }
]
}
],
@@ -92,7 +92,7 @@
"pid": 50,
"name": "琛屾斂鍖哄垝鐣岀嚎",
"type": "xyz",
- "url": "https://t{s}.tianditu.gov.cn/DataServer?T=ibo_w&x={x}&y={y}&l={z}&tk=9ae78c51a0a28f06444d541148496e36",
+ "url": "https://t{s}.tianditu.gov.cn/DataServer?T=ibo_w&x={x}&y={y}&l={z}&tk=a1caa7df458c7d113e844e771397b9af",
"subdomains": "01234567",
"maximumLevel": 10,
"mapSplit": false,
diff --git a/js/changable_params.js b/js/changable_params.js
index 0d9b957..c70603f 100644
--- a/js/changable_params.js
+++ b/js/changable_params.js
@@ -52,7 +52,11 @@
, 3000: ['#00EE00', '#FF9F7F', '#FFD700', '#ff6600', '#ff0066', '#ff6666']
}
-var default_system_params = { geoserver_url_predix: 'http://58.246.27.194:7011/', nodejs_url_predix: 'http://58.246.27.194:7012/', userid: 2, queryDataType: 'hour', weathercitycode: '101020100', wind360: 0, windSpeed: 10, is_single_taxi_replaying: false,summary_topN_count :50, un_authorization_url: 'http://223.167.111.168:8016/PollutionData/loginpage.aspx?returnurl=http://223.167.111.168:8004/shanghai/index.html',regionCode:0,timetype:"min"};
+var tiandituArr = ['a1caa7df458c7d113e844e771397b9af', 'a1caa7df458c7d113e844e771397b9af']
+
+// var default_system_params = { geoserver_url_predix: 'http://58.246.27.194:7011/', nodejs_url_predix: 'http://58.246.27.194:7012/', userid: 13, queryDataType: 'hour', weathercitycode: '101020100', wind360: 0, windSpeed: 10, is_single_taxi_replaying: false,summary_topN_count :50, un_authorization_url: 'http://223.167.111.168:8016/PollutionData/loginpage.aspx?returnurl=http://223.167.111.168:8004/shanghai/index.html',regionCode:2,timetype:"min"};
+
+var default_system_params = { geoserver_url_predix: 'http://58.246.27.194:7011/', nodejs_url_predix: 'http://58.246.27.194:7012/', userid: 13, queryDataType: 'hour', weathercitycode: '101020100', wind360: 0, windSpeed: 10, is_single_taxi_replaying: false,summary_topN_count :50, un_authorization_url: 'http://223.167.111.168:8016/PollutionData/loginpage.aspx?returnurl=http://223.167.111.168:8004/shanghai/index.html',regionCode:0,timetype:"min"};
var default_grid_camerview = {grid5000:{"lat":30.367931,"lng":121.518409,"alt":128482,"heading":2,"pitch":-57},grid3000:{"lat":30.902475,"lng":121.487751,"alt":38716,"heading":2,"pitch":-57},grid1000:{"lat":31.066346,"lng":121.462529,"alt":10026,"heading":2,"pitch":-57},grid500:{"lat":31.112561,"lng":121.458433,"alt":2483,"heading":2,"pitch":-57}};
function bindPopupFunction(event) {
diff --git a/js/function_wind.js b/js/function_wind.js
index 93bb3c6..913fa87 100644
--- a/js/function_wind.js
+++ b/js/function_wind.js
@@ -63,7 +63,7 @@
Img_annoTileLayer = new mars3d.layer.TdtLayer({
name: "褰卞儚娉ㄨ",
layer: "img_z",
- key: mars3d.Token.tiandituArr,
+ key: tiandituArr,
});
Img_annoTileLayer.show = false;
Img_annoTileLayer.pid = 50;
@@ -72,7 +72,7 @@
Vec_annoTileLayer = new mars3d.layer.TdtLayer({
name: "鐭㈤噺鍥炬敞璁�",
layer: "vec_z",
- key: mars3d.Token.tiandituArr,
+ key: tiandituArr,
});
Vec_annoTileLayer.show = false;
Vec_annoTileLayer.pid = 50;
--
Gitblit v1.9.1