Now I want to hide Directions Panel.
Just comment or remove the line
directionsDisplay.setPanel(document.getElementById('dvPanel'));
And if the above does not work, hide the DIV as shown below.
<div id="dvPanel" style="width: 500px; height: 500px; display:none"></div>
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.