离线地图OSM [英] Offline maps OSM

查看:1555
本文介绍了离线地图OSM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有点坚持在Android应用程序离线地图的想法。

I am a bit stuck with an idea of offline maps in android application.

我要使用开放街道地图。但我怎么能重新设计自己的风格,然后在我的项目中使用?顺便说一句,资源,我找了,有自由..

I want to use Open Street Maps. But how can I redesign their styles and then use in my project? By the way, the resource, I am looking for, has to be free..

有没有这方面有任何好的教程?我是新来这一点,所以将任何有用的信息应该心存感激。

Are there any good tutorials about this? I am new to this, so would be thankful for any helpful information.

推荐答案

下面是最基础的:

栅格砖是可怕。在我看来,移动地图的这种方法很老套,也没有优势(除非你的计划是使一个非常不好的前瞻性应用程序)。

Raster tiles are awful. To my mind, this approach of mobile mapping is very old-fashioned and has no advantages (unless your plan is to make a very bad-looking application).

另一件事是的矢量砖。所有的数据被保存在更有效的方式,并且可以很漂亮地陈列

The other thing is vector tiles. All the data is saved in much more efficient way and can be displayed very beautifully.

和解决方案(被提名人)是:

And the solutions (nominees) are:


  1. Mapsforge - 感谢@dkiselev

  2. OSMAnd应用 - 感谢@dkiselev

  3. Mapbox GL (android的版本没有发布现在,但他们做这个工作真的很难)。如果你真的很喜欢mapbox,你可以考虑一下
    Mapbox Android SDK中,它采用光栅瓦片,但我相信,
    切换到Mapbox GL不会那么难,当GL LIB将被释放。

  4. 的Airbnb AirMapView - 开源的,具有发行版本

  5. 城市实验室人造卫星演示 - 同样有趣的解决方案,但我没有使用它。

  6. Mapzen打开 - 开源的Andr​​oid应用程序,使用一切顺利来自无处不在。 ! - 赢家

  1. Mapsforge - thanks to @dkiselev
  2. OSMAnd app - thanks to @dkiselev
  3. Mapbox GL (the android version has no releases now, but they are working really hard on it). If you really like mapbox, you can think about Mapbox Android SDK, which uses raster tiles, but I believe, that switching to Mapbox GL will not be that hard, when the GL lib will be released.
  4. AirBNB AirMapView - open source and has release version
  5. Urban Labs Sputnik Demo - also interesting solution, but I didn't use it.
  6. Mapzen Open - open source android app, that uses all the best from everywhere. - winner!

顺便说一下,mapbox GL actully允许渲染的自己的映射数据(从自己的供应商)。有一个 在关闭的问题github上 有关,由我前几天开了,很好的答案由项目开发商之一。

And by the way, mapbox gl actully allows rendering your own mapping data (from your own provider). There is a closed issue on github about that, opened by me couple of days ago, and very good answer by one of the project developers.

如果你不关心使用自己的数据源,并希望快速实现自定义的(而不是谷歌/苹果)映射到你的项目 - 有几十个为你的解决方案也是如此。你可以把 Mapbox 的Scobbler GetYourMap 或再次,它只是谷歌找到更多。实际上有href=\"http://wiki.openstreetmap.org/wiki/Android\" rel=\"nofollow\">在OSM网站关于最流行的库和Android应用程序伟大的文章开发过

If you don't care about using your own data source and want to rapidly implement custom (not google/apple) maps into your project - there are dozens of solutions for you as well. You could think of Mapbox, Scobbler, GetYourMap or, again, just google it to find more. There is actually a great article on OSM website about most popular libraries and apps for android ever developed.

最后,我祝你好运您的绘图项目。永远不要忘记:

Finally, I wish you good luck with your mapping project. And never forget:

如果你找不到的东西并不意味着它真​​的不存在
   - 也许你只是在寻找不够

if you can't find something doesn't mean it really doesn't exist - probably you've just been searching not enough.

这篇关于离线地图OSM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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