case R.id.btn_LineDrawing:
//设置起点和终点
Point3D startPoint = new Point3D();
startPoint.getX();
startPoint.getY();
Point3D endPoint = new Point3D();
endPoint.getY();
endPoint.getX();
//设置样式
GeoStyle geoStyle = new GeoStyle();
//设置颜色
geoStyle.setLineColor(new com.supermap.data.Color(4514087));
//设置线状符号和编码
geoStyle.setLineSymbolID(15);
//设置宽度
geoStyle.setLineWidth(0.5);
Point3Ds p1 = new Point3Ds();
Point3D[] point3DArray = {startPoint, endPoint};
p1.addRange(point3DArray);
GeoLine3D geoLine3D = new GeoLine3D(p1);
//添加样式
geoLine3D.setStyle(geoStyle);
break;
我这样写的代码 为什么还是画不了呢