|
@@ -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;
|
|
|
}
|