title: Accessing ExtendedData information via Google Maps API v3
body: <p>I have a KML file which contains within each <code>&lt;Placemark&gt;</code> node an <code>&lt;ExtendedData&gt;</code> node, and then a number of <code>&lt;Data&gt;</code> nodes with key/value pairs. I've followed the examples at: <em>http://code.google.com/apis/kml/documentation/extendeddata.html</em> and <em>code.google.com/apis/kml/documentation/kmlelementsinmaps.html</em> suggests maps do support KML ExtendedData nodes (albeit partially), but I cannot find a way of accessing the ExtendedData object via javascript. I'm using:</p>
  
  <pre><code>google.maps.event.addListener(agency_layer, 'click', function(kmlEvent) {
    console.debug( kmlEvent );
  }
  </code></pre>
  
  <p>(where agency_layer is the KML object).
  kmlEvent contains all of the KML feature data, but not the extendedData, and i'm scratching my head. I want to make my KML semantically sensible, rather than loading more data into the description and parsing it later with javascript.</p>
  
  <p>has anyone had a similar experience, or knows how to access ExtendedData nodes via Google Maps API v3?</p>