- 积分
- 215
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-2-22
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2012-3-9 15:38:47
|
显示全部楼层
foreach (DictionaryEntry de in stationname)
{
PointShape aPS = new PointShape();
PointD aPoint = new PointD();
aPoint.X = Convert.ToDouble(lonhash[de.Key]);
aPoint.Y = Convert.ToDouble(lathash[de.Key]);
aPS.Point = aPoint;
int shapeNum = aLayer.ShapeNum;
if (WaterLevelhash.Contains(de.Key) || flowhash.Contains(de.Key))
{
if (aLayer.EditInsertShape(aPS, shapeNum))
{
//Edit record value
aLayer.EditCellValue("STATION", shapeNum, de.Key);
aLayer.EditCellValue("LON", shapeNum, aPoint.X);
aLayer.EditCellValue("LAT", shapeNum, aPoint.Y);
aLayer.EditCellValue("Flow", shapeNum, flowhash[de.Key]);
aLayer.EditCellValue("WaterLevel", shapeNum, WaterLevelhash[de.Key]);
aLayer.EditCellValue("alarmWaterLevel", shapeNum, alarmWlevel[de.Key]);
aLayer.EditCellValue("STATIONNAME", shapeNum, stationname[de.Key]);
}
}
}
我是希望能有个symbol属性,可以设置dll自带的符号,也可以设置成自己自定义的ico,
比如说我想进行预警信号的预警,我可以将点的符号设置成预警信号的图标。 |
|