|
|
@@ -346,10 +346,9 @@ export default {
|
|
|
|
|
|
// 初始化地形
|
|
|
async initCesiumTerrain() {
|
|
|
- let stationName = this.$route.query.nameEn;
|
|
|
const terrainProvider = await Cesium.CesiumTerrainProvider.fromUrl(
|
|
|
// "http://localhost:3007/tiles/dixing",
|
|
|
- stationName === "MYFDC" ? "/static/dixing/hnay" : "/static/dixing/wlcb",
|
|
|
+ "/static/dixing",
|
|
|
{
|
|
|
requestWaterMask: true, // 如果需要水效果,设置为true
|
|
|
requestVertexNormals: true, // 如果需要光照效果,设置为true
|