How to draw Path on Map using Google Maps Direction API

Travel Mode
WALKING DRIVING
 
Way Points