- 积分
- 1497
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-10-27
- 最后登录
- 1970-1-1
|
发表于 2013-8-9 10:37:32
|
显示全部楼层
MeteoInfo 发表于 2013-7-29 23:19
很强悍实用的作业!
雷达数据是什么格式的?
王老师,我按照您的代码翻译成:
MIApp MyApp = new MIApp();
PointD cpoint = new PointD(103.962112426758, 30.5788993835449);
double[] radius = new double[4]{30,60,90,120};
PolygonBreak pLegend = new PolygonBreak();
pLegend.DrawFill = false;
pLegend.OutlineColor = Color.White;
for (int i = 0; i < 4;i++ )
{
CircleShape cshape = new CircleShape(cpoint,radius);
Graphic cgraphic = new Graphic(cshape,pLegend);
MyApp.MapLayout.ActiveMapFrame.MapView.GraphicCollection.Add(cgraphic);
}
按照这段代码画不出同心圆啊,帮忙瞧瞧? |
|