» Site Navigation |
|
|
» Advertisements |

Visit our friends over at The App Show! Steve and Dave produce a weekly show shining a light on the iPhone 2.0 software and the applications being developed by the amazing development community for the iPhone SDK!
|
» Online Users: 88 |
| 10 members and 78 guests |
| Akemim, audibles, backwardselvis, cjgogo, FetaBoy, futurejones, jclardy, jeff_lamarche, noobAppDeveloper, wuf810 |
| Most users ever online was 207, 10-24-2008 at 09:29 AM. |
» Stats |
Members: 3,917
Threads: 5,628
Posts: 23,290
Top Poster: scottiphone (705)
|
| Welcome to our newest member, mef |
|
 |
08-29-2008, 04:39 AM
|
#1 (permalink)
|
|
Junior Member
Join Date: Aug 2008
Posts: 13
|
How to show map with particular location on iPhone?
Hi, I'm new to iPhone programming and Google Maps. I need to show the map with particular location on iPhone. How and where do i get start from scratch?
|
|
|
08-30-2008, 06:47 AM
|
#2 (permalink)
|
|
Member
Join Date: Aug 2008
Posts: 73
|
Code:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://maps.google.com/?q=40.757871,-73.98646"]];
Or any Google maps search url.
Last edited by indiekiduk; 08-30-2008 at 07:32 AM.
Reason: missed a bracket
|
|
|
08-30-2008, 07:11 AM
|
#3 (permalink)
|
|
Junior Member
Join Date: Aug 2008
Posts: 13
|
can u share with me your code?
|
|
|
08-30-2008, 07:33 AM
|
#4 (permalink)
|
|
Member
Join Date: Aug 2008
Posts: 73
|
sure here it is
|
|
|
09-01-2008, 05:10 AM
|
#5 (permalink)
|
|
Junior Member
Join Date: Aug 2008
Posts: 13
|
Thank you for your reply, but it showing the google page, but i need to show map alone on my iPhone simulator.
|
|
|
09-01-2008, 06:27 AM
|
#6 (permalink)
|
|
Member
Join Date: Jul 2008
Posts: 58
|
iphone simulator doesnt have google maps, so it opens it in browser. On real iphone, it will open it at google maps, i wrote an app that using it and tested on device.
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
All times are GMT -5. The time now is 07:54 PM.