请不要在未阅读整个问题的情况下将其标记为重复在iOS中不显示map的情况下,有没有办法获取两个CLLocation点之间的自驾路线的长度?绝非乌鸦飞过!!!但是就像在MK驾驶模式下我不能使用谷歌,因为我必须在谷歌地图上显示结果。我找到了这段代码,但这只在显示iOSmap时有效:-(void)showMapRouteFromCurrentLocation{CLLocationCoordinate2DcurrentUserCoordinate=YourCoordinate;//currentUserCoordinate.latitude=+53.509980;//currentUserCo