<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hello,</DIV>
<DIV>I'm using KML files to show the track with some waypoints.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I would like to display the custom data elements from gx:Track.</DIV>
<DIV>&nbsp;</DIV>
<DIV>According to the KML specification (<A href="http://code.google.com/apis/kml/documentation/kmlreference.html#gxtrack">http://code.google.com/apis/kml/documentation/kmlreference.html#gxtrack</A>), the KML custom data should be something like this:</DIV>
<DIV>&lt;gx:Track id="ID"&gt;<BR>&nbsp; &lt;!-- specific to Track --&gt;<BR>&nbsp; &lt;altitudeMode&gt;clampToGround&lt;/altitudeMode&gt;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- kml:altitudeModeEnum: clampToGround, relativeToGround, or absolute --&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- or, substitute gx:altitudeMode: clampToSeaFloor, relativeToSeaFloor --&gt;<BR>&nbsp; &lt;when&gt;...&lt;/when&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- kml:dateTime --&gt;<BR>&nbsp; &lt;gx:coord&gt;...&lt;/gx:coord&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- string --&gt;<BR>&nbsp; &lt;gx:angles&gt;...&lt;/gx:angles&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- string --&gt;<BR>&nbsp; &lt;Model&gt;...&lt;/Model&gt;<BR>&nbsp;<STRONG>
 &lt;ExtendedData&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;SchemaData schemaUrl="anyURI"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;gx:SimpleArrayData kml:name="string"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;gx:value&gt;...&lt;/gx:value&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- string --&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/gx:SimpleArrayData&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;SchemaData&gt;<BR>&nbsp; &lt;/ExtendedData&gt;<BR></STRONG>&lt;/gx:Track&gt;<BR></DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV>I took a look at the OpenLayers examples with gx:Track and at the Changeset 10633 (<A href="http://trac.osgeo.org/openlayers/changeset/10633">http://trac.osgeo.org/openlayers/changeset/10633</A>), and 'speed' is simply added in gx:track. (Does this follow the KML reference?)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Also, I've noticed that OL offers support for ExtendedData of Placemark.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Is it possible to access ExtendedData from gx:Track?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you!</DIV></td></tr></table>