dxxzst / offlinemap Goto Github PK
View Code? Open in Web Editor NEW基于MySQL + Node.js + Leaflet的离线地图展示,支持百度、谷歌、高德、腾讯地图
License: MIT License
基于MySQL + Node.js + Leaflet的离线地图展示,支持百度、谷歌、高德、腾讯地图
License: MIT License
比如把地图下载到数据库之后,我还能使用百度或者高德的api去做聚合,绘点,导航等api 的开发吗?
此项目中的map.html在演示实例初次载入时会出现地图载入不全的情况。
修正方式为
将"$(function () {
var mapcon = document.documentElement.clientHeight + 'px';
$("#mainmap").css('height', mapcon);
});
$(window).resize(function () {
var rmapcon = document.documentElement.clientHeight + 'px';
$("#mainmap").css('height', rmapcon);
});"
改为
"$(window).height(function () {
var mapcon = document.documentElement.clientHeight + 'px';
$("#mainmap").css('height', mapcon);
});
$(window).resize(function () {
var rmapcon = document.documentElement.clientHeight + 'px';
$("#mainmap").css('height', rmapcon);
});"
以及存入数据库后地图迁移过于麻烦,建议其他开发者可以利用该项目使用wget循环遍历数据库(代码太简单了就不用我写了吧,一个from读取sql里面的坐标,导出成文件后写个小程序处理一下生成sh就好了。实在有懒人倒是可以联系我)
下载到数据库中的数据再读取的时候 显示500错误
下载到本地文件夹的时候读取过程中,因为不连续的问题有一部分数据读取不到
你好,根据提供的方式,很顺利的搭建起了服务器(灰常感谢)。现在在下载地图时,下载层级更高时发现有有google的水印。请问这个水印是否可以去除?
网盘里的下载文件失效了, 你这边可以提供一下吗?或者传到git上来
非常感谢作者你的分享,我现在有个项目要使用到作者你的项目里的地图下载工具, 但是我希望那个下载工具里可以下载OSM的开源数据, 不知道作者可以把OSM的地图源添加进来吗, 再次非常感谢
Error: ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and Zoom=undefined and X=undefined and Y=undefined' at line 1
我将地图瓦片下载到本地之后,可是这个瓦片的名字和我用百度地图api算出来的是不一样,我想问下你这块是怎么解决的呢?
试了所有的地图都不行,本地数据库,改了密码,创建了mapcache数据库。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.