///// <summary>
        ///// Make a CIMPointGraphic that can be added to the map overlay
        ///// </summary>
        ///// <param name="point">The location of the graphic</param>
        ///// <returns></returns>
        //internal static CIMPointGraphicHelper MakeCIMPointGraphic(PointN point)
        //{
        //    return new CIMPointGraphicHelper(point);
        //}
        /// <summary>
        /// Add a point to the specified mapview
        /// </summary>
        /// <param name="mapView">The mapview to whose overlay the graphic will be added</param>
        /// <returns>The graphic id assigned to the graphic in the overlay</returns>
        public static void AddToMapOverlay(ArcGIS.Core.CIM.PointN point, MapView mapView)
        {
            if (!mapView.Is2D)
            {
                return;//only currently works for 2D
            }
            CIMPointGraphicHelper graphicHlpr = new CIMPointGraphicHelper(point);

            graphicHlpr.graphicID             = mapView.AddOverlayGraphic(graphicHlpr.XML);
            _lookup[mapView.Map.RepositoryID] = graphicHlpr;
        }
 /// <summary>
 /// Remove the Point Graphic from the specified mapview
 /// </summary>
 /// <param name="mapView"></param>
 public static void RemoveFromMapOverlay(MapView mapView)
 {
     if (!mapView.Is2D)
     {
         return;//only currently works for 2D
     }
     if (_lookup.ContainsKey(mapView.Map.RepositoryID))
     {
         mapView.RemoveOverlayGraphic(_lookup[mapView.Map.RepositoryID].graphicID);
         CIMPointGraphicHelper graphicHlpr = _lookup[mapView.Map.RepositoryID];
         _lookup.Remove(mapView.Map.RepositoryID);
         graphicHlpr = null;
     }
 }
        ///// <summary>
        ///// Make a CIMPointGraphic that can be added to the map overlay
        ///// </summary>
        ///// <param name="point">The location of the graphic</param>
        ///// <returns></returns>
        //internal static CIMPointGraphicHelper MakeCIMPointGraphic(PointN point)
        //{
        //    return new CIMPointGraphicHelper(point);
        //}
        /// <summary>
        /// Add a point to the specified mapview
        /// </summary>
        /// <param name="mapView">The mapview to whose overlay the graphic will be added</param>
        /// <returns>The graphic id assigned to the graphic in the overlay</returns>
        public static void AddToMapOverlay(ArcGIS.Core.CIM.PointN point, MapView mapView) {
            if (!mapView.Is2D)
                return;//only currently works for 2D

            CIMPointGraphicHelper graphicHlpr = new CIMPointGraphicHelper(point);
            graphicHlpr.graphicID = mapView.AddOverlayGraphic(graphicHlpr.XML);
            _lookup[mapView.Map.RepositoryID] = graphicHlpr;

        }