Inspect Route Element for iOS v3
class ShowRouteOnMapController: UIViewController, MPDirectionsRendererDelegate var map: GMSMapView? = nil
var mapControl: MPMapControl? = nil
var route:MPRoute? = nil
var leg:Int = -1
var step:Int = -1convenience init(_ route:MPRoute, _ leg:Int, _ step:Int) {
self.init(nibName:nil, bundle:nil)
self.route = route
self.leg = leg
self.step = step
}Create the Controller That Requests the Route, and List the Route in a Table
Last updated
Was this helpful?