FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

【website】【杨琨】【编写上传矢量瓦片注意事项】 · MapGIS/WebClient-JavaScript@72f2f34 · GitHub

Commit 72f2f34

Browse files
committed
【website】【杨琨】【编写上传矢量瓦片注意事项】
1 parent 2cfca30 commit 72f2f34

9 files changed

Lines changed: 44 additions & 2 deletions

File tree

70.9 KB
LoadingViewer requires iframe.
71.8 KB
LoadingViewer requires iframe.
71.7 KB
LoadingViewer requires iframe.
70 KB
LoadingViewer requires iframe.
81.8 KB
LoadingViewer requires iframe.
13.4 KB
LoadingViewer requires iframe.
18.5 KB
LoadingViewer requires iframe.

‎website/public/static/demo/config/config-headers.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,15 @@
6565
"icon": "iconchangjianwenti",
6666
"hightlights": [[false, false, false, false]],
6767
"links": [
68-
["Cesium-基本引入", "Cesium-内存溢出", "Cesium-路由切换", "MapboxGL-基本引入"]
68+
["Cesium-基本引入", "Cesium-内存溢出", "Cesium-路由切换", "MapboxGL-基本引入", "MapboxGL-发布矢量瓦片地图(JAVA版)"]
6969
],
7070
"routes": [
7171
[
7272
"/helper/vue-cesium/vue/import/index",
7373
"/helper/vue-cesium/vue/memery/index",
7474
"/helper/vue-cesium/vue/route/index",
75-
"/helper/vue-mapboxgl/vue/import"
75+
"/helper/vue-mapboxgl/vue/import",
76+
"/helper/vue-mapboxgl/vue/vectotLayer"
7677
]
7778
],
7879
"type":"helper"
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## 问题描述
2+
3+
> mapgis桌面程序导出矢量瓦片数据是,里面所有的链接地址都是localhost:6163,上传到igs(JAVA)服务器后,链接地址仍未做修改,因此或造成客户端无法访问服务器资源的问题。
4+
5+
## 如何解决
6+
7+
# 一、矢量瓦片数据已经上传到到igs(JAVA)服务器,但未保存最原始的样式文件
8+
9+
> 1、进入管理台
10+
> 2、点击左边菜单栏的地图与数据服务
11+
12+
<img src="../../static/assets/guid/vectorStep1.png" alt="步骤一" width="1034" height="600" align="bottom" />
13+
14+
> 3、点击矢量瓦片资源管理,选择上传按钮,上传数据
15+
16+
<img src="../../static/assets/guid/vectorStep2.png" alt="步骤二" width="1034" height="600" align="bottom" />
17+
18+
> 4、上传完成后点击矢量瓦片资源管理,选择查看按钮
19+
20+
<img src="../../static/assets/guid/vectorStep3.png" alt="步骤三" width="1034" height="600" align="bottom" />
21+
22+
> 5、这里可以看到已上传的矢量瓦片资源
23+
24+
<img src="../../static/assets/guid/vectorStep4.png" alt="步骤四" width="1034" height="600" align="bottom" />
25+
26+
> 6、在右侧的资源列表里选择你刚刚发布的资源,我这里选择名称为‘北京市_Java’的矢量瓦片,并点击预览按钮,进入到矢量瓦片编辑页面
27+
28+
<img src="../../static/assets/guid/vectorStep5.png" alt="步骤五" width="1034" height="600" align="bottom" />
29+
30+
> 7、在编辑界面的最上方的工具栏中选择保存按钮,点击下载样式按钮,下载刚刚上传矢量瓦片资源
31+
32+
<img src="../../static/assets/guid/vectorStep6.png" alt="步骤五" width="1034" height="600" align="bottom" />
33+
<img src="../../static/assets/guid/vectorStep7.png" alt="步骤五" width="1034" height="600" align="bottom" />
34+
35+
> 8、打开下载好的样式文件,将所有的locaolhost:6163替换为当前igs(JAVA)服务的地址即可,之后重复第三步上传矢量瓦片资源,
36+
> 由于下载的文件名英文字母会全部变成小写,请在上传前确保文件名与地图名称完全一致,这样即可正常访问矢量瓦片。
37+
38+
# 二、可以拿到最原始的样式文件
39+
40+
> 1、打开原样式文件,将所有的locaolhost:6163替换为当前igs(JAVA)服务的地址即可,之后重复上述第三步上传矢量瓦片资源,
41+
> 由于下载的文件名英文字母会全部变成小写,请在上传前确保文件名与地图名称完全一致,这样即可正常访问矢量瓦片。

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL