1.第一种瓦片数据源
MapDownloader:
链接:https://pan.baidu.com/s/1Hz__HcA5QhtGmjLNezC_pQ
提取码:6lek
GISMysqlToLocalFile:
链接:https://pan.baidu.com/s/1rzVsj_DJxKr6OyvRwve4dg
提取码:pp6f
自测可以使用
教程来自:https://www.cnblogs.com/kanyun/p/8571711.html
使用 Leaflet 加载地图瓦片:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>web 版离线地图测试页面</title>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.4.0/dist/leaflet.css" />
</head>
<body>
<div id="map" style="width:90%;height:600px;margin-top:30px;text-align:center;margin:0 auto;">
</div>
<script src="https://unpkg.com/leaflet@1.4.0/dist/leaflet.js"></script>
<script type="text/javascript">
window.onload=function () {
var map = L.map('map').setView([34.3195,108.9131], 11);
L.tileLayer('./map/{z}/{x}/{y}.png' //瓦片路径
, {
minZoom: 1,
maxZoom: 18,
attribution: '<b style="color:#dddddd">百度地图</b>'
})
.addTo(map);
};
</script>
</body>
</html>
leaflet更多复杂操作可以查看中文文档:
https://blog.youkuaiyun.com/YXWik/article/details/103389800
2.第二种瓦片数据源
全能电子地图下载器(破解版)
链接:https://pan.baidu.com/s/1EBa0Ck8UGiFK0G7DCUhw1w
提取码:i8yc
自测可以使用
教程来自:https://blog.youkuaiyun.com/qq_41619796/article/details/90241491
3.第三种来源网上,需要自测
来源:https://www.jianshu.com/p/ad9ce1b3c442
内容:
Web GIS离线解决方案:
在CS系统中可以基于GMap.Net来做,参考《百度谷歌离线地图解决方案》
下面介绍下Web系统如何使用GIS切片数据,开发web GIS系统。
首先开发web GIS 主要是采用一些前端框架,目前主流的gis前端框架是 openlayers 和 Leaflet 至于两者优劣,读者可自行百度,我在项目中使用的是 Leaflet
打开地图下载器(工具在底部的github项目里,可自行下载)
找到 MapDownloader.exe.config 文件 进行修改

最低0.47元/天 解锁文章
1711

被折叠的 条评论
为什么被折叠?



