Carl Dreher
unread,Jan 28, 2010, 1:31:35 PM1/28/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to KML Developer Support - Getting Started with KML
I have a kml file with lots of nested folders and placemark. I want
to set the state of the various checkboxes (check or unchecked) when
the file is first loaded. I don't find anything is the <Document> or
<Folder> API that indicates how to do this.
Looking through past postings, I find a discussion about using the
<visibility> flag, but the thread concludes that it doesn't work.
I've also tried that, and find that although it DOES work on the
<Placemark> tag, it does not work on <Document> or <Folder> tags.
Everything always comes up checked when first loaded.
The <open> tag within a Folder or Document works as advertised, that
is, the folder is open or closed. But that does not affect the
checkbox.
Surely there is a way of setting the default state of a checkbox! I
can't believe the Google engineers could have missed something so
basic.
I'm using the lastest version of the Google Earth stand-alone
application in Windows XP Pro with all the lastest service packs.