开放街道地图离线工作的android离线、街道、地图、工作

由网友(长坏了的男人#)分享简介:我是新手打开地图街。我做了一些研究和发现,我们可以下载和地图保存到一个文件夹中。但我没有发现,提供离线开放街道地图的任何教程或样品。有人可以给我提供一步步的教程,指导,以实现离线开放街道地图吧。我下面这个例子http://android-coding.blogspot.com/2012/06/example-of-im...

我是新手打开地图街。我做了一些研究和发现,我们可以下载和地图保存到一个文件夹中。但我没有发现,提供离线开放街道地图的任何教程或样品。有人可以给我提供一步步的教程,指导,以实现离线开放街道地图吧。我下面这个例子http://android-coding.blogspot.com/2012/06/example-of-implementing-openstreetmap.html但现在我想使它可在没有连接。

I am a newbie to Open Map Street. I made some research and found that we can download and store the map into a folder. But i didn't find any tutorial or sample that provides offline Open Street Map. Can someone provide me with a step by step tutorial, a guide to implement offline open street map please. I am following this example http://android-coding.blogspot.com/2012/06/example-of-implementing-openstreetmap.html but now i want to make it available when there is no connection.

推荐答案

就像你mentionned你可以使用osmdroid库教程: 的https://$c$c.google.com/p/osmdroid/

Like in the tutorial you mentionned you can use osmdroid library: https://code.google.com/p/osmdroid/

有如何osmdroid离线地图的作品在这里一个很好的解释: http://stackoverflow.com/a/8286276/891479

There's a good explanation of how osmdroid works with offline maps here: http://stackoverflow.com/a/8286276/891479

使用MapTileProviderBasic在你的应用程序。 这里的一些例子: http://www.androidadb.com/class/ma/MapTileProviderBasic.html

Use MapTileProviderBasic in your app. Some examples here: http://www.androidadb.com/class/ma/MapTileProviderBasic.html

要生成osmdroid格式使用移动阿特拉斯造物主离线地图: http://mobac.sourceforge.net/

To generate your offline maps in osmdroid format use Mobile Atlas Creator: http://mobac.sourceforge.net/

您可以选择地图的来源和输出格式。生成后,把你的地图,zip格式的地图册到/ osmdroid /图的目录。

You can choose the source of the maps and the output format. Once generated, put your maps atlas in zip format into your "/osmdroid/map" directory.

希望这将有助于!

阅读全文

相关推荐

最新文章