This commit is contained in:
liqi 2025-03-31 23:26:29 +08:00
parent 8abc70eee8
commit fb5814c597
592 changed files with 192466 additions and 0 deletions

5
.env.development Normal file
View File

@ -0,0 +1,5 @@
NODE_ENV = 'development'
# VUE_APP_API_URL = 'http://192.168.0.74:5002'
# VUE_APP_API_URL = 'http://111.198.19.33:5002'
VUE_APP_API_URL = 'http://101.43.201.20:5001'
VUE_APP_MESSAGE_SDK_DEBUG = true

2
.env.production Normal file
View File

@ -0,0 +1,2 @@
NODE_ENV = 'production'
VUE_APP_API_URL = '/'

8
.eslintignore Normal file
View File

@ -0,0 +1,8 @@
build/
bin/
dist/
tests/
node_modules/
babel.config.js
postcss.config.js
src/assets/iconfont/

43
.eslintrc.js Normal file
View File

@ -0,0 +1,43 @@
module.exports = {
// 根目录的 ESLint 配置
root: true,
// 指定代码运行环境
env: {
node: true // 在 Node.js 环境中运行
},
// 继承的规则配置
extends: [
"plugin:vue/essential", // 使用 Vue.js 的必要规则
// "eslint:recommended", // 使用 ESLint 推荐的规则
"plugin:prettier/recommended" // 使用 Prettier 插件推荐的规则
],
// 解析器选项配置
parserOptions: {
parser: "@babel/eslint-parser" // 使用 Babel 解析器
},
// 自定义的规则配置
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off", // 生产环境下警告使用 console
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", // 生产环境下警告使用 debugger
"linebreak-style": "off", // 关闭换行风格检查
"comma-dangle": ["error", "never"], // 禁止尾随逗号
"prettier/prettier": ["error", { endOfLine: "auto" }] // 添加 Prettier 的换行符风格配置
},
// 针对特定文件的覆盖配置
overrides: [
{
files: [
"**/__tests__/*.{j,t}s?(x)", // 匹配 __tests__ 目录下的 js、ts、jsx、tsx 文件
"**/tests/unit/**/*.spec.{j,t}s?(x)" // 匹配 tests/unit 目录下的 spec 文件
],
env: {
jest: true // 在这些文件中启用 Jest 环境
}
}
]
};

33
.gitignore vendored Normal file
View File

@ -0,0 +1,33 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
pnpm-lock.yaml
node_modules
.DS_Store
dist
dist.zip
dist-ssr
dist - 副本
test_dist
coverage
*.local
.git1
/cypress/videos/
/cypress/screenshots/
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

2
.npmrc Normal file
View File

@ -0,0 +1,2 @@
# registry=http://registry.npm.taobao.org/
# @ct:registry=http://10.38.77.5:8081/repository/npm-public/

4
.prettierrc Normal file
View File

@ -0,0 +1,4 @@
{
"semi": true,
"trailingComma": "none"
}

1
.stylelintignore Normal file
View File

@ -0,0 +1 @@
src/assets/iconfont/

12
.stylelintrc.js Normal file
View File

@ -0,0 +1,12 @@
module.exports = {
processors: [],
plugins: ['stylelint-scss'],
extends: "stylelint-config-standard", // 这是官方推荐的方式
rules: {
"no-missing-end-of-source-newline": null,
"declaration-block-no-duplicate-properties": true,
"no-invalid-double-slash-comments": null
}
}

201
LICENSE Normal file
View File

@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

82
README.md Normal file
View File

