by edster · 16y ago · 0 comments
NSString startingLoc = [NSString stringWithFormat:@"%f,%f", starting.latitude, starting.longitude];
NSString
endingLoc = [NSString stringWithFormat:@"%f,%f", ending.latitude, ending.longitude];NSString *dirURL = [NSString stringWithFormat:@"maps.google.com/maps?saddr=%@&daddr=%@&output=kml, startingLoc, endingLoc];
(I took off the http: from the string because the text editor insisted on turning it into a url and ended up hiding the interesting output=kml part)
No comments yet.