# hc-portal **Repository Path**: hutooq/hc-portal ## Basic Information - **Project Name**: hc-portal - **Description**: 航测数据管理与三维可视化平台——系统门户 - **Primary Language**: NodeJS - **License**: Not specified - **Default Branch**: master - **Homepage**: https://gitee.com/hutooq/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-03 - **Last Updated**: 2022-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 3dgis ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). 1. 主页面为Home 2. 所有静态资源(图片、logo放在src/assets目录下) 3. 3DScene为加载影像、模型的三维场景 4. 三维模型的加载,目前支持两种方式。第一种直接加载三位场景,使用该方法可以把所有模型放在一个场景(初始视角可以在idesktop中调整好,不再需要通过代码调整),通过一个url全部加载,3DScene通过addModelByScene和sceneUrl属性支持该方法,首先需要设置addModelByScene属性为true,其次通过sceneUrl设置场景url。第二种方法通过addS3MTilesLayerByScp添加单个图层,该方法需要设置addModelByScene属性为false,其次通过models属性设置图层列表。