| widgetsTS/taxiRouteReplay/view.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| widgetsTS/taxiRouteReplay/view.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| widgetsTS/taxiRouteReplay/widget.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
widgetsTS/taxiRouteReplay/view.html
@@ -67,6 +67,10 @@ id="btnStartDHText">开始回放</span></button> </td> <td> <button type="button" id="btnSuspendDH" class="btn btn-primary" style="width:100px;"><span id="btnSuspendDHText">暂停回放</span></button> </td> <td> <span class="span_sjgs"><input class="sjgs" id="checkbox_sjgs" type="checkbox">视角跟随</span> </td> </tr> widgetsTS/taxiRouteReplay/view.js
@@ -24,6 +24,19 @@ } }); $("#btnSuspendDH") .off("click") .on("click", function () { if ($("#btnSuspendDHText").text() == "暂停回放") { thisWidget.pauseReplay(); $("#btnSuspendDHText").text("继续回放"); $("#checkbox_sjgs").show(); } else { $("#btnSuspendDHText").text("暂停回放"); thisWidget.ContinueReplay(); } }); $("#checkbox_sjgs") .off("click") .on("click", function () { widgetsTS/taxiRouteReplay/widget.js
@@ -157,6 +157,11 @@ this.map.clock.shouldAnimate = false; } ContinueReplay() { // 继续回放 this.map.clock.shouldAnimate = true; } //取消当前的视角跟随 removeTrack() { if (this.nowFline) {