| | |
| | | }, |
| | | duration: 1.6, //定位的时间间隔 |
| | | complete: () => {//完成后的回调 |
| | | if (data.fn) {//自定义回调 |
| | | setTimeout(() => { |
| | | data.fn() |
| | | }, 500); |
| | | } |
| | | if (!data.noOpen) { |
| | | setTimeout(() => { |
| | | // dispatch("MSET_POINTDATA", data.lntLat);//传入标记点 |
| | |
| | | state.pointLayer.addOverlay(billboard); //实景 |
| | | // commit("MSET_OPENPOINTEL", true); |
| | | }, |
| | | MSET_LOCKPERSPECTIVEL({ state, commit, dispatch }, val) { |
| | | //锁定 |
| | | state.mviewer.camera.lookAtTransform(global.DC.Namespace.Cesium.Matrix4.IDENTITY) |
| | | // console.log(global.DC.Namespace.Cesium.Matrix4.IDENTITY) |
| | | } |
| | | } |
| | | } |
| | | |