[OpenLayers-Users] KML <heading> tag

Tobias Reinicke ramotswa at gmail.com
Fri Oct 28 09:17:34 EDT 2011


Hello All,

I was wondering if it is a known limitation of OL that it doesn't read
the <heading> tag in a kml file...

If you go here
http://openlayers.org/dev/examples/vector-formats.html
and select kml in the dropdown, and then paste the following:
<kml xmlns="http://www.opengis.net/kml/2.2"
xmlns:gx="http://www.google.com/kml/ext/2.2"
xmlns:kml="http://www.opengis.net/kml/2.2"
xmlns:atom="http://www.w3.org/2005/Atom"><Document><name>Aircraft
Tracking</name><Placemark
id="placemark400A52"><name>EZY2016</name><description>something</description><Style
id="sn_aircraft"><IconStyle><scale>0.8</scale><heading>26</heading><Icon><href>http://defra.eodata.co.uk/images/icons/aircraft_orange.png</href></Icon></IconStyle></Style><Point><extrude>1</extrude><altitudeMode>relativeToGround</altitudeMode><coordinates>-0.21255,51.61368,4900</coordinates></Point></Placemark>

I would have thought that the icon should be rotated according to the
<heading> tag.

Any thoughts would be much appreciated.

Regards,

Toby


More information about the Users mailing list