private string AddPointToMap(IPoint point) { if (point != null && !point.IsEmpty) { var color = (IColor) new RgbColorClass() { Green = 255 }; var placedPoint = ArcMapHelper.AddGraphicToMap(point, color, true, esriSimpleMarkerStyle.esriSMSDiamond, 7); return(placedPoint.Key); } return(string.Empty); }
private void RemovePointFromMap(string pointId) { ArcMapHelper.RemoveGraphicsFromMap(new string[1] { pointId }); }