Converts encoded google polyline to arcgis js graphic to be added in an arcgis JS project.
Add this code as a file in your project and call decodePoly_toGraphic which will return a line graphic for you. The parameters to pass into decodePoly_toGraphic are the google encoded string, and a symbol for the returned line graphic.