So I'm looking at writing an iPhone application that shows things on a map. What frameworks/methodologies are out there for doing this?
所以我正在考虑编写一个在地图上显示内容的iPhone应用程序。这样做的框架/方法是什么?
Searching around on Google, I could only find this one: http://code.google.com/p/iphone-google-maps-component/
在Google上搜索,我只能找到这个:http://code.google.com/p/iphone-google-maps-component/
Which according to the issues list is slow, and stops working after a while. Does anyone know of something better, or have any experience with the library above?
哪个根据问题列表很慢,并在一段时间后停止工作。有没有人知道更好的东西,或者对上面的图书馆有任何经验?
5 个解决方案
#1
4
I'm pretty sure your only options for now are:
我很确定你现在唯一的选择是:
- Call openURL: to switch to the Maps app
- Use the Google Maps component you linked to
- Roll your own thing
- Wait for Apple to expose a "MapKit" framework
调用openURL:切换到地图应用
使用您链接到的Google地图组件
滚动你自己的东西
等待Apple公开“MapKit”框架
#2
2
WARNING: Embedding Google Maps inside an application may violate the Google Maps terms of service.
警告:在应用程序中嵌入Google地图可能会违反Google地图服务条款。
I have written a full mapping UIView on the iPhone (the application is on the AppStore) and it is not easy (this would be option #3 "Roll your own thing"). Getting good performance is really difficult. I would like to OpenSource my map component but right now the F-NDA is preventing that.
我已经在iPhone上编写了完整的映射UIView(应用程序在AppStore上)并且它并不容易(这将是选项#3“滚动你自己的东西”)。获得良好的表现真的很难。我想OpenSource我的地图组件,但现在F-NDA阻止了这一点。
#3
2
I have been chasing this for a while now, and here's the best solution I've found out there:
我一直在追逐这个,这是我在那里找到的最好的解决方案:
http://code.google.com/p/touchcode/
There is a component in there called TouchMap and it comes with a demo that shows it off. It's tiles are loaded directly from Microsoft Virtual Earth.
那里有一个名为TouchMap的组件,它带有一个显示它的演示。它的磁贴直接从Microsoft Virtual Earth加载。
Edit: @schwa, I just a look at your profile to find your email address, and then realised that you actually released this software. Nice work
编辑:@schwa,我只是看看你的个人资料,找到你的电子邮件地址,然后意识到你确实发布了这个软件。干得好
#4
2
I've just found route-me which looks like a large(30+) active community of ppl developing an open source mapping app for the iPhone. It can take tiles from OpenStreetMap, Virtual Earth(Bing) or Cloudmade.
我刚刚找到了route-me,它看起来像一个大型(30+)活跃的ppl社区,为iPhone开发了一个开源地图应用程序。它可以采用OpenStreetMap,Virtual Earth(Bing)或Cloudmade中的切片。
#5
0
just use mapkit framework.really good
只需使用mapkit framework.really good
alternatively: [[uiapplication sharedapplication]openurl:@"www.maps.google.com];
that will open the google map,but one problem with this is that it will navigate you to safari and your application will be exited and if you want to move back to your application from this web page,then it won't be possible .you again need to run the app.
或者:[[uiapplication sharedapplication] openurl:@“www.maps.google.com];这将打开谷歌地图,但有一个问题是它将导航你到safari,你的应用程序将退出,如果你想要从此网页返回到您的应用程序,那么就不可能。您再次需要运行该应用程序。
#1
4
I'm pretty sure your only options for now are:
我很确定你现在唯一的选择是:
- Call openURL: to switch to the Maps app
- Use the Google Maps component you linked to
- Roll your own thing
- Wait for Apple to expose a "MapKit" framework
调用openURL:切换到地图应用
使用您链接到的Google地图组件
滚动你自己的东西
等待Apple公开“MapKit”框架
#2
2
WARNING: Embedding Google Maps inside an application may violate the Google Maps terms of service.
警告:在应用程序中嵌入Google地图可能会违反Google地图服务条款。
I have written a full mapping UIView on the iPhone (the application is on the AppStore) and it is not easy (this would be option #3 "Roll your own thing"). Getting good performance is really difficult. I would like to OpenSource my map component but right now the F-NDA is preventing that.
我已经在iPhone上编写了完整的映射UIView(应用程序在AppStore上)并且它并不容易(这将是选项#3“滚动你自己的东西”)。获得良好的表现真的很难。我想OpenSource我的地图组件,但现在F-NDA阻止了这一点。
#3
2
I have been chasing this for a while now, and here's the best solution I've found out there:
我一直在追逐这个,这是我在那里找到的最好的解决方案:
http://code.google.com/p/touchcode/
There is a component in there called TouchMap and it comes with a demo that shows it off. It's tiles are loaded directly from Microsoft Virtual Earth.
那里有一个名为TouchMap的组件,它带有一个显示它的演示。它的磁贴直接从Microsoft Virtual Earth加载。
Edit: @schwa, I just a look at your profile to find your email address, and then realised that you actually released this software. Nice work
编辑:@schwa,我只是看看你的个人资料,找到你的电子邮件地址,然后意识到你确实发布了这个软件。干得好
#4
2
I've just found route-me which looks like a large(30+) active community of ppl developing an open source mapping app for the iPhone. It can take tiles from OpenStreetMap, Virtual Earth(Bing) or Cloudmade.
我刚刚找到了route-me,它看起来像一个大型(30+)活跃的ppl社区,为iPhone开发了一个开源地图应用程序。它可以采用OpenStreetMap,Virtual Earth(Bing)或Cloudmade中的切片。
#5
0
just use mapkit framework.really good
只需使用mapkit framework.really good
alternatively: [[uiapplication sharedapplication]openurl:@"www.maps.google.com];
that will open the google map,but one problem with this is that it will navigate you to safari and your application will be exited and if you want to move back to your application from this web page,then it won't be possible .you again need to run the app.
或者:[[uiapplication sharedapplication] openurl:@“www.maps.google.com];这将打开谷歌地图,但有一个问题是它将导航你到safari,你的应用程序将退出,如果你想要从此网页返回到您的应用程序,那么就不可能。您再次需要运行该应用程序。