AJAX APIs Playground > Map Directions Advanced を元にしたサンプル。
NI-Lab. - Google Maps API Driving Directions Samples