提交 a39ec305 authored 作者: 张航's avatar 张航

添加了下载区域的注释

上级 f5c0f289
......@@ -18,7 +18,7 @@
2. 项目运行后需要在窗口中输入要下载区域的经纬度(矩形区域,左下角的经纬度与右上角的经纬度);
3. download-map.properties中有一些关于本地存储、地图类型的设置;
4. 具体的使用流程参见 https://www.iqiyi.com/v_19rrmucyoc.html?vfm=2008_aldbd
5. 主要下载逻辑在DownMap中
#### 参与贡献
......
......@@ -94,17 +94,20 @@ public class DownMap implements ApplicationRunner {
}
}
}
// 主线程阻塞等待执行完成
for (Future<String> future : futures) {
Future<String> take = completionService.take();
String result = take.get();
System.out.println(result);
}
// 打印下载失败的结果
System.out.println("Falid download List:");
for (String errResult : errResults) {
System.out.println(errResult);
}
System.out.println("Falid count num: " + errResults.size());
long end = System.currentTimeMillis();
......
......@@ -18,8 +18,8 @@ map.baseurl=http://webrd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1scale=1&s
map.type=CUSTOM
# 下载地图的层级 7 - 18
map.minLv=7
map.maxLv=16
map.minLv=17
map.maxLv=17
# 线程数
map.threadNum=1000
......@@ -28,4 +28,7 @@ map.threadNum=1000
map.Lv6.flag=false
# 是否继续下载
map.download.append=false
\ No newline at end of file
map.download.append=true
# 这个注释用来备注下下载地图的经纬度
# left: 113.587,34.694 right: 113.801,34.799
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论