|
@@ -114,7 +114,7 @@
|
|
var LocateUtil = new this.jt3dSDK.LocateUtil(window["viewer"]);
|
|
var LocateUtil = new this.jt3dSDK.LocateUtil(window["viewer"]);
|
|
let Drawtools = new this.jt3dSDK.DrawTools(window.viewer)
|
|
let Drawtools = new this.jt3dSDK.DrawTools(window.viewer)
|
|
//_createCircle
|
|
//_createCircle
|
|
- PointObject.addBillboard([120.623, 36.9157, 0], {
|
|
|
|
|
|
+ PointObject.addBillboard([117.47349486,36.33949225, 0], {
|
|
billboard: {
|
|
billboard: {
|
|
imgUrl: 'jt3dSDK/imgs/jijing1.png',
|
|
imgUrl: 'jt3dSDK/imgs/jijing1.png',
|
|
scale: 0.2,
|
|
scale: 0.2,
|
|
@@ -146,10 +146,9 @@
|
|
"<span style='width:100rem'>流量:</span>" + "<span>80m³/h</span>" +
|
|
"<span style='width:100rem'>流量:</span>" + "<span>80m³/h</span>" +
|
|
"</div>";
|
|
"</div>";
|
|
html += "</div>";
|
|
html += "</div>";
|
|
- let popup = new that.jt3dSDK.PopupWindow.HtmlWindow(window["viewer"], [120.623,
|
|
|
|
- 36.9157
|
|
|
|
- ], "设备信息", html, 50);
|
|
|
|
- jt3d.CircleObject.drawCircle([120.623, 36.9157], 50, {
|
|
|
|
|
|
+ let popup = new that.jt3dSDK.PopupWindow.HtmlWindow(window["viewer"], [117.47349486,36.33949225], "设备信息", html, 50);
|
|
|
|
+ let circleObject = new this.jt3dSDK.CircleObject(jt3d._viewer);
|
|
|
|
+ circleObject.drawCircle([117.47349486,36.33949225], 50, {
|
|
// color: [255, 255, 0, 0.8]
|
|
// color: [255, 255, 0, 0.8]
|
|
color: [255, 0, 0, 1],
|
|
color: [255, 0, 0, 1],
|
|
outline: true,
|
|
outline: true,
|
|
@@ -157,7 +156,7 @@
|
|
outlineWidth: 20,
|
|
outlineWidth: 20,
|
|
CircleType: 'DynamicCircle',
|
|
CircleType: 'DynamicCircle',
|
|
count: 2,
|
|
count: 2,
|
|
- duration: 1000
|
|
|
|
|
|
+ duration: 4000
|
|
})
|
|
})
|
|
})
|
|
})
|
|
})
|
|
})
|