@ -0,0 +1,82 @@
## 图层切换树组件配置文件说明
```
treeConfig.json: 主页及其二级页面图层切换树结构,具体可以看现有示例。
{
homePage: [ //homePage、positionEquipment、airspace... :主页及其二级页面名称
{
"name": "全部" //名称:全部、阵地设备、... (必须)
"show": false //初始化显隐状态 (必须)
"icon": "qb.png" //图标,位置在views/mapControl/map/map.js (必须)
"type": "all" //带表该节点为全部,勾选时会将其他所有节点选中状态 (非必须)
"apiParam": "1" //存在apiParam节点则认为该节点的所有子节点是通过请求接口数据请求参数为1 (非必须)
"children": [] //二级节点,该节点不需要通过请求时,可配置静态节点,如二三维度,行政区划图层等(非必须)
"legendOptions": { //图例配置,当该节点及其子节点中展示状态时,展示图例内容(非必须)
"legendData": [//图例数据
{
"name": "适飞空域", //图例名称
"color": "rgba(126, 192, 80, 1)" //图例颜色,颜色或图标二选一
"icon": "qb.png" //图例图标,颜色或图标二选一
}
]
}
}
]
}
mapLayer.json: 请求回来的节点数据,配置图层样式及气泡等内容
{
"1": [ //图层接口请求参数对应的图层样式
"name": "反制设备", //要与接口请求回来的节点名称一直
"show": true, //现有状态
"children": [ //子节点
{
"name": "全向干扰", //子节点名称,要与接口返回对应
"show": true, //显隐状态
"popup": { //气泡配置
"templateName": "positionTemplate", //要使用的气泡模板
"width": 310, //气泡宽度
"height": 170 //气泡高度
},
"render": { //图层专题展示
"type": "simple", //简单专题symbol数组类型时key代表数据中字段value代表值对象类型则有数据源中存在空间数据就行.其他类型还有circleWave覆盖范围圆、heatMap热力图、administrativeRegion行政区划、2D二维、3D三维等,详细看示例
"symbol": [
{
"key": "onlineStatus", //数据中的字段
"value": "0", //字段的值
"type": "point", //点类型
"style": { //点样式
"url": "fzsb-qxgr.png", //点图标
"width": 36, //图标宽度
"height": 53 //图标高度
}
},
{
"key": "onlineStatus",
"value": "1",
"type": "point",
"style": {
"url": "fzsb-qxgr-off.png",
"width": 36,
"height": 53
}
}
]
}
}
]
]
}
mapLayer.json
type是数据类型 circleWave(圆) point(点)
symbol是数组 里面有在线和离线的图标 通过value来区分
treeConfig.json
节点带apiParam代表该节点的内容要通过请求覆盖
legendOptions是在图层上面展示图例
名字是根据不同的二级页面 展示不同的图层内容
在图层增加数据时 需要在所有同样的二级菜单下增加相同的数据
```
在iframe里面部署之后 根据配置更改的字段标识 ***_***

17
babel.config.js Normal file
View File

@ -0,0 +1,17 @@
module.exports = {
presets: ["@vue/cli-plugin-babel/preset"],
plugins: [
[
"component",
{
libraryName: "element-ui",
styleLibraryName: "theme-chalk"
}
]
],
env: {
production: {
plugins: ["transform-remove-console"]
}
}
};

36
compress-gltf.js Normal file
View File

@ -0,0 +1,36 @@
const gltfPipeline = require("gltf-pipeline");
const fs = require("fs");
const path = require("path");
const inputDir = "/data"; // 你的模型文件存放目录
const outputDir = "/data"; // 压缩后的输出目录
if (!fs.existsSync(outputDir)) {
fs.mkdirSync(outputDir, { recursive: true });
}
const processFile = async (file) => {
const inputPath = path.join(inputDir, file);
const outputPath = path.join(outputDir, file);
const fileData = fs.readFileSync(inputPath);
if (file.endsWith(".gltf")) {
const gltf = JSON.parse(fileData.toString());
const options = { dracoOptions: { compressionLevel: 10 } }; // 使用 Draco 压缩
const result = await gltfPipeline.processGltf(gltf, options);
fs.writeFileSync(outputPath, JSON.stringify(result.gltf));
} else if (file.endsWith(".glb")) {
const result = await gltfPipeline.glbToGlb(fileData, {
dracoOptions: { compressionLevel: 10 }
});
fs.writeFileSync(outputPath, result.glb);
}
};
fs.readdirSync(inputDir).forEach((file) => {
if (file.match(/\.(gltf|glb)$/)) {
processFile(file).catch((err) => console.error(`Error processing ${file}:`, err));
}
});
console.log("GLTF/GLB compression completed!");

13
eslint.config.js Normal file
View File

@ -0,0 +1,13 @@
module.exports = {
ignores: [
"build/",
"bin/",
"dist/",
"tests/",
"node_modules/",
"babel.config.js",
"postcss.config.js",
"src/assets/iconfont/",
// 可以添加更多的忽略规则
],
};

3
jest.config.js Normal file
View File

@ -0,0 +1,3 @@
module.exports = {
preset: "@vue/cli-plugin-unit-jest",
};

4
lint-staged.config.js Normal file
View File

@ -0,0 +1,4 @@
module.exports = {
"*.{js,jsx,vue}": "vue-cli-service lint ",
// "src/**/*.{css,scss,vue}": "stylelint --fix --custom-syntax postcss-scss",
};

24251
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

74
package.json Normal file
View File

