<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> </DIV>
<DIV>I would like to display the custom data elements from gx:Track.</DIV>
<DIV> </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><gx:Track id="ID"><BR> <!-- specific to Track --><BR> <altitudeMode>clampToGround</altitudeMode> <BR> <!-- kml:altitudeModeEnum: clampToGround, relativeToGround, or absolute --><BR> <!-- or, substitute gx:altitudeMode: clampToSeaFloor, relativeToSeaFloor --><BR> <when>...</when> <!-- kml:dateTime --><BR> <gx:coord>...</gx:coord> <!-- string --><BR> <gx:angles>...</gx:angles> <!-- string --><BR> <Model>...</Model><BR> <STRONG>
<ExtendedData><BR> <SchemaData schemaUrl="anyURI"><BR> <gx:SimpleArrayData kml:name="string"><BR> <gx:value>...</gx:value> <!-- string --><BR> </gx:SimpleArrayData><BR> <SchemaData><BR> </ExtendedData><BR></STRONG></gx:Track><BR></DIV>
<DIV><STRONG></STRONG> </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> </DIV>
<DIV>Also, I've noticed that OL offers support for ExtendedData of Placemark.</DIV>
<DIV> </DIV>
<DIV>Is it possible to access ExtendedData from gx:Track?</DIV>
<DIV> </DIV>
<DIV>Thank you!</DIV></td></tr></table>