SuperMap二次开发数据的可视化



Theme3DCustom theme3D = new Theme3DCustom();
            theme3D.AltitudeModeExpression = "AltitudeMode";
            theme3D.MarkerSymbolIDExpression = "SymbolID";
            theme3D.Marker3DScaleXExpression = "ScaleX";
            theme3D.Marker3DScaleYExpression = "ScaleY";
            theme3D.Marker3DScaleZExpression = "ScaleZ";
            theme3D.Marker3DRotateXExpression = "RotationX";
            theme3D.Marker3DRotateYExpression = "RotationY";
            theme3D.Marker3DRotateZExpression = "RotationZ";

            m_layerNetNode = m_sceneControl.Scene.Layers.Add(networkDataset.ChildDataset, theme3D, true);         

            Layer3DSettingVector settingLine = new Layer3DSettingVector();
            settingLine.Style.AltitudeMode = AltitudeMode.RelativeToUnderground;
            settingLine.Style.LineSymbolID = 964526;
            settingLine.Style.LineColor = Color.White;
            settingLine.Style.LineWidth = 0.3;

            m_layerNetLine = m_sceneControl.Scene.Layers.Add(networkDataset, settingLine, true);

你可能感兴趣的:(SuperMap二次开发数据的可视化)