Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the best way to do a mapping application for the iPhone

So I'm looking at writing an iPhone application that shows things on a map. What frameworks/methodologies are out there for doing this?

Searching around on Google, I could only find this one: 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?

like image 395
rustyshelf Avatar asked Sep 20 '08 06:09

rustyshelf


People also ask

What is the most accurate mapping app?

Google Maps Nobody can deny the usefulness of Google Maps, which is especially good at finding nearby places and can even navigate you to your destination through driving, public transit, biking, or walking directions. And the best part is that it works offline too!

Does iPhone have a map app?

In the Maps app , you can get detailed driving directions to your destination.


3 Answers

I'm pretty sure your only options for now are:

  1. Call openURL: to switch to the Maps app
  2. Use the Google Maps component you linked to
  3. Roll your own thing
  4. Wait for Apple to expose a "MapKit" framework
like image 115
benzado Avatar answered Nov 15 '22 00:11

benzado


WARNING: Embedding Google Maps inside an application may violate the Google Maps terms of service.

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.

like image 25
schwa Avatar answered Nov 14 '22 23:11

schwa


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.

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

like image 35
rustyshelf Avatar answered Nov 15 '22 00:11

rustyshelf