@ -0,0 +1,74 @@
{
"name": "",
"version": "0.1.0",
"private": true,
"scripts": {
"prebuild": "node compress-gltf.js",
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"test:unit": "vue-cli-service test:unit",
"lint": "eslint --fix --ext .js,.vue src",
"lintcss": "stylelint src/**/*.{css,scss,vue} --fix --custom-syntax postcss-scss",
"start:vite": "vite"
},
"dependencies": {
"@microsoft/signalr": "^8.0.7",
"@vue-office/docx": "^1.6.2",
"@vue-office/excel": "^1.7.11",
"@vue-office/pdf": "^2.0.10",
"axios": "^1.1.3",
"core-js": "^3.8.3",
"echarts": "^5.5.1",
"echarts-gl": "^2.0.9",
"echarts-liquidfill": "^3.1.0",
"element-ui": "^2.15.10",
"file-saver": "^2.0.5",
"moment": "^2.30.1",
"vue": "^2.7.16",
"vue-router": "^3.5.1",
"vueshowpdf": "^1.1.2",
"vuex": "^3.6.2"
},
"devDependencies": {
"@babel/core": "^7.12.16",
"@babel/eslint-parser": "^7.12.16",
"@vue/cli-plugin-babel": "~5.0.0",
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-plugin-router": "~5.0.0",
"@vue/cli-plugin-unit-jest": "~5.0.0",
"@vue/cli-plugin-vuex": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"@vue/test-utils": "^1.1.3",
"@vue/vue2-jest": "^27.0.0-alpha.2",
"babel-jest": "^27.0.6",
"babel-plugin-component": "^1.1.1",
"babel-plugin-transform-remove-console": "^6.9.4",
"compression-webpack-plugin": "^5.0.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.0.3",
"file-loader": "^6.2.0",
"gltf-pipeline": "^4.1.0",
"happypack": "^5.0.1",
"image-webpack-loader": "^8.1.0",
"imagemin-gifsicle": "^7.0.0",
"imagemin-mozjpeg": "^10.0.0",
"imagemin-pngquant": "^10.0.0",
"imagemin-svgo": "^11.0.1",
"jest": "^27.0.5",
"lint-staged": "^11.1.2",
"moment-locales-webpack-plugin": "^1.2.0",
"prettier": "^2.4.1",
"sass": "^1.32.7",
"sass-loader": "^12.0.0",
"stylelint": "^14.14.0",
"stylelint-config-standard": "^29.0.0",
"stylelint-scss": "^4.3.0",
"svg-sprite-loader": "^6.0.11",
"vue-template-compiler": "^2.6.14"
},
"gitHooks": {
"pre-commit": "lint-staged"
}
}

View File

@ -0,0 +1,91 @@
{
"map3d": {
"scene": {
"center": {
"lat": 40.797516,
"lng": 114.583201,
"alt": 465202,
"heading": 6,
"pitch": -90
},
"contextOptions": {
"webgl": {
"preserveDrawingBuffer": true
}
},
"scene3DOnly": false,
"shadows": false,
"removeDblClick": true,
"sceneMode": 3,
"showSun": true,
"showMoon": true,
"showSkyBox": true,
"showSkyAtmosphere": true,
"fog": true,
"fxaa": true,
"requestRenderMode": true,
"globe": {
"depthTestAgainstTerrain": false,
"baseColor": "#546a53",
"showGroundAtmosphere": true,
"enableLighting": false
},
"cameraController": {
"zoomFactor": 3.0,
"minimumZoomDistance": 1,
"maximumZoomDistance": 50000000,
"enableRotate": true,
"enableTranslate": true,
"enableTilt": true,
"enableZoom": true,
"enableCollisionDetection": true,
"minimumCollisionTerrainHeight": 15000
}
},
"control": {
"homeButton": false,
"baseLayerPicker": false,
"sceneModePicker": false,
"vrButton": false,
"fullscreenButton": false,
"navigationHelpButton": false,
"animation": false,
"timeline": false,
"infoBox": false,
"geocoder": false,
"selectionIndicator": false,
"distanceLegend": true
},
"basemaps": [
{
"id": 2021,
"pid": 10,
"name": "天地图影像",
"icon": "https://data.mars3d.cn/img/thumbnail/basemap/tdt_img.png",
"type": "group",
"layers": [
{
"name": "底图",
"type": "tdt",
"layer": "img_d"
},
{
"name": "注记",
"type": "tdt",
"layer": "img_z"
}
],
"show": false
},
{
"id": "yinxiangMap",
"name": "天地图影像",
"type": "xyz",
"url": "http:/www.tdss.website:280/tiles/img_c/{z}/{x}/{y}",
"crs": "EPSG:4490",
"show": true
}
],
"layers": []
}
}

