iPhone 开发 - 如何在不使用浏览器的情况下在应用程序中显示谷歌地图?以及其他地图问题
我正在制作一个 iPhone 应用程序,我想接收一堆地址并使用不同颜色的图钉来标记不同的地址,并将它们显示在地图上。首先,这可能吗?其次,我想要一种方法来做到这一点,而不必在浏览器中打开地图,而是直接将其显示为视图。这可能吗?谢谢。
I'm making an iPhone application that I want to take in a bunch of addresses and display them on a map using different colored pins to mark the different addresses. First of all, is this possible? Secondly, I want a way to do it without having to open up the map in a browser, but display it directly as a view. Is this possible? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,有可能,蒂姆,请检查此处:
http://blog.objectgraph.com/index.php/2009/04/02/iphone-sdk-30-playing-with-map-kit/
yes it is possible Tim, check here:
http://blog.objectgraph.com/index.php/2009/04/02/iphone-sdk-30-playing-with-map-kit/
是的,这是可能的。您可以将 MKMapView 直接放入视图中。这可以拖放到 XIB 文件中!确保您的项目中也包含 Map Kit 框架。对于地址,我会查看 Jacky Boy 提供的教程的链接。
Yes, that is possible. You can put a MKMapView directly into the view. This can be dragged and dropped in the XIB file! Make sure that you also include the Map Kit framework in your project, too. For addresses, I would look at the link to the tutorial Jacky Boy gave.