Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
蒋波涛
/
super_globe_vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
170128ce
authored
2019-12-07 14:05:57 +0800
by
unknown
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
'20191207'
1 parent
71a13815
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
64 additions
and
305 deletions
README.md
package-lock.json
package.json
src/components/viewer_ms3m.vue
src/components/viewer_s3m.vue
src/components/viewer_s3m_single.vue
src/components/viewer_s3m_wz.vue
src/components/viewer_s3mbhyp.vue
src/components/viewer_tdt.vue
src/components/viewer_ymo.vue
src/main.js
src/views/Home.vue
README.md
View file @
170128c
...
...
@@ -2,7 +2,7 @@
*
@Author: jiangbotao
*
@Date: 2019-12-03 22:31:52
*
@LastEditors: jiangbotao
*
@LastEditTime: 2019-12-0
4 08:14:45
*
@LastEditTime: 2019-12-0
7 14:05:19
*
@FilePath:
\s
uperglobevue
\R
EADME.md
-->
# superglobevue
...
...
@@ -11,13 +11,22 @@
SuperGlobeVue是基于vue-cli3和supermap cesium 的一款Globe地球视图。
系统通过vue.config.js进行了eslint的配置。不用担心vue写法中的一系列配置和语法问题。
-
数据配置文件为config/urlConfig.vue
-
修改显示组件主要为views/Home.vue中的第15行
-
Globe的主要视图是src/componnets/viewer.vue
-
系统通过vue.config.js进行了eslint的配置。
## 2、功能组件
-
viewer_ymo.vue 淹没分析
-
viewer_tdt.vue 加载天地图数据
-
viewer_s3m.vue 加载倾斜摄影数据+矢量面(构成水面)
-
viewer_s3m_single.vue 添加铁岭倾斜摄影数据+矢量面数据+矢量单体化查询效果
-
viewer_s3m_wz.vue 自定义添加温州倾斜摄影数据+矢量面数据+单体化查询
-
viewer_ms3m.vue 通过scene和addS3MTilesLayerByScp两种方式添加倾斜摄影场景和图层
-
viewer_ming.vue 多个栅格图层面的动画效果
-
viewer_changeview.vue 地图视图效果,在10000米以上不能改变角度,10000米以下能够改动视角
## 2、设置
### 项目依赖库安装
...
...
package-lock.json
View file @
170128c
...
...
@@ -4,28 +4,6 @@
"lockfileVersion"
:
1
,
"requires"
:
true
,
"dependencies"
:
{
"@ant-design/colors"
:
{
"version"
:
"3.2.2"
,
"resolved"
:
"https://registry.npmjs.org/@ant-design/colors/-/colors-3.2.2.tgz"
,
"integrity"
:
"sha512-YKgNbG2dlzqMhA9NtI3/pbY16m3Yl/EeWBRa+lB1X1YaYxHrxNexiQYCLTWO/uDvAjLFMEDU+zR901waBtMtjQ=="
,
"requires"
:
{
"tinycolor2"
:
"^1.4.1"
}
},
"@ant-design/icons"
:
{
"version"
:
"2.1.1"
,
"resolved"
:
"https://registry.npmjs.org/@ant-design/icons/-/icons-2.1.1.tgz"
,
"integrity"
:
"sha512-jCH+k2Vjlno4YWl6g535nHR09PwCEmTBKAG6VqF+rhkrSPRLfgpU2maagwbZPLjaHuU5Jd1DFQ2KJpQuI6uG8w=="
},
"@ant-design/icons-vue"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/@ant-design/icons-vue/-/icons-vue-2.0.0.tgz"
,
"integrity"
:
"sha512-2c0QQE5hL4N48k5NkPG5sdpMl9YnvyNhf0U7YkdZYDlLnspoRU7vIA0UK9eHBs6OpFLcJB6o8eJrIl2ajBskPg=="
,
"requires"
:
{
"@ant-design/colors"
:
"^3.1.0"
,
"babel-runtime"
:
"^6.26.0"
}
},
"@babel/code-frame"
:
{
"version"
:
"7.5.5"
,
"resolved"
:
"https://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.5.5.tgz"
,
...
...
@@ -2158,14 +2136,6 @@
"integrity"
:
"sha1-Ejy487hMIXHx9/slJhWxx4prGow="
,
"dev"
:
true
},
"add-dom-event-listener"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npmjs.org/add-dom-event-listener/-/add-dom-event-listener-1.1.0.tgz"
,
"integrity"
:
"sha512-WCxx1ixHT0GQU9hb0KI/mhgRQhnU+U3GvwY6ZvVjYq8rsihIGoaIOUbY0yMPBxLH5MDtr0kz3fisWGNcbWW7Jw=="
,
"requires"
:
{
"object-assign"
:
"4.x"
}
},
"address"
:
{
"version"
:
"1.1.2"
,
"resolved"
:
"https://registry.npm.taobao.org/address/download/address-1.1.2.tgz"
,
...
...
@@ -2245,48 +2215,6 @@
"color-convert"
:
"^1.9.0"
}
},
"ant-design-vue"
:
{
"version"
:
"1.4.8"
,
"resolved"
:
"https://registry.npmjs.org/ant-design-vue/-/ant-design-vue-1.4.8.tgz"
,
"integrity"
:
"sha512-CVcJZP76q03h7/PSgMMPBzJXijS3UcVnOthWiYVAMP9zC6nVMBpaZsUGywa71muWBYbdGOFUVsI8VCyDxlzpjg=="
,
"requires"
:
{
"@ant-design/icons"
:
"^2.1.1"
,
"@ant-design/icons-vue"
:
"^2.0.0"
,
"add-dom-event-listener"
:
"^1.0.2"
,
"array-tree-filter"
:
"^2.1.0"
,
"async-validator"
:
"^3.0.3"
,
"babel-helper-vue-jsx-merge-props"
:
"^2.0.3"
,
"babel-runtime"
:
"6.x"
,
"classnames"
:
"^2.2.5"
,
"component-classes"
:
"^1.2.6"
,
"dom-align"
:
"^1.7.0"
,
"dom-closest"
:
"^0.2.0"
,
"dom-scroll-into-view"
:
"^1.2.1"
,
"enquire.js"
:
"^2.1.6"
,
"intersperse"
:
"^1.0.0"
,
"is-negative-zero"
:
"^2.0.0"
,
"ismobilejs"
:
"^0.5.1"
,
"json2mq"
:
"^0.2.0"
,
"lodash"
:
"^4.17.5"
,
"moment"
:
"^2.21.0"
,
"mutationobserver-shim"
:
"^0.3.2"
,
"node-emoji"
:
"^1.10.0"
,
"omit.js"
:
"^1.0.0"
,
"raf"
:
"^3.4.0"
,
"resize-observer-polyfill"
:
"^1.5.1"
,
"shallow-equal"
:
"^1.0.0"
,
"shallowequal"
:
"^1.0.2"
,
"vue-ref"
:
"^1.0.4"
,
"warning"
:
"^3.0.0"
},
"dependencies"
:
{
"async-validator"
:
{
"version"
:
"3.2.3"
,
"resolved"
:
"https://registry.npmjs.org/async-validator/-/async-validator-3.2.3.tgz"
,
"integrity"
:
"sha512-yMJ4i3x5qEGVgEMowZiBkx+rjDrsXf64BWdHENCtHLgyPiEE+2r8jvqMF1cghCgdGo4sWVLJ7MDwPQgGSPDCcw=="
}
}
},
"any-promise"
:
{
"version"
:
"1.3.0"
,
"resolved"
:
"https://registry.npm.taobao.org/any-promise/download/any-promise-1.3.0.tgz"
,
...
...
@@ -2375,11 +2303,6 @@
"es-abstract"
:
"^1.7.0"
}
},
"array-tree-filter"
:
{
"version"
:
"2.1.0"
,
"resolved"
:
"https://registry.npmjs.org/array-tree-filter/-/array-tree-filter-2.1.0.tgz"
,
"integrity"
:
"sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw=="
},
"array-union"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npm.taobao.org/array-union/download/array-union-1.0.2.tgz"
,
...
...
@@ -2613,11 +2536,6 @@
"resolve"
:
"^1.12.0"
}
},
"babel-helper-vue-jsx-merge-props"
:
{
"version"
:
"2.0.3"
,
"resolved"
:
"https://registry.npmjs.org/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz"
,
"integrity"
:
"sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg=="
},
"babel-jest"
:
{
"version"
:
"24.9.0"
,
"resolved"
:
"https://registry.npm.taobao.org/babel-jest/download/babel-jest-24.9.0.tgz?cache=0&sync_timestamp=1566444289086&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-jest%2Fdownload%2Fbabel-jest-24.9.0.tgz"
,
...
...
@@ -2720,6 +2638,7 @@
"version"
:
"6.26.0"
,
"resolved"
:
"https://registry.npm.taobao.org/babel-runtime/download/babel-runtime-6.26.0.tgz"
,
"integrity"
:
"sha1-llxwWGaOgrVde/4E/yM3vItWR/4="
,
"dev"
:
true
,
"requires"
:
{
"core-js"
:
"^2.4.0"
,
"regenerator-runtime"
:
"^0.11.0"
...
...
@@ -2728,12 +2647,14 @@
"core-js"
:
{
"version"
:
"2.6.10"
,
"resolved"
:
"https://registry.npm.taobao.org/core-js/download/core-js-2.6.10.tgz?cache=0&sync_timestamp=1575309477270&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcore-js%2Fdownload%2Fcore-js-2.6.10.tgz"
,
"integrity"
:
"sha1-iluDkfjMcBPacDQRzltYVwYwDX8="
"integrity"
:
"sha1-iluDkfjMcBPacDQRzltYVwYwDX8="
,
"dev"
:
true
},
"regenerator-runtime"
:
{
"version"
:
"0.11.1"
,
"resolved"
:
"https://registry.npm.taobao.org/regenerator-runtime/download/regenerator-runtime-0.11.1.tgz"
,
"integrity"
:
"sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk="
"integrity"
:
"sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk="
,
"dev"
:
true
}
}
},
...
...
@@ -3533,11 +3454,6 @@
}
}
},
"classnames"
:
{
"version"
:
"2.2.6"
,
"resolved"
:
"https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz"
,
"integrity"
:
"sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q=="
},
"clean-css"
:
{
"version"
:
"4.2.1"
,
"resolved"
:
"https://registry.npm.taobao.org/clean-css/download/clean-css-4.2.1.tgz"
,
...
...
@@ -3900,25 +3816,12 @@
"integrity"
:
"sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs="
,
"dev"
:
true
},
"component-classes"
:
{
"version"
:
"1.2.6"
,
"resolved"
:
"https://registry.npmjs.org/component-classes/-/component-classes-1.2.6.tgz"
,
"integrity"
:
"sha1-xkI5TDYYpNiwuJGe/Mu9kw5c1pE="
,
"requires"
:
{
"component-indexof"
:
"0.0.3"
}
},
"component-emitter"
:
{
"version"
:
"1.3.0"
,
"resolved"
:
"https://registry.npm.taobao.org/component-emitter/download/component-emitter-1.3.0.tgz"
,
"integrity"
:
"sha1-FuQHD7qK4ptnnyIVhT7hgasuq8A="
,
"dev"
:
true
},
"component-indexof"
:
{
"version"
:
"0.0.3"
,
"resolved"
:
"https://registry.npmjs.org/component-indexof/-/component-indexof-0.0.3.tgz"
,
"integrity"
:
"sha1-EdCRMSI5648yyPJa6csAL/6NPCQ="
},
"compressible"
:
{
"version"
:
"2.0.17"
,
"resolved"
:
"https://registry.npm.taobao.org/compressible/download/compressible-2.0.17.tgz?cache=0&sync_timestamp=1561981219831&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcompressible%2Fdownload%2Fcompressible-2.0.17.tgz"
,
...
...
@@ -4937,19 +4840,6 @@
"isarray"
:
"^1.0.0"
}
},
"dom-align"
:
{
"version"
:
"1.10.2"
,
"resolved"
:
"https://registry.npmjs.org/dom-align/-/dom-align-1.10.2.tgz"
,
"integrity"
:
"sha512-AYZUzLepy05E9bCY4ExoqHrrIlM49PEak9oF93JEFoibqKL0F7w5DLM70/rosLOawerWZ3MlepQcl+EmHskOyw=="
},
"dom-closest"
:
{
"version"
:
"0.2.0"
,
"resolved"
:
"https://registry.npmjs.org/dom-closest/-/dom-closest-0.2.0.tgz"
,
"integrity"
:
"sha1-69n5HRvyLo1vR3h2u80+yQIWwM8="
,
"requires"
:
{
"dom-matches"
:
">=1.0.1"
}
},
"dom-converter"
:
{
"version"
:
"0.2.0"
,
"resolved"
:
"https://registry.npm.taobao.org/dom-converter/download/dom-converter-0.2.0.tgz"
,
...
...
@@ -4965,16 +4855,6 @@
"integrity"
:
"sha1-WDCgop4b+Df+UKcM2ApZcjKBPK4="
,
"dev"
:
true
},
"dom-matches"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/dom-matches/-/dom-matches-2.0.0.tgz"
,
"integrity"
:
"sha1-0nKLQWqHUzmA6wibhI0lPPI6dYw="
},
"dom-scroll-into-view"
:
{
"version"
:
"1.2.1"
,
"resolved"
:
"https://registry.npmjs.org/dom-scroll-into-view/-/dom-scroll-into-view-1.2.1.tgz"
,
"integrity"
:
"sha1-6PNnMt0ImwIBqI14Fdw/iObWbH4="
},
"dom-serializer"
:
{
"version"
:
"0.2.2"
,
"resolved"
:
"https://registry.npm.taobao.org/dom-serializer/download/dom-serializer-0.2.2.tgz?cache=0&sync_timestamp=1573447907918&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdom-serializer%2Fdownload%2Fdom-serializer-0.2.2.tgz"
,
...
...
@@ -5201,11 +5081,6 @@
}
}
},
"enquire.js"
:
{
"version"
:
"2.1.6"
,
"resolved"
:
"https://registry.npmjs.org/enquire.js/-/enquire.js-2.1.6.tgz"
,
"integrity"
:
"sha1-PoeAybi4NQhMP2DhZtvDwqPImBQ="
},
"entities"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npm.taobao.org/entities/download/entities-2.0.0.tgz"
,
...
...
@@ -7715,11 +7590,6 @@
}
}
},
"intersperse"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/intersperse/-/intersperse-1.0.0.tgz"
,
"integrity"
:
"sha1-8lYfsc/vn1J3zDNHoiiGtDUaUYE="
},
"invariant"
:
{
"version"
:
"2.2.4"
,
"resolved"
:
"https://registry.npm.taobao.org/invariant/download/invariant-2.2.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Finvariant%2Fdownload%2Finvariant-2.2.4.tgz"
,
...
...
@@ -7919,11 +7789,6 @@
"is-extglob"
:
"^2.1.1"
}
},
"is-negative-zero"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz"
,
"integrity"
:
"sha1-lVOxIbD6wohp2p7UWeIMdUN4hGE="
},
"is-number"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npm.taobao.org/is-number/download/is-number-3.0.0.tgz"
,
...
...
@@ -8070,11 +7935,6 @@
"integrity"
:
"sha1-6PvzdNxVb/iUehDcsFctYz8s+hA="
,
"dev"
:
true
},
"ismobilejs"
:
{
"version"
:
"0.5.2"
,
"resolved"
:
"https://registry.npmjs.org/ismobilejs/-/ismobilejs-0.5.2.tgz"
,
"integrity"
:
"sha512-ta9UdV60xVZk/ZafFtSFslQaE76SvNkcs1r73d2PVR21zVzx9xuYv9tNe4MxA1NN7WoeCc2RjGot3Bz1eHDx3Q=="
},
"isobject"
:
{
"version"
:
"3.0.1"
,
"resolved"
:
"https://registry.npm.taobao.org/isobject/download/isobject-3.0.1.tgz"
,
...
...
@@ -8857,7 +8717,8 @@
"js-tokens"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npm.taobao.org/js-tokens/download/js-tokens-4.0.0.tgz"
,
"integrity"
:
"sha1-GSA/tZmR35jjoocFDUZHzerzJJk="
"integrity"
:
"sha1-GSA/tZmR35jjoocFDUZHzerzJJk="
,
"dev"
:
true
},
"js-yaml"
:
{
"version"
:
"3.13.1"
,
...
...
@@ -8961,14 +8822,6 @@
"integrity"
:
"sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
,
"dev"
:
true
},
"json2mq"
:
{
"version"
:
"0.2.0"
,
"resolved"
:
"https://registry.npmjs.org/json2mq/-/json2mq-0.2.0.tgz"
,
"integrity"
:
"sha1-tje9O6nqvhIsg+lyBIOusQ0skEo="
,
"requires"
:
{
"string-convert"
:
"^0.2.0"
}
},
"json3"
:
{
"version"
:
"3.3.3"
,
"resolved"
:
"https://registry.npm.taobao.org/json3/download/json3-3.3.3.tgz"
,
...
...
@@ -9191,7 +9044,8 @@
"lodash"
:
{
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npm.taobao.org/lodash/download/lodash-4.17.15.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flodash%2Fdownload%2Flodash-4.17.15.tgz"
,
"integrity"
:
"sha1-tEf2ZwoEVbv+7dETku/zMOoJdUg="
"integrity"
:
"sha1-tEf2ZwoEVbv+7dETku/zMOoJdUg="
,
"dev"
:
true
},
"lodash.defaultsdeep"
:
{
"version"
:
"4.6.1"
,
...
...
@@ -9223,11 +9077,6 @@
"integrity"
:
"sha1-7dFMgk4sycHgsKG0K7UhBRakJDg="
,
"dev"
:
true
},
"lodash.toarray"
:
{
"version"
:
"4.4.0"
,
"resolved"
:
"https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-4.4.0.tgz"
,
"integrity"
:
"sha1-JMS/zWsvuji/0FlNsRedjptlZWE="
},
"lodash.transform"
:
{
"version"
:
"4.6.0"
,
"resolved"
:
"https://registry.npm.taobao.org/lodash.transform/download/lodash.transform-4.6.0.tgz"
,
...
...
@@ -9259,6 +9108,7 @@
"version"
:
"1.4.0"
,
"resolved"
:
"https://registry.npm.taobao.org/loose-envify/download/loose-envify-1.4.0.tgz"
,
"integrity"
:
"sha1-ce5R+nvkyuwaY4OffmgtgTLTDK8="
,
"dev"
:
true
,
"requires"
:
{
"js-tokens"
:
"^3.0.0 || ^4.0.0"
}
...
...
@@ -9648,11 +9498,6 @@
}
}
},
"moment"
:
{
"version"
:
"2.24.0"
,
"resolved"
:
"https://registry.npmjs.org/moment/-/moment-2.24.0.tgz"
,
"integrity"
:
"sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg=="
},
"move-concurrently"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npm.taobao.org/move-concurrently/download/move-concurrently-1.0.1.tgz"
,
...
...
@@ -9689,11 +9534,6 @@
"integrity"
:
"sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE="
,
"dev"
:
true
},
"mutationobserver-shim"
:
{
"version"
:
"0.3.3"
,
"resolved"
:
"https://registry.npmjs.org/mutationobserver-shim/-/mutationobserver-shim-0.3.3.tgz"
,
"integrity"
:
"sha512-gciOLNN8Vsf7YzcqRjKzlAJ6y7e+B86u7i3KXes0xfxx/nfLmozlW1Vn+Sc9x3tPIePFgc1AeIFhtRgkqTjzDQ=="
},
"mute-stream"
:
{
"version"
:
"0.0.7"
,
"resolved"
:
"https://registry.npm.taobao.org/mute-stream/download/mute-stream-0.0.7.tgz"
,
...
...
@@ -9788,14 +9628,6 @@
}
}
},
"node-emoji"
:
{
"version"
:
"1.10.0"
,
"resolved"
:
"https://registry.npmjs.org/node-emoji/-/node-emoji-1.10.0.tgz"
,
"integrity"
:
"sha512-Yt3384If5H6BYGVHiHwTL+99OzJKHhgp82S8/dktEK73T26BazdgZ4JZh92xSVtGNJvz9UbXdNAc5hcrXV42vw=="
,
"requires"
:
{
"lodash.toarray"
:
"^4.4.0"
}
},
"node-forge"
:
{
"version"
:
"0.9.0"
,
"resolved"
:
"https://registry.npm.taobao.org/node-forge/download/node-forge-0.9.0.tgz?cache=0&sync_timestamp=1569524669712&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnode-forge%2Fdownload%2Fnode-forge-0.9.0.tgz"
,
...
...
@@ -9979,7 +9811,8 @@
"object-assign"
:
{
"version"
:
"4.1.1"
,
"resolved"
:
"https://registry.npm.taobao.org/object-assign/download/object-assign-4.1.1.tgz"
,
"integrity"
:
"sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
"integrity"
:
"sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
,
"dev"
:
true
},
"object-copy"
:
{
"version"
:
"0.1.0"
,
...
...
@@ -10094,14 +9927,6 @@
"integrity"
:
"sha1-Cb6jND1BhZ69RGKS0RydTbYZCE4="
,
"dev"
:
true
},
"omit.js"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/omit.js/-/omit.js-1.0.2.tgz"
,
"integrity"
:
"sha512-/QPc6G2NS+8d4L/cQhbk6Yit1WTB6Us2g84A7A/1+w9d/eRGHyEqC5kkQtHVoHZ5NFWGG7tUGgrhVZwgZanKrQ=="
,
"requires"
:
{
"babel-runtime"
:
"^6.23.0"
}
},
"on-finished"
:
{
"version"
:
"2.3.0"
,
"resolved"
:
"https://registry.npm.taobao.org/on-finished/download/on-finished-2.3.0.tgz"
,
...
...
@@ -10514,7 +10339,8 @@
"performance-now"
:
{
"version"
:
"2.1.0"
,
"resolved"
:
"https://registry.npm.taobao.org/performance-now/download/performance-now-2.1.0.tgz"
,
"integrity"
:
"sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
"integrity"
:
"sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
,
"dev"
:
true
},
"pify"
:
{
"version"
:
"4.0.1"
,
...
...
@@ -11311,14 +11137,6 @@
"integrity"
:
"sha1-YOWl/WSn+L+k0qsu1v30yFutFU4="
,
"dev"
:
true
},
"raf"
:
{
"version"
:
"3.4.1"
,
"resolved"
:
"https://registry.npmjs.org/raf/-/raf-3.4.1.tgz"
,
"integrity"
:
"sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA=="
,
"requires"
:
{
"performance-now"
:
"^2.1.0"
}
},
"randombytes"
:
{
"version"
:
"2.1.0"
,
"resolved"
:
"https://registry.npm.taobao.org/randombytes/download/randombytes-2.1.0.tgz"
,
...
...
@@ -11658,11 +11476,6 @@
"integrity"
:
"sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8="
,
"dev"
:
true
},
"resize-observer-polyfill"
:
{
"version"
:
"1.5.1"
,
"resolved"
:
"https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz"
,
"integrity"
:
"sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
},
"resolve"
:
{
"version"
:
"1.13.1"
,
"resolved"
:
"https://registry.npm.taobao.org/resolve/download/resolve-1.13.1.tgz"
,
...
...
@@ -12079,16 +11892,6 @@
"kind-of"
:
"^6.0.2"
}
},
"shallow-equal"
:
{
"version"
:
"1.2.1"
,
"resolved"
:
"https://registry.npmjs.org/shallow-equal/-/shallow-equal-1.2.1.tgz"
,
"integrity"
:
"sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA=="
},
"shallowequal"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz"
,
"integrity"
:
"sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ=="
},
"shebang-command"
:
{
"version"
:
"1.2.0"
,
"resolved"
:
"https://registry.npm.taobao.org/shebang-command/download/shebang-command-1.2.0.tgz"
,
...
...
@@ -12601,11 +12404,6 @@
"integrity"
:
"sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM="
,
"dev"
:
true
},
"string-convert"
:
{
"version"
:
"0.2.1"
,
"resolved"
:
"https://registry.npmjs.org/string-convert/-/string-convert-0.2.1.tgz"
,
"integrity"
:
"sha1-aYLMMEn7tM2F+LJFaLnZvznu/5c="
},
"string-length"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npm.taobao.org/string-length/download/string-length-2.0.0.tgz"
,
...
...
@@ -12982,11 +12780,6 @@
"integrity"
:
"sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q="
,
"dev"
:
true
},
"tinycolor2"
:
{
"version"
:
"1.4.1"
,
"resolved"
:
"https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.4.1.tgz"
,
"integrity"
:
"sha1-9PrTM0R7wLB9TcjpIJ2POaisd+g="
},
"tmp"
:
{
"version"
:
"0.0.33"
,
"resolved"
:
"https://registry.npm.taobao.org/tmp/download/tmp-0.0.33.tgz"
,
...
...
@@ -13585,11 +13378,6 @@
"vue-style-loader"
:
"^4.1.0"
}
},
"vue-ref"
:
{
"version"
:
"1.0.6"
,
"resolved"
:
"https://registry.npmjs.org/vue-ref/-/vue-ref-1.0.6.tgz"
,
"integrity"
:
"sha512-UzD8t1CG+aoWVOOpGd5KcaCNtCgUc0byaKhJMH+6N7H/p1ThVkYl/VCt7DmCrdhUlzZK+hT5JPTKAdrbWi0nNw=="
},
"vue-router"
:
{
"version"
:
"3.1.3"
,
"resolved"
:
"https://registry.npm.taobao.org/vue-router/download/vue-router-3.1.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-router%2Fdownload%2Fvue-router-3.1.3.tgz"
,
...
...
@@ -13650,14 +13438,6 @@
"makeerror"
:
"1.0.x"
}
},
"warning"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/warning/-/warning-3.0.0.tgz"
,
"integrity"
:
"sha1-MuU3fLVy3kqwR1O9+IIcAe1gW3w="
,
"requires"
:
{
"loose-envify"
:
"^1.0.0"
}
},
"watchpack"
:
{
"version"
:
"1.6.0"
,
"resolved"
:
"https://registry.npm.taobao.org/watchpack/download/watchpack-1.6.0.tgz"
,
...
...
package.json
View file @
170128c
...
...
@@ -9,7 +9,6 @@
"lint"
:
"vue-cli-service lint"
},
"dependencies"
:
{
"ant-design-vue"
:
"^1.4.8"
,
"core-js"
:
"^3.4.3"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
...
...
src/components/viewer_ms3m.vue
View file @
170128c
...
...
@@ -3,7 +3,7 @@
* 添加倾斜摄影场景和倾斜摄影图层
* @Date: 2019-12-02 09:05:50
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-0
4 20:20:18
* @LastEditTime: 2019-12-0
7 14:03:39
* @FilePath: \WebGL_Webpack_Vue\components\viewer.vue
-->
<
template
>
...
...
src/components/viewer_s3m.vue
View file @
170128c
<!--
* 1、加载倾斜摄影模块
* 2、加载一个矢量面对象并将其设置为水面效果
* @Author: jiangbotao
* @Date: 2019-12-03 22:52:56
* @LastEditors: jiangbotao
...
...
@@ -105,12 +107,12 @@ export default {
pointer-events
:
auto
;
position
:
absolute
;
right
:
10px
;
top
:
7
0px
;
top
:
1
0px
;
width
:
128px
;
height
:
128px
;
overflow
:
hidden
;
}
.sm-zoom
{
top
:
1
9
0px
;
top
:
1
3
0px
;
}
</
style
>
...
...
src/components/viewer_s3m_single.vue
View file @
170128c
...
...
@@ -6,7 +6,7 @@
* 3、使用Popup来弹出倾斜摄影覆盖面的信息
* @Date: 2019-12-03 22:52:56
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-07 1
1:56:15
* @LastEditTime: 2019-12-07 1
4:01:32
* @FilePath: \superglobevue\src\components\viewer.vue
-->
<
template
>
...
...
@@ -231,10 +231,10 @@ export default {
<
style
>
.compass
{
top
:
6
0px
;
top
:
1
0px
;
}
.navigation-controls
{
top
:
1
8
0px
;
top
:
1
3
0px
;
}
.bubble
{
padding
:
5px
;
...
...
src/components/viewer_s3m_wz.vue
View file @
170128c
...
...
@@ -2,7 +2,7 @@
* @Author: jiangbotao
* @Date: 2019-12-03 22:52:56
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-07 1
2:44:32
* @LastEditTime: 2019-12-07 1
4:02:03
* @FilePath: \superglobevue\src\components\viewer.vue
-->
<
template
>
...
...
@@ -254,9 +254,9 @@ export default {
text-align
:
left
;
}
.compass
{
top
:
6
0px
;
top
:
1
0px
;
}
.navigation-controls
{
top
:
1
7
0px
;
top
:
1
2
0px
;
}
</
style
>
...
...
src/components/viewer_s3mbhyp.vue
View file @
170128c
<!--
* @Author: jiangbotao
* 演示大场景被淹没
* 演示倾斜摄影大场景被淹没
* 使用场景中的HYP对象
* @Date: 2019-12-02 09:05:50
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-0
4 22:03:19
* @LastEditTime: 2019-12-0
7 13:52:58
* @FilePath: \WebGL_Webpack_Vue\components\viewer.vue
-->
<
template
>
...
...
@@ -130,18 +131,15 @@ export default {
var
layer
=
scene
.
layers
.
find
(
"srsb"
);
var
hyp
=
new
Cesium
.
HypsometricSetting
();
//创建分层设色对象 设置最大/最小可见高度 颜色表 显示模式 透明度及线宽
var
colorTable
=
new
Cesium
.
ColorTable
();
colorTable
.
insert
(
100
,
new
Cesium
.
Color
(
0
,
39
/
255
,
148
/
255
));
colorTable
.
insert
(
0
,
new
Cesium
.
Color
(
149
/
255
,
232
/
255
,
249
/
255
));
hyp
.
MaxVisibleValue
=
currentHeight
;
hyp
.
MinVisibleValue
=
minValue
;
hyp
.
ColorTable
=
colorTable
;
hyp
.
DisplayMode
=
Cesium
.
HypsometricSettingEnum
.
DisplayMode
.
FACE
;
hyp
.
Opacity
=
0.6
;
hyp
.
LineInterval
=
10.0
;
//设置图层分层设色属性
...
...
@@ -149,7 +147,6 @@ export default {
hypsometricSetting
:
hyp
,
analysisMode
:
Cesium
.
HypsometricSettingEnum
.
AnalysisRegionMode
.
ARM_ALL
};
currentHeight
+=
(
parseInt
(
document
.
getElementById
(
"speed"
).
value
))
/
10
;
};
...
...
@@ -158,7 +155,6 @@ export default {
var
layer
=
scene
.
layers
.
find
(
"sci_park"
);
var
hyp
=
new
Cesium
.
HypsometricSetting
();
hyp
.
MaxVisibleValue
=
0
;
layer
.
hypsometricSetting
=
{
hypsometricSetting
:
hyp
,
analysisMode
:
Cesium
.
HypsometricSettingEnum
.
AnalysisRegionMode
.
ARM_ALL
...
...
src/components/viewer_tdt.vue
View file @
170128c
...
...
@@ -4,7 +4,7 @@
* 2、添加了超图发布的矢量瓦片服务
* @Date: 2019-12-02 09:05:50
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-0
5 13:14:46
* @LastEditTime: 2019-12-0
7 13:52:13
* @FilePath: \WebGL_Webpack_Vue\components\viewer.vue
-->
<
template
>
...
...
@@ -94,12 +94,12 @@ export default {
pointer-events
:
auto
;
position
:
absolute
;
right
:
10px
;
top
:
7
0px
;
top
:
1
0px
;
width
:
128px
;
height
:
128px
;
overflow
:
hidden
;
}
.sm-zoom
{
top
:
1
9
0px
;
top
:
1
3
0px
;
}
</
style
>
\ No newline at end of file
...
...
src/components/viewer_ymo.vue
View file @
170128c
...
...
@@ -2,12 +2,13 @@
* 显示基本的三维Globe
* 1、添加SuperMap发布的地形数据
* 2、添加SuperMap发布的影像数据
* 3、量测面积
* 4、淹没区分析
* 3、淹没区分析
* 3.1 Entity分析
* 3.2 Primitive分析
* @Author: jiangbotao
* @Date: 2019-12-02 09:05:50
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-0
4 20:09:26
* @LastEditTime: 2019-12-0
7 13:49:40
* @FilePath: \WebGL_Webpack_Vue\components\viewer.vue
-->
<
template
>
...
...
@@ -35,7 +36,7 @@
</div>
<div
id=
"toolbar"
class=
"param-container tool-bar"
>
<div
class=
"param-item"
>
<button
type=
"button"
id=
"draw"
class=
"button black"
>
绘面
</button>
<button
type=
"button"
id=
"draw"
class=
"button black"
>
绘
制分析
面
</button>
<button
type=
"button"
id=
"begin"
class=
"button black"
>
淹没分析
</button>
<button
type=
"button"
id=
"clear"
class=
"button black"
>
清除
</button>
</div>
...
...
@@ -98,7 +99,7 @@ export default {
positions
.
push
(
longitude
);
positions
.
push
(
latitude
);
positions
.
push
(
h
);
// 淹没分析时的固定底面
positions2d
.
push
(
longitude
);
positions2d
.
push
(
latitude
);
positions2d
.
push
(
1000.0
);
...
...
@@ -116,12 +117,14 @@ export default {
var
targetHeight
=
3500
;
var
entities
=
__this
.
viewer
.
entities
;
//方式1
// __this.floodCal(entities, positions2d, waterHeight, targetHeight);
__this
.
floodParse
(
scene
,
positions2d
,
waterHeight
,
targetHeight
);
__this
.
floodCal
(
entities
,
positions2d
,
waterHeight
,
targetHeight
);
// 方式2
// __this.floodParse(scene, positions2d, waterHeight, targetHeight);
handlerPolygon
&&
handlerPolygon
.
clear
();
});
$
(
"#clear"
).
click
(
function
(){
__this
.
viewer
.
entities
.
removeAll
();
handlerPolygon
&&
handlerPolygon
.
clear
();
});
...
...
@@ -257,7 +260,12 @@ export default {
.tool-bar
{
position
:
absolute
;
left
:
10px
;
top
:
6
0px
;
top
:
2
0px
;
z-index
:
10000
;
padding
:
2px
;
}
.param-container
.param-item
{
margin
:
5px
;
overflow
:
hidden
;
}
</
style
>
\ No newline at end of file
...
...
src/main.js
View file @
170128c
...
...
@@ -2,17 +2,14 @@
* @Author: jiangbotao
* @Date: 2019-12-03 22:31:08
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-07 1
1:44:3
5
* @LastEditTime: 2019-12-07 1
3:39:2
5
* @FilePath: \superglobevue\src\main.js
*/
import
Vue
from
'vue'
import
Antd
from
'ant-design-vue'
import
App
from
'./App'
import
'ant-design-vue/dist/antd.css'
import
router
from
'./router'
Vue
.
config
.
productionTip
=
false
Vue
.
use
(
Antd
)
new
Vue
({
router
,
...
...
src/views/Home.vue
View file @
170128c
...
...
@@ -2,29 +2,20 @@
* @Author: jiangbotao
* @Date: 2019-12-03 22:31:08
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-07 1
2:44:47
* @LastEditTime: 2019-12-07 1
4:00:56
* @FilePath: \superglobevue\src\views\Home.vue
-->
<
template
>
<a-layout>
<a-layout-header>
<a-icon
type=
"global"
/>
三维地理信息系统
</a-layout-header>
<a-layout-content
style=
"padding: 0px;"
>
<viewer></viewer>
</a-layout-content>
<a-layout-footer
style=
"height: 22px;"
>
Footer
</a-layout-footer>
</a-layout>
<viewer></viewer>
</
template
>
<
script
>
import
viewer
from
"@/components/viewer_
s3m_single
.vue"
;
import
viewer
from
"@/components/viewer_
mimg
.vue"
;
export
default
{
name
:
"home"
,
data
()
{
return
{
theme1
:
'primary'
};
},
components
:
{
...
...
@@ -34,28 +25,5 @@ export default {
</
script
>
<
style
scoped
>
.ant-layout-header
{
height
:
60px
;
top
:
0px
;
position
:
absolute
;
width
:
100%
;
background-color
:
#2d8cf0
;
color
:
white
;
text-align
:
left
;
padding
:
0px
0px
;
padding-left
:
10px
;
z-index
:
99
;
font-size
:
18pt
;
}
.ant-layout-footer
{
height
:
22px
;
bottom
:
0px
;
position
:
absolute
;
width
:
100%
;
background-color
:
rgba
(
19
,
17
,
17
,
0.5
);
color
:
white
;
text-align
:
left
;
padding-top
:
2px
;
padding-left
:
10px
;
}
</
style
>
...
...
Please
register
or
sign in
to post a comment