Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

icadrick

macrumors newbie
Original poster
May 21, 2010
2
0
Hey guys, recently I'm starting to develop an app which it will locate the nearest gas station.

But the problem is, I heard that MapKit will only show the location if you provide the Lat/Long of the location.

If I try use the search in Google Map, I can get all the gas station's location by providing the gas station's name.

That's why I'm thinking, is there anyway I can achieve that by using some kind like "Google Map Search" to get the Lat/Long for certain location? If there is no such way to use "Google Map Search", then I wonder how does all the other apps (which will locate the nearest store/restaurant/etc) can make it?

Or do you guys have any suggestions if I wanna to do something like this?

Hope to get some replies soon :)

PS: I didn't plan to sell this app if I can make it because I know about the google map license stuffs.
 

admanimal

macrumors 68040
Apr 22, 2005
3,531
2
You have to use the standard Google Maps API to retrieve the locations, and then use that data with MapKit.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.