Closed GoogleCodeExporter closed 9 years ago
Hi,
Thanks for this! I will add it ASAP...
I have however have tweaked it a little.
I am using the 'as' operator rather than casting (isinst rather than castclass)
and I
am checking against geplugin.LIST_ITEM_CHECK_HIDE_CHILDREN rather than int 3
Top stuff thanks :)
Fraser
Original comment by fraser.c...@gmail.com
on 30 Sep 2009 at 12:10
{{{
// patch from blairuk
// issue 10 : Allow KmlTreeView to accept ListStyle checkHideChildren property
if (obj.getOwnerDocument().getComputedStyle().getListStyle().getListItemType()
!=
geplugin.LIST_ITEM_CHECK_HIDE_CHILDREN)
{
this.Nodes.Add(
this.ParsekmlContainer(obj as IKmlContainer));
}
else
{
this.Nodes.Add(
this.CreateTreeNodeFromKmlFeature(obj as IKmlFeature));
}
}}}
Original comment by fraser.c...@gmail.com
on 30 Sep 2009 at 12:25
Original comment by fraser.c...@gmail.com
on 1 Oct 2009 at 11:32
Original comment by fraser.c...@gmail.com
on 12 Oct 2009 at 2:28
Original issue reported on code.google.com by
blai...@gmail.com
on 30 Sep 2009 at 9:21Attachments: