上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 33 下一页
摘要: windows下 tomcat发布Java jar项目 一、下载解压tomcat 链接:https://pan.baidu.com/s/16o9cr8qsg32ncrGTHlgTZw 提取码:zwy7 复制这段内容后打开百度网盘手机App,操作更方便哦 二、将jar包放入webapps目录下 三、发 阅读全文
posted @ 2020-12-24 14:08 莫小龙 阅读(1446) 评论(0) 推荐(0)
摘要: Java实现GeoServer通过rest发布shp至WMS服务 项目中遇到需要GeoTools发布shp至GeoServer,特此记录。 一、添加依赖 <dependency> <groupId>org.geotools</groupId> <artifactId>gt-shapefile</ar 阅读全文
posted @ 2020-12-24 14:06 莫小龙 阅读(4578) 评论(1) 推荐(2)
摘要: ol 之 判断点是否在面内 引用: import { Feature } from 'ol' import Polygon from 'ol/geom/Polygon'; 代码: // 地图上的不规则斑块 let wuxi = [ [ [120.57785099716335, 31.72873608 阅读全文
posted @ 2020-12-23 16:56 莫小龙 阅读(494) 评论(0) 推荐(0)
摘要: threejs之加载stl模型 loader.load(`/gltf/RMHospital.stl`, geometry => { // var material2 = new THREE.MeshLambertMaterial( { color: 0x00ff00} ); let material 阅读全文
posted @ 2020-12-08 19:36 莫小龙 阅读(2177) 评论(0) 推荐(0)
摘要: threejs之添加gltf模型 加载模型: let GLTFLoader1 = new GLTFLoader(); /*实例化加载器*/ GLTFLoader1.load("/gltf/1.gltf", (obj) => { scene.add(obj.scene); obj.scene.posi 阅读全文
posted @ 2020-12-08 19:32 莫小龙 阅读(4245) 评论(0) 推荐(0)
摘要: vue之$emit返回值 应用场景:子组件调用父组件的方法并获取到父组件方法的返回值 // 父组件getdata(){ return data}// 子组件let data = this.$emit("getdata", bounds) return data 这种写法是错误的,拿到的data是指向 阅读全文
posted @ 2020-10-27 14:51 莫小龙 阅读(10961) 评论(0) 推荐(5)
摘要: cesium之创建一个干净的地球 效果图: 代码: <template> <div id="wallmapway"></div> </template> <script> import * as Cesium from 'cesium/Cesium' import "cesium/Widgets/w 阅读全文
posted @ 2020-10-23 10:15 莫小龙 阅读(1167) 评论(0) 推荐(0)
摘要: threejs效果之楼房展示 效果: 基础数据: 楼房每一个楼的底边数据,数据结构为geojson。properties属性中Floor属性为楼房层数,本示例默认所有楼每层等高。 数据示例: { "type": "FeatureCollection", "features": [ { "type": 阅读全文
posted @ 2020-10-21 11:43 莫小龙 阅读(8540) 评论(0) 推荐(1)
摘要: Cesium之地图研究 作者:璐璐 ##### entities(可添加 point、polyline、billboard、wall、model、polylineVolume等等) * 添加点 ```js viewer.entities.add({ name: '', position: Cesiu 阅读全文
posted @ 2020-09-29 15:17 莫小龙 阅读(1484) 评论(0) 推荐(0)
摘要: js之生成并下载txt文件 代码: downloadTxt(text, fileName){ let element = document.createElement('a') element.setAttribute('href', 'data:text/plain;charset=utf-8,' 阅读全文
posted @ 2020-09-28 15:29 莫小龙 阅读(3153) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 33 下一页