下面是在.net打开地图的方法,如何利用下面的方法在.net中打开三维场景,求大佬解答!
private void btnOpenMap_Click(object sender, EventArgs e)
{
//设置工作空间连接信息
WorkspaceConnectionInfo wsinfo = new WorkspaceConnectionInfo();
wsinfo.Server = @"D:\supermap-iobjectsdotnet-10.1.1-19230-84288-all\SampleData\World\World.smwu";
wsinfo.Type = WorkspaceType.SMWU;
//打开工作空间
bool isopen = workspace1.Open(wsinfo);
if (isopen)
{
Map map = mapControl1.Map;
map.Open("世界地图");
map.ViewEntire();
}
我需要打开这个三维场景,已知场景(scenes)为SuperMap.Data类