使用iPhone MapKit的自定义地图 [英] Custom Map using iPhone MapKit

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

问题描述

我试图用MapKit创建一个自定义地图(类似于这个概念 http://mapwow.com/)使用图像而不是谷歌地图图像。这是我们可以包括GPS功能和引脚功能。我查阅了文档,似乎并没有这样做的标准方法。有没有办法使用MapKit来做到这一点,或有人找到了一种方法来实现类似的功能?

I am attempting to use MapKit to create a custom map (similar to this concept http://mapwow.com/) using an image instead of the google maps image. This is so we can include the gps functionality and the pins functionality. I have looked in the documentation and there does not appear to be a standard way of doing it. Is there a way to do this using MapKit or has someone found a way to achieve something similar?

推荐答案

使用Google Maps with MapKit以外的任何其他功能。

You can't currently use anything other than the Google Maps with MapKit.

Dmytro已经指出了有用的链接,可以提供其他选择,特别是 route-me library ,但也有 CloudMade API ,它提供了另一种选择。

Dmytro has already pointed to useful links that provide alternatives, particularly the route-me library, but there's also the CloudMade API which provides another alternative.

如果你想自己推出,您可能会发现 CATiledLayer 课程有帮助。

If you want to roll your own, you may find the CATiledLayer class helpful.

这篇关于使用iPhone MapKit的自定义地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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