Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
言程序plus
CSDN数据可视化之三维地图展示
提交
9121f1aa
CSDN数据可视化之三维地图展示
项目概览
言程序plus
/
CSDN数据可视化之三维地图展示
与 Fork 源项目一致
Fork自
Cloud IDE / 1024云IDE应用挑战赛
通知
45
Star
22
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
CSDN数据可视化之三维地图展示
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
9121f1aa
编写于
10月 26, 2022
作者:
6
628f27b3fb72c14e897fac6b
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
代码优化
上级
18ce7bbe
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
25 deletion
+10
-25
index.html
index.html
+0
-17
public/index.html
public/index.html
+1
-1
src/components/force-3d.vue
src/components/force-3d.vue
+4
-5
src/views/home.vue
src/views/home.vue
+5
-2
未找到文件。
index.html
已删除
100644 → 0
浏览文件 @
18ce7bbe
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
Document
</title>
<link
rel=
"stylesheet"
href=
"src/style.css"
>
</head>
<body>
<div
class=
"app"
>
<img
src=
"src/logo.svg"
width=
"100px"
>
<h1>
欢迎使用 Cloud IDE
</h1>
官网:
<a
href=
"https://ide.csdn.net"
target=
"_blank"
>
https://ide.csdn.net
</a>
</div>
</body>
</html>
\ No newline at end of file
public/index.html
浏览文件 @
9121f1aa
...
...
@@ -5,7 +5,7 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<title>
数据可视化
</title>
<title>
CSDN数据可视化之三维地图展示
</title>
<link
href=
"static/widgets.css"
rel=
"stylesheet"
>
<script
src=
"static/echarts.min.js"
></script>
<script
src=
"static/EchartsLayer.js"
></script>
...
...
src/components/force-3d.vue
浏览文件 @
9121f1aa
...
...
@@ -65,6 +65,10 @@ const initCesuim3D = (result) => {
});
var
imageryLayers
=
viewer
.
imageryLayers
;
var
scene
=
viewer
.
scene
;
var
layer
=
new
Cesium
.
ArcGisMapServerImageryProvider
({
url
:
"
https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer
"
,
});
imageryLayers
.
addImageryProvider
(
layer
);
viewer
.
camera
.
flyTo
({
destination
:
window
.
Cesium
.
Cartesian3
.
fromDegrees
(
...
...
@@ -78,11 +82,6 @@ const initCesuim3D = (result) => {
},
});
var
layer
=
new
Cesium
.
ArcGisMapServerImageryProvider
({
url
:
"
https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer
"
,
});
imageryLayers
.
addImageryProvider
(
layer
);
var
TDU_Key
=
"
4a00a1dc5387b8ed8adba3374bd87e5e
"
;
//天地图密钥
//在线天地图影像服务地址(墨卡托投影)
var
TDT_IMG_W
=
...
...
src/views/home.vue
浏览文件 @
9121f1aa
...
...
@@ -21,6 +21,9 @@
<el-dropdown-item
@
click=
"gotoRank('fans3d')"
>
铁粉排名
</el-dropdown-item
>
<el-dropdown-item
@
click=
"gotoRank('blog')"
>
博主主页
</el-dropdown-item
>
</el-dropdown-menu>
</
template
>
</el-dropdown>
...
...
@@ -56,8 +59,8 @@ const gotoRank = (key) => {
case
"
fans3d
"
:
activeTitle
.
value
=
"
全网博主铁粉排名分布
"
;
break
;
case
"
wordCloud
"
:
activeTitle
.
value
=
"
技术栈词云
"
;
case
"
blog
"
:
window
.
open
(
'
https://blog.csdn.net/m0_61243965
'
)
break
;
default
:
break
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录