绘制文字时 当地图放大到 紧贴地面 文字会显示在地底下 怎么才能让文字 显示在 建筑物之上 设置z轴高度 无效
geoPlacemark.setName();方法也无效 以下是我绘制文字代码
TextStyle textStyle = new TextStyle();
textStyle.setForeColor(ColorUtil.html2Rgb("#ffffff"));
textStyle.setAlignment(TextAlignment.MIDDLECENTER);
textStyle.setFontScale(1.4);
TextPart3D textPart3D = new TextPart3D();
textPart3D.setText(text);
// textPart3D.setAnchorPoint(point3D);
textPart3D.setX(point3D.getX());
textPart3D.setY(point3D.getY());
textPart3D.setZ(point3D.getZ()+30);
GeoText3D geoText3D = new GeoText3D(textPart3D);
geoText3D.setTextStyle(textStyle);
GeoPlacemark geoPlacemark = new GeoPlacemark("UntitledFeature3D", geoText3D);
dataBinding.SceneControl.getScene().getTrackingLayer().add(geoPlacemark, "geoText");
textStyle.dispose();
textPart3D.dispose();
geoText3D.dispose();