This sample demonstrates how to route using a local San Diego streets network dataset loaded into the app. You tap on the map to add a stop. As you add individual stops the sample solves the route between the stops. If you tap, hold and move then the route will be calculated dynamically on the fly
How it works
The sample uses the generateDefaultParametersWithCompletion: method on AGSRouteTask to get the default parameters from the service. In this sample the stop locations are set in the parameters. These are then used by the solveRouteWithParameters:completion: method to solve the route.