title: Displaying text directions with setPanel() in a new window
body: <p>I'm trying to get the directionsPanel to show in a new window, but i can't seem to figure it out.</p>
  
  <p>This is the function that sets the panel to a (hidden) div called 'directions-panel' in my HTML.</p>
  
  <pre><code>var directionsDisplay 
  var directionsService = new google.maps.DirectionsService();
  
  function initialize() {
  
  var positie = new google.maps.LatLng(51.25584,5.68196);
  
  directionsDisplay = new google.maps.DirectionsRenderer();
  
  var mapOptions = {
  zoom: 10,
  center: positie,
  mapTypeId: google.maps.MapTypeId.ROADMAP,
  mapTypeControl: false
  };
  
  var map = new google.maps.Map(document.getElementById('map'),
    mapOptions);
  directionsDisplay.setMap(map);
  directionsDisplay.setPanel(document.getElementById('directions-panel'));
  }
  </code></pre>
  
  <p>The code works fine but I want it to open in a new window. Sort off like a pop-up I guess. Anyone know how to do this?</p>