codice:
...
document.getElementById("panel").innerHTML = "";
directionsDisplay.setPanel(document.getElementById("panel"));
...