摘要:
首先安装 html2Canvas 和 jspdf npm i html2canvas -S npm i jspdf -S 然后在vue页面引入 import html2Canvas from 'html2canvas' import JsPDF from 'jspdf' 最后实现: html2Can 阅读全文
posted @ 2019-12-25 14:51
环岛公路
阅读(774)
评论(0)
推荐(0)
摘要:
cesium里面没有指南针 需要安装其他的插件: cesium-navigation-es6 npm i cesium-navigation-es6 -S 安装好之后在mainjs里引入 import CesiumNavigation from 'cesium-navigation-es6' 配置一 阅读全文
posted @ 2019-12-25 14:26
环岛公路
阅读(3868)
评论(1)
推荐(0)
摘要:
computed: { handler() { return new this.Cesium.ScreenSpaceEventHandler(this.viewer.scene.canvas) } } 在事件的外面先定义一下 const _this = this (因为在setInputAction 阅读全文
posted @ 2019-12-25 11:56
环岛公路
阅读(4757)
评论(0)
推荐(0)

浙公网安备 33010602011771号