Closed GoogleCodeExporter closed 9 years ago
For example, the "Schema" element must be after the Style elements in
a Document.
And second, the order of style in wrong: IconStyle preceeds
LabelStyle.
<Style id="track_n">
<LabelStyle>
<scale>0</scale>
</LabelStyle>
<IconStyle>
<scale>.5</scale>
<Icon>
<href>http://earth.google.com/images/kml-icons/track-
directional/track-none.png</href>
</Icon>
</IconStyle>
</Style>
must be reordered:
<Style id="track_n">
<IconStyle>
<scale>.5</scale>
<Icon>
<href>http://earth.google.com/images/kml-icons/track-
directional/track-none.png</href>
</Icon>
</IconStyle>
<LabelStyle>
<scale>0</scale>
</LabelStyle>
</Style>
There are a few similar errors in the file.
Example must be reordered as following:
<kml>
<Document>
<LookAt>...</LookAt>
<Style id="track_n">
...
</Style>
<Schema>.../Schema>
<Folder>..</Folder>
</Document>
</kml>
Original comment by gjmath...@gmail.com
on 17 Oct 2010 at 10:52
This issue needs to be changed from Defect to 'Documentation error'.
Original comment by gjmath...@gmail.com
on 1 Dec 2010 at 2:37
The example in documentation has been fixed. This issue can be closed.
Original comment by gjmath...@gmail.com
on 21 Feb 2012 at 7:00
Original comment by jli...@google.com
on 21 Feb 2012 at 7:33
Original issue reported on code.google.com by
gjmath...@gmail.com
on 17 Oct 2010 at 10:49Attachments: