Closed GoogleCodeExporter closed 8 years ago
Hi... This might give you an idea of how to go about this...
var doc = ge.createDocument(string.Empty);
doc.setName("Test Folder");
for (int i = 0; i < 360; i++)
{
doc.getFeatures().appendChild(KmlHelpers.CreatePlacemark(
ge,
id: "pm_x" + i,
latitude: 0,
longitude: 0 + i,
name: "placemark " + i,
description: "test placemark " + i,
addFeature: false));
}
// add all the place marks at once
geWebBrowser1.ParseKmlObject(doc);
kmlTreeView1.ParseKmlObject(doc);
Regards,
Tkm
Original comment by tho...@gmail.com
on 17 Feb 2012 at 8:55
Thanks Sable...and...Tkm, yes using the native API is allays a possibility for
creating objects.
That said, I will look to add additional support for the other 'createXXX'
methods in the next commit.
I am going to merge this with the other similar request as it covers the same
ground.
Thanks again.
Original comment by fraser.c...@gmail.com
on 17 Feb 2012 at 9:40
Original issue reported on code.google.com by
SableBl...@gmail.com
on 17 Feb 2012 at 12:56