Map path problem
I want to show the path between the start & the end location inserted for the map. How can i do the whole process? It开发者_StackOverflow中文版 is not showing the path though i am getting the latitude & longitude properly.
NSString *urlstring=[NSString stringWithFormat:@"http://maps.google.com/?saddr=%f,%f&daddr=%f,%f",sourcelocation.latitude,sourcelocation.longitude,destinationlocation.latitude,destinationlocation.longitude];
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:urlstring]];
精彩评论