Commit 1bc489f5 authored by 纪泽龙's avatar 纪泽龙

解决风险分布图报错模型不出现的问题

parent 1e8e04e4
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 纪泽龙 jizelong@qq.com * @Author: 纪泽龙 jizelong@qq.com
* @Date: 2022-06-16 15:03:40 * @Date: 2022-06-16 15:03:40
* @LastEditors: 纪泽龙 jizelong@qq.com * @LastEditors: 纪泽龙 jizelong@qq.com
* @LastEditTime: 2023-03-14 09:36:37 * @LastEditTime: 2023-09-05 13:46:19
* @FilePath: /danger-manage-web/src/views/bigwindow/index.vue * @FilePath: /danger-manage-web/src/views/bigwindow/index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -208,12 +208,14 @@ export default { ...@@ -208,12 +208,14 @@ export default {
this.Cesium = new CreateCesium( this.Cesium = new CreateCesium(
"mapbox", "mapbox",
// ["../3dtiles/jsondata/tileset.json"], // ["../3dtiles/jsondata/tileset.json"],
[
{ {
url: "../3dtiles/jsondata/tileset.json", //路径 url: "../3dtiles/jsondata/tileset.json", //路径
startMapType: "gps", //初始坐标系 startMapType: "gps", //初始坐标系
toMapType: "", //要转换坐标系 toMapType: "", //要转换坐标系
height: -161.1, //模型高度调整 height: -161.1, //模型高度调整
}, },
],
this this
); );
// this.danger.forEach((item) => { // this.danger.forEach((item) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment