Refactored code to write best road route to the map as a single polyline not a polyline of segments.