function showRoute(solveResult) { routeSymbol = new esri.symbol.SimpleLineSymbol().setColor(new dojo.Color([255,0,0,0.8])).setWidth(4); theRoute = solveResult.routeResults[0].route; theRoute.setSymbol(routeSymbol); map.graphics.add(theRoute);
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.