title: How pass data from parent page to popup?
body: <p>I have following code:</p>
  
  <p>parent page:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  
      &lt;html&gt;
        &lt;head&gt;
        &lt;/head&gt;
        &lt;body&gt;
        &lt;a href=# onclick='showMap()'&gt;show map &lt;a&gt;
          &lt;div id="map-canvas"&gt;&lt;/div&gt;
        &lt;/body&gt;
         &lt;script&gt;
         function showMap(){
  
           window.open('map.html','map','width=600,height=400');
          }
           &lt;/script&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>map.html:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;meta name="viewport" content="initial-scale=1.0, user-scalable=no"&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;title&gt;Info windows&lt;/title&gt;
      &lt;style&gt;
        html, body, #map-canvas {
          height: 100%;
          margin: 0px;
          padding: 0px
        }
      &lt;/style&gt;
      &lt;script src="https://maps.googleapis.com/maps/api/js?v=3.exp"&gt;&lt;/script&gt;
      &lt;script&gt;
  
  
  function initialize() {
    var myLatlng = new google.maps.LatLng(-25.363882,131.044922);
    var mapOptions = {
      zoom: 4,
      center: myLatlng
    };
  
    var map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
  
  
    var marker = new google.maps.Marker({
        position: myLatlng,
        map: map,
        title: 'Uluru (Ayers Rock)'
    });
  
  }
  
  google.maps.event.addDomListener(window, 'load', initialize);
  
      &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div id="map-canvas"&gt;&lt;/div&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>As you can see I use hardcode values for map marker rendering:</p>
  
  <pre><code>var myLatlng = new google.maps.LatLng(-25.363882,131.044922);
  </code></pre>
  
  <p>Can I pass these values from parent page to popup?</p>