This code sample lets you experiment with different waypoint types.For detailed information see the Waypoints concept.