本人小白刚接触supermap 现在用wpf 做客户端用到supermap 这个错误是因为要在地图上放一个坐标 才报错的,代码如下
public void Mark()
{
GeoCone con = new GeoCone();
con.Position = new Point3D(100, 100, 100);
con.BottomRadius = 50;
con.Height = 150;
GeoPlacemark mark = new GeoPlacemark();
mark.Name = "mark";
mark.Geometry = con;
mark.NameStyle = new TextStyle();
sceneControl.Scene.TrackingLayer.Add(mark, "mark");
mark.Dispose();
con.Dispose();
}
麻烦给位大神帮帮忙,如果回复请详细 点 谢谢啦