Closed GoogleCodeExporter closed 8 years ago
You would need to specify the full path to the file, i.e.
this.geWebBrowser1.FetchKmlLocal(@"c:/somefolder/polytest.kml");
Also, if you are planning to work with local files you are probably better to
use the built in local server class.
See:
http://code.google.com/p/winforms-geplugin-control-library/wiki/usingTheServer
Original comment by fraser.c...@gmail.com
on 16 May 2011 at 6:09
[deleted comment]
Hi,
its still doesn't work
the placement been add to the tree but once you click on the tree its
look at some where else and the polygon is missing
i try to add a the same polygon placment (as is in the kml) by code (ge plugin
api) and its has the same problem.
thanks,
Aviram
Original comment by aviram.s...@gmail.com
on 16 May 2011 at 7:26
Hmm, did you actually add the kml object to the browser as well as the
kmltreeview?
i.e.
geWebBrowser1.KmlLoaded += (o, e) =>
{
// add the kml to the plugin
geWebBrowser1.ParseKmlObject(e.ApiObject);
kmlTreeView1.ParseKmlObject(e.ApiObject);
};
I will take a proper look at this and post back here...
Original comment by fraser.c...@gmail.com
on 16 May 2011 at 7:31
Original issue reported on code.google.com by
aviram.s...@gmail.com
on 16 May 2011 at 3:36Attachments: