private void Element() { IPoint p = new PointClass(); p.X = 113.934502; p.Y = 22.539932; p.PutCoords(113.934502, 22.539932); IElement ele; IMarkerElement markEle = new MarkerElementClass(); GraphCon = (IGraphicsContainer)mapView.Map; IGraphicsContainer GraphCon; ele = (IElement)markEle; ele.Geometry = p; GraphCon.AddElement(ele, 0); }
这个点是加上去了,但是周围的一大块原本有的地物点标注变没了.
哪为兄弟姐妹,知道不?,指点下