View File

@ -0,0 +1,74 @@
{
"map3d": {
"scene": {
"center": {
"lat": 30.69629216,
"lng": 117.89791646,
"alt": 34793935,
"heading": 6,
"pitch": -90
},
"contextOptions": {
"webgl": {
"preserveDrawingBuffer": true
}
},
"scene3DOnly": false,
"shadows": false,
"removeDblClick": true,
"sceneMode": 3,
"showSun": true,
"showMoon": true,
"showSkyBox": true,
"showSkyAtmosphere": true,
"fog": true,
"fxaa": true,
"requestRenderMode": true,
"globe": {
"depthTestAgainstTerrain": false,
"baseColor": "#546a53",
"showGroundAtmosphere": true,
"enableLighting": false
},
"cameraController": {
"zoomFactor": 3.0,
"minimumZoomDistance": 1,
"maximumZoomDistance": 50000000,
"enableRotate": true,
"enableTranslate": true,
"enableTilt": true,
"enableZoom": true,
"enableCollisionDetection": true,
"minimumCollisionTerrainHeight": 15000
}
},
"control": {
"homeButton": false,
"baseLayerPicker": false,
"sceneModePicker": false,
"vrButton": false,
"fullscreenButton": false,
"navigationHelpButton": false,
"animation": false,
"timeline": false,
"infoBox": false,
"geocoder": false,
"selectionIndicator": false,
"distanceLegend": false
},
"templateValues": {
"dataServer": "//data.mars3d.cn",
"gltfServerUrl": "//data.mars3d.cn/gltf"
},
"basemaps": [
{
"id": "",
"name": "天地图影像",
"type": "xyz",
"url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",
"show": true
}
],
"layers": []
}
}

View File

@ -0,0 +1,71 @@
{
"map3d": {
"scene": {
"center": {
"lat": 30.57187,
"lng": 117.129547,
"alt": 1000,
"heading": 6,
"pitch": -90
},
"scene3DOnly": false,
"shadows": false,
"removeDblClick": true,
"sceneMode": 2,
"showSun": true,
"showMoon": true,
"showSkyBox": true,
"showSkyAtmosphere": true,
"fog": true,
"fxaa": true,
"requestRenderMode": true,
"globe": {
"depthTestAgainstTerrain": false,
"baseColor": "#546a53",
"showGroundAtmosphere": true,
"enableLighting": false
},
"cameraController": {
"zoomFactor": 3.0,
"minimumZoomDistance": 1,
"maximumZoomDistance": 50000000,
"enableRotate": true,
"enableTranslate": true,
"enableTilt": true,
"enableZoom": true,
"enableCollisionDetection": true,
"minimumCollisionTerrainHeight": 15000
}
},
"control": {
"homeButton": false,
"baseLayerPicker": false,
"sceneModePicker": false,
"vrButton": false,
"fullscreenButton": false,
"navigationHelpButton": false,
"clockAnimate":false,
"timeline": {
"zoom": false
},
"animation": false,
"infoBox": false,
"geocoder": false,
"selectionIndicator": false
},
"templateValues": {
"dataServer": "//data.mars3d.cn",
"gltfServerUrl": "//data.mars3d.cn/gltf"
},
"basemaps": [
{
"id": "",
"name": "天地图影像",
"type": "xyz",
"url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",
"show": true
}
],
"layers": []
}
}

7
public/dep/localforage.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<TileMap version="1.0.0" tilemapservice="http://tms.osgeo.org/1.0.0">
<Title>NE2_HR_LC_SR_W_DR_recolored.tif</Title>
<Abstract></Abstract>
<SRS>EPSG:4326</SRS>
<BoundingBox miny="-90.00000000000000" minx="-180.00000000000000" maxy="90.00000000000000" maxx="180.00000000000000"/>
<Origin y="-90.00000000000000" x="-180.00000000000000"/>
<TileFormat width="256" height="256" mime-type="image/jpg" extension="jpg"/>
<TileSets profile="geodetic">
<TileSet href="0" units-per-pixel="0.70312500000000" order="0"/>
<TileSet href="1" units-per-pixel="0.35156250000000" order="1"/>
<TileSet href="2" units-per-pixel="0.17578125000000" order="2"/>
</TileSets>
</TileMap>

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Some files were not shown because too many files have changed in this diff Show More