I have a google map using API v3 which gets directions from one location to another. The app works great but the window which gets the directions is an overlay on the map.
You can also use : directionsDisplay.setDirections({routes: []});
directionsDisplay.setDirections({routes: []});