开发者

Map path problem

开发者 https://www.devze.com 2023-02-28 18:56 出处:网络
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 lati

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]];
0

精彩评论

暂无评论...
验证码 换一张
取 消