如何在iPhone应用程序中使用离线Cloudmade地图 [英] How to use Offline Cloudmade Maps in an iPhone App

查看:103
本文介绍了如何在iPhone应用程序中使用离线Cloudmade地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我浏览了Cloudmade网站上的帖子这里,我得到了其中的一些,但不是全部.我已经在下面发布了问题,但是没有我需要的帮助,所以我想在这里提出这个问题.

I’ve looked through the posts on the Cloudmade site here and I get some of it, but not all. I've posted the question below, but haven't had the help I need, so I thought I'd ask the question here.

我看到我需要:

  • 将所需区域的图块下载到我的Mac(但看不到该怎么做)
  • 使用map2sqlite实用工具将其转换为sqlite数据库,更改代码以将图块输出到名为"ZCACHE"而不是"tiles"的表中.
  • 将数据库复制到应用程序捆绑包中
  • 插入一些代码,以便在首次运行时将此数据库从应用程序捆绑包复制到文档目录
  • 以某种方式使App可以使用此数据库而不是在线数据库-我不知道该怎么做.

任何帮助都会受到热烈欢迎,

Any help would be warmly welcomed,

克里斯.

推荐答案

请检查本教程,它可以为您提供帮助- http://www.gisnotes.com/wordpress/category/sqlite3/.

please check this tutorial, it can help - http://www.gisnotes.com/wordpress/category/sqlite3/.

这篇关于如何在iPhone应用程序中使用离线Cloudmade地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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