Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
ldmap-download
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
王健
ldmap-download
Commits
b0bbb8f5
提交
b0bbb8f5
authored
5月 12, 2020
作者:
张航
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
添加了地图不同主题的url
上级
2bcab17d
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
28 行增加
和
3 行删除
+28
-3
LdmapDownloadApplication.java
...com/comleader/ldmapdownload/LdmapDownloadApplication.java
+2
-0
download-map.properties
src/main/resources/config/download-map.properties
+4
-3
mapurl.properties
src/main/resources/config/mapurl.properties
+22
-0
没有找到文件。
src/main/java/com/comleader/ldmapdownload/LdmapDownloadApplication.java
浏览文件 @
b0bbb8f5
...
...
@@ -12,6 +12,8 @@ public class LdmapDownloadApplication {
ConfigurableApplicationContext
run
=
SpringApplication
.
run
(
LdmapDownloadApplication
.
class
,
args
);
// 解决WebSocket不能注入的问题
DownLoadMapWebSocket
.
setApplicationContext
(
run
);
}
}
src/main/resources/config/download-map.properties
浏览文件 @
b0bbb8f5
# 下载地图的保存路径
#file.basepath=/Users/echo/Desktop/em-map
file.basepath
=
H:/em-map
file.basepath
=
H:/em-map
-blue
# 项目的发布地址
#file.mapImgPath=Users/echo/Desktop/em-map
file.mapImgPath
=
H:/em-map
file.mapImgPath
=
H:/em-map
-blue
# 下载地图的地址
#天地图服务器t0-t8间选一个
...
...
@@ -15,7 +15,8 @@ file.mapImgPath=H:/em-map
#osm地图
#map.baseurl=http://c.tile.opencyclemap.org/cycle/{z}/{x}/{y}.png
#高德地图
map.baseurl
=
http://webrd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1scale=1&style=8&x={x}&y={y}&z={z}
#map.baseurl=http://webrd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1scale=1&style=5&x={x}&y={y}&z={z}
map.baseurl
=
http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetPurplishBlue/MapServer/tile/{z}/{y}/{x}
# 下载地图的类型 CUSTOM ArcGIS,一般CUSTOM就可
#type=ArcGIS
...
...
src/main/resources/config/mapurl.properties
0 → 100644
浏览文件 @
b0bbb8f5
# 普通街道图
gaodeNormalUrl
=
http://webrd0{s}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}
# 卫星图
gaodeSatelliteUrl
=
http://webst0{s}.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}
# 普通街道图
googleNormalUrl
=
http://www.google.cn/maps/vt?lyrs=m@189&gl=cn&x={x}&y={y}&z={z}
# 卫星图
googleSatelliteUrl
=
http://www.google.cn/maps/vt?lyrs=s@189&gl=cn&x={x}&y={y}&z={z}
# 智图各个主题
# 普通
geopNormalUrl
=
http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineCommunity/MapServer/tile/{z}/{y}/{x}
# 多彩
geopColorlUrl
=
http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetColor/MapServer/tile/{z}/{y}/{x}
# 午夜蓝
geopBluelUrl
=
http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetPurplishBlue/MapServer/tile/{z}/{y}/{x}
# 灰色
geopGraylUrl
=
http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetGray/MapServer/tile/{z}/{y}/{x}
# 暖色
geopWarmlUrl
=
http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetWarm/MapServer/tile/{z}/{y}/{x}
# 冷色
geopColdlUrl
=
http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetCold/MapServer/tile/{z}/{y}/{x}
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论