摘要: npm安装地址: https://www.npmjs.com/package/vue-seamless-scroll npm 执行:npm install vue-seamless-scroll --save main.js文件里面引入使用: import scroll from 'vue-seam 阅读全文
posted @ 2020-04-29 16:19 阿玛度の博客 阅读(2534) 评论(0) 推荐(0)
摘要: 1.加载3dtile数据(url是3dtile数据配置文件,proxy可能存在跨域所需要的代理) //加载3dtiles function add3DTiles(url, proxy) { var tileset = viewer.scene.primitives.add(new Cesium.Ce 阅读全文
posted @ 2020-03-11 14:44 阿玛度の博客 阅读(2004) 评论(0) 推荐(0)
摘要: <div @mousedown="mousedown" id="dragbox" class="dragbox"> </div> mousedown(event) { this.selectElement = document.getElementById("dragbox"); var div1 阅读全文
posted @ 2020-01-14 15:33 阿玛度の博客 阅读(398) 评论(0) 推荐(0)
摘要: MapTalks.js 地图框架 官网地址:https://maptalks.org/ API地址:https://maptalks.org/maptalks.js/api/0.x/Map.html 一,自定义arcgis server 瓦片图层 <script> var arcUrl = 'htt 阅读全文
posted @ 2019-12-26 14:14 阿玛度の博客 阅读(7927) 评论(0) 推荐(0)
摘要: 一、引用方式: <bar-chart key="Chart" :yName="'Y'" :legend="data.legend" :xAxis="data.xAxis" :lineColors="data.colorList" :series="data.series" :tLabel="{sho 阅读全文
posted @ 2019-12-16 11:58 阿玛度の博客 阅读(3755) 评论(0) 推荐(0)
摘要: //消息初始化 MsgInit() { let that = this; hubs.init(); //需要指定服务端的ip $.connection.hub.url = `${mapUrl.SIGNALR_URL}/signalr`; var chat = $.connection.GeoHub; 阅读全文
posted @ 2019-12-16 11:43 阿玛度の博客 阅读(402) 评论(0) 推荐(0)
摘要: play() { this.is_playing = this.is_playing ? false : true; if (this.is_playing) { if (this.queryXQForm.state == 0) { sip = window.setInterval(() => { 阅读全文
posted @ 2019-12-16 11:37 阿玛度の博客 阅读(253) 评论(0) 推荐(0)
摘要: 一、加载图标资源 ImageList.map((item, index) => { this.map.loadImage( `static/images/${item}.png`, (error, img) => { img && this.map.addImage(item, img); } ); 阅读全文
posted @ 2019-12-16 11:22 阿玛度の博客 阅读(4484) 评论(2) 推荐(0)
摘要: Mapbox GL JS 相关连接: https://docs.mapbox.com/mapbox-gl-js/api/ https://github.com/mapbox/mapbox-gl-js https://mp.weixin.qq.com/s/44zNqiFjJ4quc0AKG0_Vqw 阅读全文
posted @ 2019-12-16 10:35 阿玛度の博客 阅读(8254) 评论(0) 推荐(1)
摘要: 1、跳转链接 在当前窗口打开 window.location.href="http://www.baidu.com" 等价于 <a href="baidu.com" target="_self">go baidu</a> 2、跳转链接 在新窗口打开 window.open("http://www.b 阅读全文
posted @ 2019-12-06 15:04 阿玛度の博客 阅读(2104) 评论(0) 推荐(0)