Dictionary<string,Feature> fts=new Dictionary<string,Feature>();
if (fts[trans.id] != null)
{
fts[trans.id].Point.Set(trans.log, trans.lat);
fts[trans.id].Update(fts[trans.id],Type.Missing);
m_objLayer.Refresh();
上边是关键 该怎么写
}
else
{
Feature fea = axMap1.FeatureFactory.CreateSymbol(pt, sty);
fts.Add(trans.id, fea);
fts[trans.id]=m_objLayer.AddFeature(fts[trans.id], Type.Missing);
}
------解决方案--------------------
自己结了吧!!!