On Aug 25, 4:41 am, xnakxx <[EMAIL PROTECTED]> wrote: > On Aug 23, 2:57 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > Hi All, Im new toiPhone. Im developing a small application using > > UIWebView. I want to show Google Map oniPhone. I tried UIWebView to > > show map, but it's showing the whole webpage. But i need to show only > > map on myiPhoneSimulator. > > [webView loadRequest:[NSURLRequest requestWithURL: [NSURL > > URLWithString:@"http://www.maps.google.com/"]]]; > > This is code im using to show the map. Can any one help me to show > > only the map oniPhonesimulator. Can i get a sample application > > (sample code) for showing google map on myiPhoneSimulator???? > > Your best and easiest bet is to host a script (php, asp etc.) on your > webserver and use the google api to return a map that will get > displayed in the UIWebView. > you got the right webView statement now just point it to "http:// > mydomain.com/mymapgenerator.asp and have it do the proper calls to the > map API. Also if you need only a map you might want to check out > google's static maps api. Thanks for your reply. But i don't know how to do these things.. Can u explain briefly with some examples. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
