使用“这里"地图在Android中添加下载离线地图 [英] Add download offline map in Android with Here maps

查看:64
本文介绍了使用“这里"地图在Android中添加下载离线地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个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屋!

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