You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
zhaipx bb042154cd feature: 地形分析、通视分析交互组件和逻辑实现 2 weeks ago
.husky build: 项目构建 1 year ago
.vscode build: 项目构建 1 year ago
public refactor: 增加主页面(为增加哈希路由),新增地图图形导出KML、Geojson功能,修改引入Cesium的方式,解决打包后地球无法加载的问题,新增public下Cesium资源 3 weeks ago
scritps build: 项目构建 1 year ago
src feature: 地形分析、通视分析交互组件和逻辑实现 2 weeks ago
.env.development build: 项目构建 1 year ago
.env.production build: 项目构建 1 year ago
.env.test build: 项目构建 1 year ago
.eslintignore build: 项目构建 1 year ago
.eslintrc.cjs doc: 增加注释 11 months ago
.gitignore build: 项目构建 1 year ago
.prettierignore build: 项目构建 1 year ago
.prettierrc.json refactor: 拆分几何对象类的可选配置项类型接口定义 11 months ago
.stylelintignore feat: 增加地图罗盘、比例尺 12 months ago
.stylelintrc.cjs build: 项目构建 1 year ago
README.md refactor: 增加主页面(为增加哈希路由),新增地图图形导出KML、Geojson功能,修改引入Cesium的方式,解决打包后地球无法加载的问题,新增public下Cesium资源 3 weeks ago
commitlint.config.cjs build: 项目构建 1 year ago
index.html feature: 地形分析、通视分析交互组件和逻辑实现 2 weeks ago
package.json feature: 地形分析、通视分析交互组件和逻辑实现 2 weeks ago
pnpm-lock.yaml refactor: 增加主页面(为增加哈希路由),新增地图图形导出KML、Geojson功能,修改引入Cesium的方式,解决打包后地球无法加载的问题,新增public下Cesium资源 3 weeks ago
tsconfig.json refactor: 增加主页面(为增加哈希路由),新增地图图形导出KML、Geojson功能,修改引入Cesium的方式,解决打包后地球无法加载的问题,新增public下Cesium资源 3 weeks ago
tsconfig.node.json build: 项目构建 1 year ago
vite.config.ts feature: 地形分析、通视分析交互组件和逻辑实现 2 weeks ago

README.md

Vue 3 + Vite + Cesium

  • 采用Vue3 + TypeScript + Vite来构建Cesium应用平台。
  • 强制使用pnpm作为包管理工具。

Git提交规范

commit提交时需使用git commit -m 'fix: xxx' 改动类型如下

'feat',         //新特性、新功能
'fix',          //修改bug
'docs',         //文档修改
'style',        //代码格式修改, 注意不是 css 修改
'refactor',     //代码重构
'perf',         //优化相关,比如提升性能、体验
'test',         //测试用例修改
'chore',        //其他修改, 比如改变构建流程、或者增加依赖库、工具等
'revert',       //回滚到上一个版本
'build',        //编译相关的修改,例如发布版本、对项目构建或者依赖的改动

Cesium版本

  • 采用开源Cesium.js库版本为1.108
  • 不要随意升级版本天地图三维地形服务目前只支持1.108实测1.109也能用,更高版本则无法使用。

地图服务

地图服务采用天地图数据源(https://www.tianditu.gov.cn/

打包部署

  • 执行build后使用nginx部署项目时需将项目中的public目录复制到dist中。public包含了Cesium所需的静态资源否则不能加载地球