Go Back   iPhone Dev SDK Forum > Development Forums > iPhone SDK Development

Featured Member Applications

TanZen ($0.99)

Endless Walls ($0.99)

Air Hockey ($0.99)

SUPER STRIKE - Motion Bowl ($0.99)

BarSlot ($0.99)

MeterRead ($0.99)

Colorblind Helper ($4.99)

gContacts ($1.99)

ProgCalc ($1.99)

Forex On The Go Lite (FREE)

HUE knewit! ($0.99)

Want your application to be advertised here?

» 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
Reply
 
LinkBack Thread Tools Display Modes
Old 08-29-2008, 04:39 AM   #1 (permalink)
Junior Member
 
Join Date: Aug 2008
Posts: 13
Question 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?
dhanasekar is offline   Reply With Quote
Old 08-30-2008, 06:47 AM   #2 (permalink)
Member
 
Join Date: Aug 2008
Posts: 73
Default

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
indiekiduk is offline   Reply With Quote
Old 08-30-2008, 07:11 AM   #3 (permalink)
Junior Member
 
Join Date: Aug 2008
Posts: 13
Default

can u share with me your code?
dhanasekar is offline   Reply With Quote
Old 08-30-2008, 07:33 AM   #4 (permalink)
Member
 
Join Date: Aug 2008
Posts: 73
Default

sure here it is
Attached Files
File Type: zip OpenURL.zip (16.8 KB, 50 views)
indiekiduk is offline   Reply With Quote
Old 09-01-2008, 05:10 AM   #5 (permalink)
Junior Member
 
Join Date: Aug 2008
Posts: 13
Default

Thank you for your reply, but it showing the google page, but i need to show map alone on my iPhone simulator.
dhanasekar is offline   Reply With Quote
Old 09-01-2008, 06:27 AM   #6 (permalink)
Member
 
Join Date: Jul 2008
Posts: 58
Default

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.
Saurman is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Powered by vBadvanced CMPS v3.0.1

All times are GMT -5. The time now is 07:54 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0