Hello,
I'm using KML files to show the track with some waypoints.
I would like to display the custom data elements from gx:Track.
According to the KML specification
(http://code.google.com/apis/kml/documentation/kmlreference.html#gxtrack), the
KML custom data should be something like this:
<gx:Track id="ID">
<!-- specific to Track -->
<altitudeMode>clampToGround</altitudeMode>
<!-- kml:altitudeModeEnum: clampToGround, relativeToGround, or absolute
-->
<!-- or, substitute gx:altitudeMode: clampToSeaFloor, relativeToSeaFloor
-->
<when>...</when> <!-- kml:dateTime -->
<gx:coord>...</gx:coord> <!-- string -->
<gx:angles>...</gx:angles> <!-- string -->
<Model>...</Model>
<ExtendedData>
<SchemaData schemaUrl="anyURI">
<gx:SimpleArrayData kml:name="string">
<gx:value>...</gx:value> <!-- string -->
</gx:SimpleArrayData>
<SchemaData>
</ExtendedData>
</gx:Track>
I took a look at the OpenLayers examples with gx:Track and at the Changeset
10633 (http://trac.osgeo.org/openlayers/changeset/10633), and 'speed' is simply
added in gx:track. (Does this follow the KML reference?)
Also, I've noticed that OL offers support for ExtendedData of Placemark.
Is it possible to access ExtendedData from gx:Track?
Thank you!
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users