title: Need Google "My Maps" Legend Opened at Startup
body: <p>I have a Google "My Maps" listing that relies heavily on a layered legend display to navigate 5 layers I'm displaying. I'd like the legend to be open by default when the iframe is loaded.</p>
  
  <p>Ideally, I'd be able to pass a parameter on the iframe SRC url to tell the "my maps" server to display the legend at startup. It should be a simple CSS toggle from <code>display:none</code> to <code>display:block</code>.</p>
  
  <p>This question has been <a href="https://productforums.google.com/forum/#!msg/maps/iHvk7DUxohk/W8VxOMh_CAAJ" rel="nofollow noreferrer">asked back in 2015</a> on the Google Help Forum but is now locked.</p>
  
  <p>Interestingly, when you click the full screen expansion icon to view the map at full size, it does display the legend by default. Perhaps there are some clues on that URL that may be sniffed out. It reloads the map and uses a different URL than the embed src.</p>
  
  <p>Here is a <a href="http://streambuzz.net/streaming-tv-local-networks-on-google-maps/" rel="nofollow noreferrer">link to the map on my site</a> for reference.</p>
  
  <p>Here is the legend container html from the "My Maps" code when the legend is closed at startup:</p>
  
  <pre><code>&lt;div aria-hidden="true" id="legendPanel" style="bottom: 0px !important; display: none;" class="HzV7m-b0t70b-haAclf i4ewOd-mU4ghb-haAclf"&gt;
  </code></pre>
  
  <p>And here is the code when the legend is visible:</p>
  
  <pre><code>&lt;div aria-hidden="false" id="legendPanel" style="bottom: 0px !important;" class="HzV7m-b0t70b-haAclf i4ewOd-mU4ghb-haAclf HzV7m-b0t70b-bnBfGc HzV7m-b0t70b-ZiwkRe"&gt;
  </code></pre>
  
  <p>Although, since its not possible to execute CSS in the iframe due to XSS limitations, its only shown here to see how the legend is toggled on and off via CSS <code>display</code> property.</p>