三维场景下,如何添加GeoPlacemark到DatasetVector?
Geometry3D geometry = e.Geometry;
Point3D textLocation = new Point3D(0, 0, 0);
geometry.Style3D = new GeoStyle3D();
//geometry.Style3D.IsMarker3D = true;
geometry.Style3D.MarkerFile = @"I:\CMF-FL\CMF-FL\bin\Debug\Resources\map_icon_location.png";
geometry.Style3D.AltitudeMode = AltitudeMode.Absolute;
//GeoPlacemark geoPlacemark = new GeoPlacemark("dddd",geometry);
//geoPlacemark.Geometry = geometry;
//geoPlacemark.Style3D = geometry.Style3D;
//GeoPoint3D geoPoint3D1 = geometry as GeoPoint3D;
//geoPoint3D.Style3D = style3d;
TextStyle ts = new TextStyle();
ts.ForeColor = ColorTranslator.FromHtml("#ffffff");
ts.FontScale = 0.75;
//ts.BackColor = Color.FromArgb(6, 38, 38, 41);
ts.BackColor = ColorTranslator.FromHtml("#2C2C30");
ts.BackOpaque = true;
ts.BorderSpacingWidth = 12;
ts.Alignment = TextAlignment.BottomCenter;
GeoPlacemark geoPlacemark = new GeoPlacemark("aabbcc", geometry);
geoPlacemark可以添加到TrackingLayer,能正常显示,但是添加到DatasetVector后,无显示