Reading the documentation, it seems that you can create an instance of MKOverlayPathView
and assign an arbitrary CGPathRef
object to its path
property. This path can contain both straight lines and arcs.
I don't know (and the documentation doesn't mention) in what format the coordinates of the path should be (MKMapPoint
or CLLocationCoordinate2D
come to mind) but you can probably find that out by experimenting a bit.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…