#19 Open & Visibility Bugs

Bug (17)
Dan Avni

when rendering the kml xml, the open & visiblity properties of at least the document & folder containers is rendered only if it is set to false.
if i create a document with open=true and inside it a folder with open=true and export to kml and then open it in google earth, the document and folder are not open by default because the open has not been rendered to the kml.

either the open and visibility should be nullable and rendered if they have a value or they should be always rendered to the xml like so:
in Kml22, file geFeature function ToKML
kml.WriteElementString("visibility", Convert.ToInt16(this.Visibility).ToString());
kml.WriteElementString("open", Convert.ToInt16(this.Open).ToString());


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks