iOS和基本离线应用 [英] iOS and Basic offline app

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

问题描述

我知道mapxbox / routeme和routeme,但我需要一些基本的东西。我需要与所有国家的基本地图,唯一的细节是国家和边界的名称。
我可以用mapbox吗?有没有更简单的方法呢?
应用程序应该脱机并预载地图。

解决方案

iOS 7支持离线地图。



您只需要为特定区域添加图块。



平铺包含地图的叠加层,所以我们只需要在地图。



对于瓷砖,您需要计算需要脱机地图的区域,然后从开放街道地图



就是这样。



这里是详细的 Link 教程。



从教程中获得想法后,您可以轻松了解地图结构,并向前推进。



干杯。


I know about mapxbox/routeme and routeme but I need something basic. I need a basic map with all the countries and the only details it would be the name of the countries and the borders. Can I do that with mapbox? Is there any easier way to do that? The app should be offline and preload the maps.

解决方案

iOS 7 support offline maps.

You just need to add tiles for specific area.

Tile contains overlay of map so we just need to add that overlay on the map.

For tiles you need to calculate area for which you need offline map and then get that area from OpenStreetMaps.

That's it.

Here is detailed Link tutorial for this.

After getting idea from tutorial you can easily understand the map structure and move ahead.

Cheers.

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

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