使用传单在cordova中的离线地图使我的应用程序存储容量大 [英] Offline Maps in cordova using leaflets make my app stores much capacity

查看:156
本文介绍了使用传单在cordova中的离线地图使我的应用程序存储容量大的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已按照此链接 http://davidrs.com/ wp / phonegap-3-0-leaflet-offline-maps / 它真的很强大。但是,我的应用程序存储了大量数据,特别是瓷砖。有没有其他方法可以使用更少的存储空间使地图脱机?

I have followed this link http://davidrs.com/wp/phonegap-3-0-leaflet-offline-maps/ and it is truly powerful. However, my app stores large amount of data especially tiles. Is there any other ways to make the maps offline with less storage?

注意:我使用谷歌地图进行在线模式。

Notes: I use google maps for online mode.

推荐答案

在您的项目中使用此代码,并在您的应用中仅使用所需的图块

Use this code in your project and only required tiles in your application,

https://github.com/tbicr/OfflineMap

这篇关于使用传单在cordova中的离线地图使我的应用程序存储容量大的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