windrobin / winforms-geplugin-control-library

Automatically exported from code.google.com/p/winforms-geplugin-control-library
GNU General Public License v3.0
0 stars 1 forks source link

If KmlFolder has no ownerdocument fails to load subtree #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This patch really just fixes an edge case of an earlier path.

It checks that the obj.getOwnerDocument() call does not return null. It
also reverses the logic in that if it is null it will default to parsing
the kml container rather than nothing.

Original issue reported on code.google.com by blai...@gmail.com on 4 Nov 2009 at 11:47

Attachments:

GoogleCodeExporter commented 9 years ago
Attached is a better patch that extrapolates KmlFolder generation into a 
function and
also fixes folder expansion on nested children.

Original comment by blai...@gmail.com on 4 Nov 2009 at 12:04

Attachments:

GoogleCodeExporter commented 9 years ago
Will be in the next commit

Original comment by fraser.c...@gmail.com on 5 Nov 2009 at 1:34

GoogleCodeExporter commented 9 years ago

Original comment by fraser.c...@gmail.com on 5 Nov 2009 at 1:44