Open GoogleCodeExporter opened 9 years ago
Note the LineString syntax is incorrect.
https://developers.google.com/kml/documentation/kmlreference#linestring
gx:drawOrder element extends the AbstractGeometryType and must appear first
before extrude, tessellate, etc.
<LineString id="ID">
<!-- specific to LineString -->
<gx:altitudeOffset>0</gx:altitudeOffset> <!-- incorrect context -->
<extrude>0</extrude>
<tessellate>0</tessellate>
<altitudeMode>clampToGround</altitudeMode>
<gx:drawOrder>0</gx:drawOrder> <!-- incorrect context -->
<coordinates>...</coordinates>
</LineString>
Original comment by kml4earthguy
on 11 May 2012 at 3:02
The documentation has NOT been updated and still contains the error.
Original comment by gjmath...@gmail.com
on 28 Feb 2015 at 3:30
Status of this issue is NEW and it's almost 3 years old.
Only the order of the elements needs to be corrected in the Google KML
Reference document to correct the error. The corrected order which validates to
the XML Schemas is the following:
<LineString id="ID">
<!-- specific to LineString -->
<gx:altitudeOffset>0</gx:altitudeOffset>
<gx:drawOrder>0</gx:drawOrder> <!-- correct context -->
<extrude>0</extrude>
<tessellate>0</tessellate>
<altitudeMode>clampToGround</altitudeMode>
<coordinates>...</coordinates>
</LineString>
Original comment by kml4earthguy
on 7 Mar 2015 at 3:57
Original issue reported on code.google.com by
gjmath...@gmail.com
on 10 May 2012 at 6:25