/ Published in: Objective C
URL: http://www.espinallab.com
Here is a peace of code from one of my project to show you how you to show directions on the Google Map application.
Expand |
Embed | Plain Text
- (void)showDirections { if ([self.address length] == 0) return; //We create our link to the appDelegate ClubPlanetControllerAppDelegate * appDelegate = (ClubPlanetControllerAppDelegate *)[UIApplication sharedApplication].delegate; [[UIApplication sharedApplication] openURL:myURL]; }
Comments
Subscribe to comments
You need to login to post a comment.

daddr== should be daddr=
Use local version of google maps to improve search change http://maps.google.com to http://maps.google.co.uk to localise search to UK .fr for france etc
other parameters us can pass in url to improve search http://mapki.com/wiki/GoogleMapParameters