Bläddra i källkod

动态圆距离

DESKTOP-GBVU60Q\dell 1 år sedan
förälder
incheckning
ec77878b43

+ 11 - 11
src/views/Main/components/map.vue

@@ -314,27 +314,27 @@
 			fullMap(jt3d) {
 			fullMap(jt3d) {
 				// 初始化项目区域范围视角
 				// 初始化项目区域范围视角
 				let optionsS = {
 				let optionsS = {
-					west: 118.0361,
-					south: 36.6357,
-					east: 117.081,
-					north: 35.999,
+					west: 117.48752,
+					south: 36.35078,
+					east: 117.45454,
+					north: 36.32105,
 					isRemove: false, //定位完成后是否删除
 					isRemove: false, //定位完成后是否删除
 					duration: 3, //飞行时间
 					duration: 3, //飞行时间
 					heading: 0,
 					heading: 0,
 					pitch: -90,
 					pitch: -90,
-					range: 155000
+					range: 5000
 				};
 				};
 
 
 				let optionsE = {
 				let optionsE = {
-					west: 118.0361,
-					south: 36.6357,
-					east: 117.081,
-					north: 35.999,
+					west: 117.48752,
+					south: 36.35078,
+					east: 117.45454,
+					north: 36.32105,
 					isRemove: true, //定位完成后是否删除
 					isRemove: true, //定位完成后是否删除
 					duration: 3, //飞行时间
 					duration: 3, //飞行时间
 					heading: 0,
 					heading: 0,
-					pitch: -60,
-					range: 155000
+					pitch: -40,
+					range: 5000
 				};
 				};
 
 
 				var fullMapPromise = jt3d.fullMap(optionsS);
 				var fullMapPromise = jt3d.fullMap(optionsS);

+ 1 - 1
src/views/Map3d/components/sbyxjc.vue

@@ -121,7 +121,7 @@
 					}
 					}
 				}).then(res1 => {
 				}).then(res1 => {
 					var LocateUtil = new this.jt3dSDK.LocateUtil(window["viewer"]);
 					var LocateUtil = new this.jt3dSDK.LocateUtil(window["viewer"]);
-					LocateUtil.flyToEntity(res1).then(res2 => {
+					LocateUtil.flyToEntity(res1,{range:500}).then(res2 => {
 						let html = "";
 						let html = "";
 						html +=
 						html +=
 							"<div style='text-align: left;backfround-color:rgba(61, 198, 205, 0.6);width:300rem;height:150rem;font-family: TTTGB-Medium, sans-serif !important;'>";
 							"<div style='text-align: left;backfround-color:rgba(61, 198, 205, 0.6);width:300rem;height:150rem;font-family: TTTGB-Medium, sans-serif !important;'>";

+ 1 - 1
src/views/test/components/cqjcyj.vue

@@ -64,7 +64,7 @@
 					}
 					}
 				}).then(res1 => {
 				}).then(res1 => {
 					var LocateUtil = new this.jt3dSDK.LocateUtil(window["viewer"]);
 					var LocateUtil = new this.jt3dSDK.LocateUtil(window["viewer"]);
-					LocateUtil.flyToEntity(res1).then(res2 => {
+					LocateUtil.flyToEntity(res1,{range:500}).then(res2 => {
 						let html = "";
 						let html = "";
 						html +=
 						html +=
 							"<div style='text-align: left;backfround-color:rgba(61, 198, 205, 0.6);width:300rem;height:150rem;font-family: TTTGB-Medium, sans-serif !important;'>";
 							"<div style='text-align: left;backfround-color:rgba(61, 198, 205, 0.6);width:300rem;height:150rem;font-family: TTTGB-Medium, sans-serif !important;'>";