使用“这里"地图在Android中添加下载离线地图 [英] Add download offline map in Android with Here maps
问题描述
我已经开发了一个Android Here地图,该地图具有简单的地图视图,但是我需要向该应用添加离线支持,如何将其添加到我的应用中才能让用户下载特定的国家或地区? /p>
请注意,我使用以下链接中的教程实现了我的应用程序: https://developer.here.com/mobile-sdks/documentation/android-hybrid-plus/topics/maps.html
请参见 https://developer.here.com/mobile-sdks/documentation/android-hybrid-plus/topics/maps.html
See the Offline Maps section of the mobile sdk documentation.
In particular, you might want to use the following methods of the MapLoader
class:
installMapPackages(List<Integer> packageIdList)
- To download and install new country or region data
uninstallMapPackages(List<Integer> packageIdList)
- To uninstall and delete country or region data that is no longer desired
这篇关于使用“这里"地图在Android中添加下载离线地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!