From 32ff53f574c1db183a4837b8fb3272c61569db82 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 21 Jun 2021 15:59:13 +0800
Subject: [PATCH] SQL查询
---
widgets/slope/Widget.js | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/widgets/slope/Widget.js b/widgets/slope/Widget.js
index a5f81a5..90c394f 100644
--- a/widgets/slope/Widget.js
+++ b/widgets/slope/Widget.js
@@ -41,15 +41,18 @@
// roll: 6.2831853016686185
// }
// });
+ viewer.imageryLayers.addImageryProvider(new Cesium.SuperMapImageryProvider({
+ url: 'http://www.supermapol.com/realspace/services/3D-ZF_normal/rest/realspace/datas/image'
+ }));
var slope = new Cesium.SlopeSetting();
slope.DisplayMode = Cesium.SlopeSettingEnum.DisplayMode.FACE_AND_ARROW;
slope.MaxVisibleValue = document.getElementById("widemax").value;
slope.MinVisibleValue = document.getElementById("widemin").value;
var colorTable = new Cesium.ColorTable();
- colorTable.insert(80, new Cesium.Color(255 / 255, 0 / 255, 0 / 255));
- colorTable.insert(50, new Cesium.Color(221 / 255, 224 / 255, 7 / 255));
- colorTable.insert(30, new Cesium.Color(20 / 255, 187 / 255, 18 / 255));
- colorTable.insert(20, new Cesium.Color(0, 161 / 255, 1));
+ colorTable.insert(8000, new Cesium.Color(255 / 255, 0 / 255, 0 / 255));
+ colorTable.insert(5000, new Cesium.Color(221 / 255, 224 / 255, 7 / 255));
+ colorTable.insert(3000, new Cesium.Color(20 / 255, 187 / 255, 18 / 255));
+ colorTable.insert(2000, new Cesium.Color(0, 161 / 255, 1));
colorTable.insert(0, new Cesium.Color(9 / 255, 9 / 255, 255 / 255));
var wide;
wide = Cesium.HypsometricSettingEnum.AnalysisRegionMode.ARM_REGION;
--
Gitblit v1.9.3