| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="infoview bottomWindows"> |
| | | <!-- <div class="infoview bottomWindows"> |
| | | <div> |
| | | <input id="changqu_btn" type="button" class="btn btn-primary" value="厂区" /> |
| | | <input id="meipeng_btn" type="button" class="btn btn-primary" value="煤棚" /> |
| | | <input id="pengnei_btn" type="button" class="btn btn-primary" value="棚内" /> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> --> |
| | | |
| | | <!-- 操作按钮栏 --> |
| | | <div class="infoview infoWindows handle"> |
| | | <button type="button" id="meipeng" class="btn btn-primary active" style="width: 100%;">煤棚整体</button> |
| | |
| | | }, |
| | | control: { |
| | | infoBox: false, |
| | | timeline: true, |
| | | clockAnimate: false, |
| | | distanceLegend: { left: "100px", bottom: "27px" } |
| | | }, |
| | | layers: [ |
| | | { |
| | |
| | | }); |
| | | |
| | | |
| | | var eventTarget = new mars3d.BaseClass() |
| | | //创建三维地球场景 |
| | | map = new mars3d.Map("mars3dContainer", mapOptions); |
| | | var clockAnimate = new mars3d.control.ClockAnimate({ |
| | | format: "yyyy-MM-dd HH:mm:ss" |
| | | }) |
| | | map.addControl(clockAnimate) |
| | | |
| | | clockAnimate.on(mars3d.EventType.click, function (event) { |
| | | if (event.targetType === "label") { |
| | | console.log("单击了时间文本区域", event) |
| | | console.log(eventTarget, "eventTarget") |
| | | |
| | | var startTime = Cesium.JulianDate.toDate(map.clock.startTime) |
| | | var stopTime = Cesium.JulianDate.toDate(map.clock.stopTime) |
| | | var currentTime = Cesium.JulianDate.toDate(map.clock.currentTime) |
| | | |
| | | eventTarget.fire("clickShowClockAnimate", { startTime, stopTime, currentTime }) |
| | | } |
| | | }) |
| | | |
| | | |
| | | // 创建斗轮机图层 |
| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | // 斗轮机旋转 |
| | | $("#dou_rote").click(function () { |
| | | // 无动画效果的旋转 |