Request for Routing Directions
Maps UIKit SwiftUI
Now that we have our directions UI drawn out with some dummy starting and ending annotations, we're ready to request for routing information between two points on the map. To do so, we'll setup a MKDirections.Request object and calculate the necessary routing information through Apple's SDKs. Once we have the routing, we'll place an overlay on the map and then use a MKPolylineRenderer to render it out.

Comments (0)