From 2a960cd2c5b88b143cea4acfaeafb96daef0f29b Mon Sep 17 00:00:00 2001 From: surprise <15810472099@163.com> Date: 星期三, 10 一月 2024 09:47:09 +0800 Subject: [PATCH] 代码更新 --- static/data/layerData.js | 61 +++++++++++++++++------------- 1 files changed, 34 insertions(+), 27 deletions(-) diff --git a/static/data/layerData.js b/static/data/layerData.js index 4d2e79e..3908cce 100644 --- a/static/data/layerData.js +++ b/static/data/layerData.js @@ -1,13 +1,20 @@ var webhost = location.hostname; var host = location.host; var web_URL = "http://" + webhost; - + const layerData = { config: { - BASE_URL: "http://" + host + "/JiangSu", + BASE_URL: "http://192.168.20.83/JiangSu", img_url: "http://" + host + "/static/image/", - Model_URL: web_URL + "/JiangSu", + Model_URL: "http://192.168.20.83/JiangSu", + tdtSl: "http://t0.tianditu.com/vec_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=vec&tileMatrixSet=w&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk=", + tdtZj: "http://t0.tianditu.com/cva_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=cva&tileMatrixSet=w&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default.jpg&tk=", + tdtToken: "94a34772eb88317fcbf8428e10448561", + olTdtSl: 'http://t0.tianditu.com/DataServer?T=cta_w&x={x}&y={y}&l={z}&tk=', + olTdtBZ: 'http://t0.tianditu.com/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=', + vidoe_URL:"http://192.168.20.83/JiangSu/Data/video/m1.mp4", + api_url: "http://localhost:8080/JiangSu" }, modelData: [ { @@ -18,39 +25,39 @@ }, { id: 'md2', - name: '娴嬭瘯妯″瀷2', - url: '/Data/glb/Cesium_Air.glb', - imgUrl: '椋炴満.png' + name: '宸ヤ汉', + url: '/Data/glb/宸ヤ汉.glb', + imgUrl: '宸ヤ汉.png' }, { id: 'md3', - name: '娴嬭瘯妯″瀷3', - url: '/Data/glb/Cesium_Air.glb', - imgUrl: '椋炴満.png' + name: '璺殰', + url: '/Data/glb/璺殰.glb', + imgUrl: '璺殰.png' }, { id: 'md4', - name: '娴嬭瘯妯″瀷4', - url: '/Data/glb/Cesium_Air.glb', - imgUrl: '椋炴満.png' + name: '鏂藉伐杞﹁締', + url: '/Data/glb/sgcl.glb', + imgUrl: '鏂藉伐杞﹁締.png' }, { id: 'md5', - name: '娴嬭瘯妯″瀷5', - url: '/Data/glb/Cesium_Air.glb', - imgUrl: '椋炴満.png' + name: '妗�', + url: '/Data/glb/妗�.glb', + imgUrl: '妗�.png' }, { id: 'md6', - name: '娴嬭瘯妯″瀷6', - url: '/Data/glb/Cesium_Air.glb', - imgUrl: '椋炴満.png' - }, { + name: '閿ユ《', + url: '/Data/glb/閿ユ《.glb', + imgUrl: '閿ユ《.png' + },{ id: 'md7', - name: '娴嬭瘯妯″瀷7', - url: '/Data/glb/Cesium_Air.glb', - imgUrl: '椋炴満.png' - }, { + name: '涓婅法', + url: '/Data/glb/涓婅法.glb', + imgUrl: '涓婅法.png' + },{ id: 'md8', - name: '娴嬭瘯妯″瀷8', - url: '/Data/glb/Cesium_Air.glb', - imgUrl: '椋炴満.png' - }, + name: '绠¢亾', + url: '/Data/glb/绠¢亾.glb', + imgUrl: '绠¢亾.png' + } ] } \ No newline at end of file -- Gitblit v1.9.3