title: Google Maps API get a polyline from KML
body: <p>I have loaded a KML file into a Google map using both V3 and geoxml3. The file contains one line, saved from Maps walking directions. I want to add mile markers to the line, but I can't find any documentation on how to get a polyline from the KmlLayer (or from the geoXML3 object).</p>
  
  <p>V3:</p>
  
  <pre><code>var layer = new google.maps.KmlLayer('http://blah.kml');
  layer.setMap(map);
  </code></pre>
  
  <p>geoXML3:</p>
  
  <pre><code>var kml_parser = new geoXML3.parser({
    map: map,
    processStyles: true,
    createMarker: add_marker
  });
  kml_parser.parse('blah.kml');
  </code></pre>
  
  <p>Does anyone know </p>