Пример #1
0
        public UMap(ActivityPlaceMap apmap)
        {
            InitializeComponent();
            mapGis = new MapGIS();
            frame_window.Children.Insert(0, mapGis.MainMap);
            apMap = apmap;

            mapGis.BarGraphicChange += BarGraphicChange;
        }
        /// <summary>
        /// 指针选点
        /// </summary>
        public MapCoordinate()
        {
            InitializeComponent();
            _mapGis = new ActivityPlaceMap();
            _mapGis.ShowMap.MapInitialized += MapInitialized;
            //_mapGis.MainMap.IsOverviewVisible = true;
            grid_map.Children.Insert(0, _mapGis.ShowMap.MainMap);

            System.Windows.Resources.StreamResourceInfo sri = Application.GetResourceStream(new Uri("/CO_IA.UI.MAP;component/Images/cursor/Link_Hnd.cur", UriKind.RelativeOrAbsolute));
            Cursor customCursor = new Cursor(sri.Stream);

            this.Cursor = customCursor;
        }