三维中怎样标会出点状符号

0 投票
GeoStyle geoStyle = new GeoStyle();
                               geoStyle.LineColor = Color.Red;
                               geoStyle.MarkerSize = new Size2D(16, 16);
                               geoStyle.MarkerSymbolID = 100; // 点状符号编码100,一面红旗;
                               GeoPoint m_GeoP = new GeoPoint();
                               m_GeoP.X = 111.34;
                               m_GeoP.Y = 36.11;                            
                               m_GeoP.Style = geoStyle;
                               m_mapControl.Map.TrackingLayer.Add(m_GeoP, "100");

                               GeoStyle3D m_geoStyle3D = new GeoStyle3D();
                               m_geoStyle3D.LineColor = Color.Red;   
                               m_geoStyle3D.MarkerSymbolID = 100;//
                               GeoPoint3D m_GeoP3D = new GeoPoint3D();
                               m_Geo3P.X =111.34;
                               m_Geo3P.Y = 36.11;
                    m_Geo3P.Y = 36.11;
                               m_Geo3P.Style3D = m_geoStyle3D;
                              this.m_SceneControl.Scene.TrackingLayer.Add(m_Geo3P,"100");   
 
请问,在二维地图中能够标会出点状符号红旗,在三维中只是一个白色的点,这是问什么?
6月 14 分类:  44次浏览 | 用户: Isrenchuang 才疏学浅 (15 分)

1个回答

0 投票
您好,三维场景标绘和二维地图标绘的使用操作是有所不同的。

三维场景标绘您可以查看帮助文档中ActionGraphicObject3D 类相关,他与二维地图标绘ActionGraphicObject类是不一样的。

希望可以帮助到您!
6月 15 用户: 执笔画月 名扬四海 (1,737 分)
...