我想在kml图层中添加点线面对象,但是却一直添加不上去,我的做法是将点线面对象转化为三维地标几何对象,也转化成功了,但是在添加到三维要素类(Feature3Ds)是却添加不进去,这是什么原因呢
Layer3D layer3dkml = m_sceneControl.Scene.Layers.Add(shpPath, Layer3DType.KML, true) as Layer3DKML;
layer3dkml.IsEditable = true;
foreach (GeoPlacemark geo in geolist)
{
layer3dkml.Features.Add(geo);
layer3dkml.UpdateData();
}
layer3dkml.IsVisible = true;
m_sceneControl.Scene.Refresh();