DESKTOP-CRQ4N2U\jintian 1 year ago
parent
commit
d67389e007

File diff suppressed because it is too large
+ 0 - 0
public/jt3dSDK/jt3d.es.js


+ 7 - 3
src/views/Map3d/components/TrackRoam.vue

@@ -136,9 +136,9 @@
 						_self.Roaming = new _self.jt3dSDK.Roaming(jt3d._viewer, cartesian3d, {
 							time: 360,
 							role: 2,
-							label: {
-								text: "lineName",
-							}
+							// label: {
+							// 	text: "lineName",
+							// }
 						});
 						_self.isPause = true;
 						_self.isNew = false;
@@ -193,10 +193,14 @@
 						break;
 					case 2:
 						this.roam.role = Number(type);
+						this.Roaming.followedX = -100;
+						this.Roaming.followedZ = 50;
 						this.Roaming.initRole(2);
 						break;
 					case 3:
 						this.roam.role = Number(type);
+						this.Roaming.followedX = -50;
+						this.Roaming.followedZ = 250;
 						this.Roaming.initRole(3);
 						break;
 				}

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

@@ -234,7 +234,7 @@
 									if (parameterset.clampToGround) { //是否贴地
 										_options.clampToGround = parameterset.clampToGround;
 									}
-									if (parameterset.isImageAlpha) { //是否采用图片颜色
+									if (!parameterset.isImageAlpha) { //是否采用图片颜色
 										_options.isImageAlpha = parameterset.isImageAlpha;
 									}
 									if (parameterset.imgUrl) { //精灵线图片

+ 5 - 1
src/views/Map3d/components/map.vue

@@ -198,7 +198,11 @@
 					isRetainDrawPoint: true, //绘制完成是否保留绘制点
 					iconType: 'blue',
 				});
-				jt3d.DrawMilitaryPlot = new this.jt3dSDK.DrawMilitaryPlot(jt3d._viewer);
+				// jt3d.DrawMilitaryPlot = new this.jt3dSDK.DrawMilitaryPlot(jt3d._viewer);
+				jt3d.DrawMilitaryPlot = new this.jt3dSDK.DrawMilitaryPlot({
+					viewer: jt3d._viewer,
+					Cesium: Cesium,
+				});
 				jt3d.DrawPointEdit = new this.jt3dSDK.DrawPoint(jt3d._viewer);
 
 				jt3d.LocateUtil = new this.jt3dSDK.LocateUtil(jt3d._viewer);

Some files were not shown because too many files changed in this diff