我知道几年前有人问过这个问题,但所有答案都涉及使用GoogleMapsAPI来解决这个问题。我想知道现在iOS8已经出来并且它为原生MapKit带来了许多改进,是否有适当的方法来解决这个问题。基本上我在路上画了一条折线,它由许多中间点组成。varlocations=[CLLocation]()foriteminlist{locations.append(CLLocation(latitude:CLLocationDegrees(item["location"]["coordinate"]["x"].doubleValue),longitude:CLLocationDegrees(ite