/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraMap.MiniMap miniMap1 = new DevExpress.XtraMap.MiniMap(); DevExpress.XtraMap.DynamicMiniMapBehavior dynamicMiniMapBehavior1 = new DevExpress.XtraMap.DynamicMiniMapBehavior(); DevExpress.XtraTreeMap.HatchFillStyle hatchFillStyle1 = new DevExpress.XtraTreeMap.HatchFillStyle(); DevExpress.XtraTreeMap.HatchFillStyle hatchFillStyle2 = new DevExpress.XtraTreeMap.HatchFillStyle(); this.miniMapVectorItemsLayer1 = new DevExpress.XtraMap.MiniMapVectorItemsLayer(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.shapefileDataAdapter1 = new DevExpress.XtraMap.ShapefileDataAdapter(); this.bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); this.treeMapControl1 = new DevExpress.XtraTreeMap.TreeMapControl(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.treeMapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.CenterPoint = new DevExpress.XtraMap.GeoPoint(37.55D, 127D); this.mapControl1.Cursor = System.Windows.Forms.Cursors.Default; this.mapControl1.Dock = System.Windows.Forms.DockStyle.Right; this.mapControl1.Location = new System.Drawing.Point(337, 0); this.mapControl1.MaxZoomLevel = 18D; dynamicMiniMapBehavior1.MaxZoomLevel = 18D; dynamicMiniMapBehavior1.MinZoomLevel = 10D; dynamicMiniMapBehavior1.ZoomOffset = -2D; miniMap1.Behavior = dynamicMiniMapBehavior1; miniMap1.Layers.Add(this.miniMapVectorItemsLayer1); this.mapControl1.MiniMap = miniMap1; this.mapControl1.MinZoomLevel = 10D; this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(463, 450); this.mapControl1.TabIndex = 0; this.mapControl1.ZoomLevel = 10D; // // treeMapControl1 // this.treeMapControl1.Appearance.GroupStyle.TextGlowColor = System.Drawing.Color.Empty; this.treeMapControl1.Appearance.HighlightedLeafStyle.FillStyle = hatchFillStyle1; this.treeMapControl1.Appearance.SelectedLeafStyle.FillStyle = hatchFillStyle2; this.treeMapControl1.Location = new System.Drawing.Point(12, 12); this.treeMapControl1.Name = "treeMapControl1"; this.treeMapControl1.Size = new System.Drawing.Size(319, 426); this.treeMapControl1.TabIndex = 1; // // SeoulMap // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.treeMapControl1); this.Controls.Add(this.mapControl1); this.Name = "SeoulMap"; this.Text = "SeoulMap"; ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.treeMapControl1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraMap.ImageLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.MiniMap miniMap1 = new DevExpress.XtraMap.MiniMap(); DevExpress.XtraMap.FixedMiniMapBehavior fixedMiniMapBehavior1 = new DevExpress.XtraMap.FixedMiniMapBehavior(); DevExpress.XtraMap.MiniMapImageTilesLayer miniMapImageTilesLayer1 = new DevExpress.XtraMap.MiniMapImageTilesLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider2 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.MiniMapVectorItemsLayer miniMapVectorItemsLayer1 = new DevExpress.XtraMap.MiniMapVectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.CenterPoint = new DevExpress.XtraMap.GeoPoint(45D, 18D); this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; bingMapDataProvider1.BingKey = "YOUR_BING_MAPS_KEY"; imageTilesLayer1.DataProvider = bingMapDataProvider1; this.mapControl1.Layers.Add(imageTilesLayer1); this.mapControl1.Location = new System.Drawing.Point(0, 0); miniMap1.Alignment = DevExpress.XtraMap.MiniMapAlignment.BottomRight; fixedMiniMapBehavior1.CenterPoint = new DevExpress.XtraMap.GeoPoint(45D, 18D); miniMap1.Behavior = fixedMiniMapBehavior1; bingMapDataProvider2.BingKey = "YOUR BING MAPS KEY"; miniMapImageTilesLayer1.DataProvider = bingMapDataProvider2; miniMapVectorItemsLayer1.Data = mapItemStorage1; miniMap1.Layers.Add(miniMapImageTilesLayer1); miniMap1.Layers.Add(miniMapVectorItemsLayer1); this.mapControl1.MiniMap = miniMap1; this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(645, 406); this.mapControl1.TabIndex = 0; this.mapControl1.ZoomLevel = 4D; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(645, 406); this.Controls.Add(this.mapControl1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraMap.MiniMap miniMap1 = new DevExpress.XtraMap.MiniMap(); DevExpress.XtraMap.DynamicMiniMapBehavior dynamicMiniMapBehavior1 = new DevExpress.XtraMap.DynamicMiniMapBehavior(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); this.miniMapImageTilesLayer1 = new DevExpress.XtraMap.MiniMapImageTilesLayer(); this.mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); this.miniMapVectorItemsLayer1 = new DevExpress.XtraMap.MiniMapVectorItemsLayer(); this.bingMapDataProvider2 = new DevExpress.XtraMap.BingMapDataProvider(); this.ımageLayer1 = new DevExpress.XtraMap.ImageLayer(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.Layers.Add(this.ımageLayer1); this.mapControl1.Location = new System.Drawing.Point(0, 0); miniMap1.Behavior = dynamicMiniMapBehavior1; miniMap1.Height = 10; miniMap1.Layers.Add(this.miniMapImageTilesLayer1); miniMap1.Layers.Add(this.miniMapVectorItemsLayer1); miniMap1.Width = 10; this.mapControl1.MiniMap = miniMap1; this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(813, 291); this.mapControl1.TabIndex = 0; this.bingMapDataProvider1.BingKey = "YOUR BING MAPS KEY"; this.miniMapImageTilesLayer1.DataProvider = this.bingMapDataProvider1; this.miniMapVectorItemsLayer1.Data = this.mapItemStorage1; this.bingMapDataProvider2.BingKey = "YOUR BING MAPS KEY"; this.ımageLayer1.DataProvider = this.bingMapDataProvider2; // // FrmHaritalar // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(813, 291); this.Controls.Add(this.mapControl1); this.Name = "FrmHaritalar"; this.Text = "FrmHaritalar"; ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraMap.ImageLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.MiniMap miniMap1 = new DevExpress.XtraMap.MiniMap(); DevExpress.XtraMap.DynamicMiniMapBehavior dynamicMiniMapBehavior1 = new DevExpress.XtraMap.DynamicMiniMapBehavior(); DevExpress.XtraMap.MiniMapImageTilesLayer miniMapImageTilesLayer1 = new DevExpress.XtraMap.MiniMapImageTilesLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider2 = new DevExpress.XtraMap.BingMapDataProvider(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.propertyGrid = new System.Windows.Forms.PropertyGrid(); this.cbBehavior = new System.Windows.Forms.ComboBox(); this.cbAlignment = new System.Windows.Forms.ComboBox(); this.mapControl = new DevExpress.XtraMap.MapControl(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); this.SuspendLayout(); // // layoutControl1 // this.layoutControl1.Controls.Add(this.propertyGrid); this.layoutControl1.Controls.Add(this.cbBehavior); this.layoutControl1.Controls.Add(this.cbAlignment); this.layoutControl1.Controls.Add(this.mapControl); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.OptionsPrint.AppearanceGroupCaption.BackColor = System.Drawing.Color.LightGray; this.layoutControl1.OptionsPrint.AppearanceGroupCaption.Font = new System.Drawing.Font("Tahoma", 10.25F); this.layoutControl1.OptionsPrint.AppearanceGroupCaption.Options.UseBackColor = true; this.layoutControl1.OptionsPrint.AppearanceGroupCaption.Options.UseFont = true; this.layoutControl1.OptionsPrint.AppearanceGroupCaption.Options.UseTextOptions = true; this.layoutControl1.OptionsPrint.AppearanceGroupCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.layoutControl1.OptionsPrint.AppearanceGroupCaption.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.layoutControl1.OptionsPrint.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControl1.OptionsPrint.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.layoutControl1.OptionsPrint.AppearanceItemCaption.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(1001, 684); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // propertyGrid // this.propertyGrid.Location = new System.Drawing.Point(709, 78); this.propertyGrid.Name = "propertyGrid"; this.propertyGrid.Size = new System.Drawing.Size(280, 594); this.propertyGrid.TabIndex = 7; // // cbBehavior // this.cbBehavior.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbBehavior.FormattingEnabled = true; this.cbBehavior.Location = new System.Drawing.Point(854, 37); this.cbBehavior.Name = "cbBehavior"; this.cbBehavior.Size = new System.Drawing.Size(135, 21); this.cbBehavior.TabIndex = 6; this.cbBehavior.SelectedIndexChanged += new System.EventHandler(this.cbBehavior_SelectedIndexChanged); // // cbAlignment // this.cbAlignment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbAlignment.FormattingEnabled = true; this.cbAlignment.Location = new System.Drawing.Point(854, 12); this.cbAlignment.Name = "cbAlignment"; this.cbAlignment.Size = new System.Drawing.Size(135, 21); this.cbAlignment.TabIndex = 5; this.cbAlignment.SelectedIndexChanged += new System.EventHandler(this.cbAlignment_SelectedIndexChanged); // // mapControl // bingMapDataProvider1.BingKey = "Your Bing Key Here"; imageTilesLayer1.DataProvider = bingMapDataProvider1; this.mapControl.Layers.Add(imageTilesLayer1); this.mapControl.Location = new System.Drawing.Point(12, 12); miniMap1.Behavior = dynamicMiniMapBehavior1; miniMap1.Height = 240; bingMapDataProvider2.BingKey = "Your Bing Key Here"; miniMapImageTilesLayer1.DataProvider = bingMapDataProvider2; miniMap1.Layers.Add(miniMapImageTilesLayer1); miniMap1.Width = 320; this.mapControl.MiniMap = miniMap1; this.mapControl.Name = "mapControl"; this.mapControl.Size = new System.Drawing.Size(693, 660); this.mapControl.TabIndex = 4; // // layoutControlGroup1 // this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2, this.layoutControlItem3, this.layoutControlItem4 }); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Size = new System.Drawing.Size(1001, 684); this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.mapControl; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(697, 664); this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem1.TextVisible = false; // // layoutControlItem2 // this.layoutControlItem2.Control = this.cbAlignment; this.layoutControlItem2.Location = new System.Drawing.Point(697, 0); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(284, 25); this.layoutControlItem2.Text = "Mini Map Alignment:"; this.layoutControlItem2.TextSize = new System.Drawing.Size(142, 13); // // layoutControlItem3 // this.layoutControlItem3.Control = this.cbBehavior; this.layoutControlItem3.Location = new System.Drawing.Point(697, 25); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(284, 25); this.layoutControlItem3.Text = "Mini Map Behavior:"; this.layoutControlItem3.TextSize = new System.Drawing.Size(142, 13); // // layoutControlItem4 // this.layoutControlItem4.Control = this.propertyGrid; this.layoutControlItem4.Location = new System.Drawing.Point(697, 50); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(284, 614); this.layoutControlItem4.Text = "Mini Map Behavior Properties:"; this.layoutControlItem4.TextLocation = DevExpress.Utils.Locations.Top; this.layoutControlItem4.TextSize = new System.Drawing.Size(142, 13); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1001, 684); this.Controls.Add(this.layoutControl1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraMap.KeyColorColorizer keyColorColorizer1 = new DevExpress.XtraMap.KeyColorColorizer(); DevExpress.XtraMap.ArgumentItemKeyProvider argumentItemKeyProvider1 = new DevExpress.XtraMap.ArgumentItemKeyProvider(); DevExpress.XtraMap.ColorizerKeyItem colorizerKeyItem1 = new DevExpress.XtraMap.ColorizerKeyItem(); DevExpress.XtraMap.ColorizerKeyItem colorizerKeyItem2 = new DevExpress.XtraMap.ColorizerKeyItem(); DevExpress.XtraMap.ColorizerKeyItem colorizerKeyItem3 = new DevExpress.XtraMap.ColorizerKeyItem(); DevExpress.XtraMap.ColorizerKeyItem colorizerKeyItem4 = new DevExpress.XtraMap.ColorizerKeyItem(); DevExpress.XtraMap.ColorizerKeyItem colorizerKeyItem5 = new DevExpress.XtraMap.ColorizerKeyItem(); DevExpress.XtraMap.MapItemAttributeMapping mapItemAttributeMapping1 = new DevExpress.XtraMap.MapItemAttributeMapping(); DevExpress.XtraMap.MeasureRules measureRules1 = new DevExpress.XtraMap.MeasureRules(); DevExpress.XtraMap.LinearRangeDistribution linearRangeDistribution1 = new DevExpress.XtraMap.LinearRangeDistribution(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); DevExpress.XtraMap.ColorListLegend colorListLegend1 = new DevExpress.XtraMap.ColorListLegend(); DevExpress.XtraMap.MiniMap miniMap1 = new DevExpress.XtraMap.MiniMap(); DevExpress.XtraMap.DynamicMiniMapBehavior dynamicMiniMapBehavior1 = new DevExpress.XtraMap.DynamicMiniMapBehavior(); this.vectorItemsLayer2 = new DevExpress.XtraMap.VectorItemsLayer(); this.pieChartDataAdapter1 = new DevExpress.XtraMap.PieChartDataAdapter(); this.miniMapImageTilesLayer1 = new DevExpress.XtraMap.MiniMapImageTilesLayer(); this.openStreetMapDataProvider1 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.chkMiniMap = new DevExpress.XtraBars.BarCheckItem(); this.chkShowNavPanel = new DevExpress.XtraBars.BarCheckItem(); this.chkNavigation = new DevExpress.XtraBars.BarCheckItem(); this.bbiZoomIn = new DevExpress.XtraBars.BarButtonItem(); this.bbiZoomOut = new DevExpress.XtraBars.BarButtonItem(); this.bbiInitialView = new DevExpress.XtraBars.BarButtonItem(); this.barCheckItem1 = new DevExpress.XtraBars.BarCheckItem(); this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); this.shapefileDataAdapter1 = new DevExpress.XtraMap.ShapefileDataAdapter(); ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // vectorItemsLayer2 // keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(93)))), ((int)(((byte)(106)))))); keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(65)))), ((int)(((byte)(124)))), ((int)(((byte)(217)))))); keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(221)))), ((int)(((byte)(116)))))); keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(103)))), ((int)(((byte)(191)))), ((int)(((byte)(88)))))); keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(104)))), ((int)(((byte)(195)))))); keyColorColorizer1.ItemKeyProvider = argumentItemKeyProvider1; colorizerKeyItem1.Key = "Gases"; colorizerKeyItem1.Name = "Gases"; colorizerKeyItem2.Key = "Nuclear"; colorizerKeyItem2.Name = "Nuclear"; colorizerKeyItem3.Key = "Petroleum Products"; colorizerKeyItem3.Name = "Petroleum Products"; colorizerKeyItem4.Key = "Renewables"; colorizerKeyItem4.Name = "Renewables"; colorizerKeyItem5.Key = "Solid Fuels"; colorizerKeyItem5.Name = "Solid Fuels"; keyColorColorizer1.Keys.Add(colorizerKeyItem1); keyColorColorizer1.Keys.Add(colorizerKeyItem2); keyColorColorizer1.Keys.Add(colorizerKeyItem3); keyColorColorizer1.Keys.Add(colorizerKeyItem4); keyColorColorizer1.Keys.Add(colorizerKeyItem5); this.vectorItemsLayer2.Colorizer = keyColorColorizer1; this.vectorItemsLayer2.Data = this.pieChartDataAdapter1; this.vectorItemsLayer2.Name = "ChartLayer"; this.vectorItemsLayer2.ToolTipPattern = "{Country}\n\n%A0%: %V0:n2%\n%A1%: %V1:n2%\n%A2%: %V2:n2%\n%A3%: %V3:n2%\n%A4%: %V4:n2%"; // // pieChartDataAdapter1 // mapItemAttributeMapping1.Member = "Country"; mapItemAttributeMapping1.Name = "Country"; mapItemAttributeMapping1.ValueType = DevExpress.XtraMap.FieldValueType.String; this.pieChartDataAdapter1.AttributeMappings.Add(mapItemAttributeMapping1); this.pieChartDataAdapter1.ItemMaxSize = 25; this.pieChartDataAdapter1.Mappings.PieSegment = "EnergyType"; this.pieChartDataAdapter1.Mappings.Value = "Production"; this.pieChartDataAdapter1.Mappings.XCoordinate = "Longitude"; this.pieChartDataAdapter1.Mappings.YCoordinate = "Latitude"; measureRules1.RangeDistribution = linearRangeDistribution1; measureRules1.RangeStops.Add(1D); measureRules1.RangeStops.Add(10D); measureRules1.RangeStops.Add(25D); measureRules1.RangeStops.Add(50D); measureRules1.RangeStops.Add(100D); measureRules1.RangeStops.Add(150D); this.pieChartDataAdapter1.MeasureRules = measureRules1; this.pieChartDataAdapter1.PieItemDataMember = "Country"; // // miniMapImageTilesLayer1 // this.miniMapImageTilesLayer1.DataProvider = this.openStreetMapDataProvider1; // // ribbonControl1 // this.ribbonControl1.ExpandCollapseItem.Id = 0; this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.ribbonControl1.ExpandCollapseItem, this.chkMiniMap, this.chkShowNavPanel, this.chkNavigation, this.bbiZoomIn, this.bbiZoomOut, this.bbiInitialView, this.barCheckItem1 }); this.ribbonControl1.Location = new System.Drawing.Point(0, 0); this.ribbonControl1.MaxItemId = 7; this.ribbonControl1.Name = "ribbonControl1"; this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.ribbonPage1 }); this.ribbonControl1.Size = new System.Drawing.Size(1101, 143); // // chkMiniMap // this.chkMiniMap.Caption = "Show Minimap"; this.chkMiniMap.Glyph = ((System.Drawing.Image)(resources.GetObject("chkMiniMap.Glyph"))); this.chkMiniMap.Id = 1; this.chkMiniMap.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("chkMiniMap.LargeGlyph"))); this.chkMiniMap.Name = "chkMiniMap"; this.chkMiniMap.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowMiniMap_CheckedChanged); // // chkShowNavPanel // this.chkShowNavPanel.BindableChecked = true; this.chkShowNavPanel.Caption = "Show Navigation Panel"; this.chkShowNavPanel.Checked = true; this.chkShowNavPanel.Glyph = ((System.Drawing.Image)(resources.GetObject("chkShowNavPanel.Glyph"))); this.chkShowNavPanel.Id = 2; this.chkShowNavPanel.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("chkShowNavPanel.LargeGlyph"))); this.chkShowNavPanel.Name = "chkShowNavPanel"; this.chkShowNavPanel.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowNavPanel_CheckedChanged); // // chkNavigation // this.chkNavigation.Caption = "Lock Navigation"; this.chkNavigation.Glyph = ((System.Drawing.Image)(resources.GetObject("chkNavigation.Glyph"))); this.chkNavigation.Id = 3; this.chkNavigation.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("chkNavigation.LargeGlyph"))); this.chkNavigation.Name = "chkNavigation"; this.chkNavigation.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkLockNavigation_CheckedChanged); // // bbiZoomIn // this.bbiZoomIn.Caption = "Zoom In"; this.bbiZoomIn.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiZoomIn.Glyph"))); this.bbiZoomIn.Id = 4; this.bbiZoomIn.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiZoomIn.LargeGlyph"))); this.bbiZoomIn.Name = "bbiZoomIn"; this.bbiZoomIn.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiZoomIn_ItemClick); // // bbiZoomOut // this.bbiZoomOut.Caption = "Zoom Out"; this.bbiZoomOut.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiZoomOut.Glyph"))); this.bbiZoomOut.Id = 5; this.bbiZoomOut.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiZoomOut.LargeGlyph"))); this.bbiZoomOut.Name = "bbiZoomOut"; this.bbiZoomOut.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiZoomOut_ItemClick); // // bbiInitialView // this.bbiInitialView.Caption = "Initial View"; this.bbiInitialView.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiInitialView.Glyph"))); this.bbiInitialView.Id = 6; this.bbiInitialView.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiInitialView.LargeGlyph"))); this.bbiInitialView.Name = "bbiInitialView"; this.bbiInitialView.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiInitialView_ItemClick); // // barCheckItem1 // this.barCheckItem1.BindableChecked = true; this.barCheckItem1.Caption = "Legend"; this.barCheckItem1.Checked = true; this.barCheckItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("barCheckItem1.Glyph"))); this.barCheckItem1.Id = 6; this.barCheckItem1.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barCheckItem1.LargeGlyph"))); this.barCheckItem1.Name = "barCheckItem1"; this.barCheckItem1.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.barCheckItem1_CheckedChanged); // // ribbonPage1 // this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup2, this.ribbonPageGroup1 }); this.ribbonPage1.Name = "ribbonPage1"; this.ribbonPage1.Text = "Options"; // // ribbonPageGroup2 // this.ribbonPageGroup2.ItemLinks.Add(this.bbiInitialView); this.ribbonPageGroup2.ItemLinks.Add(this.chkShowNavPanel); this.ribbonPageGroup2.ItemLinks.Add(this.chkNavigation); this.ribbonPageGroup2.ItemLinks.Add(this.chkMiniMap); this.ribbonPageGroup2.ItemLinks.Add(this.bbiZoomIn); this.ribbonPageGroup2.ItemLinks.Add(this.bbiZoomOut); this.ribbonPageGroup2.Name = "ribbonPageGroup2"; this.ribbonPageGroup2.Text = "View"; // // ribbonPageGroup1 // this.ribbonPageGroup1.ItemLinks.Add(this.barCheckItem1); this.ribbonPageGroup1.Name = "ribbonPageGroup1"; // // mapControl1 // this.mapControl1.CenterPoint = new DevExpress.XtraMap.GeoPoint(50D, -7D); this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.Layers.Add(this.vectorItemsLayer1); this.mapControl1.Layers.Add(this.vectorItemsLayer2); colorListLegend1.Header = "Europe energy production"; colorListLegend1.Layer = this.vectorItemsLayer2; this.mapControl1.Legends.Add(colorListLegend1); this.mapControl1.Location = new System.Drawing.Point(0, 143); miniMap1.Alignment = DevExpress.XtraMap.MiniMapAlignment.BottomRight; miniMap1.Behavior = dynamicMiniMapBehavior1; miniMap1.Layers.Add(this.miniMapImageTilesLayer1); miniMap1.Visible = false; this.mapControl1.MiniMap = miniMap1; this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(1101, 580); this.mapControl1.TabIndex = 0; this.mapControl1.ZoomLevel = 3D; // // vectorItemsLayer1 // this.vectorItemsLayer1.Data = this.shapefileDataAdapter1; this.vectorItemsLayer1.EnableHighlighting = false; this.vectorItemsLayer1.EnableSelection = false; this.vectorItemsLayer1.Name = "ShapeLayer"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1101, 723); this.Controls.Add(this.mapControl1); this.Controls.Add(this.ribbonControl1); this.Name = "Form1"; this.Ribbon = this.ribbonControl1; this.Text = "Map project"; ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraMap.MiniMap miniMap1 = new DevExpress.XtraMap.MiniMap(); DevExpress.XtraMap.DynamicMiniMapBehavior dynamicMiniMapBehavior1 = new DevExpress.XtraMap.DynamicMiniMapBehavior(); this.miniMapImageTilesLayer1 = new DevExpress.XtraMap.MiniMapImageTilesLayer(); this.miniMapVectorItemsLayer1 = new DevExpress.XtraMap.MiniMapVectorItemsLayer(); this.mainRibbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.bbiSave = new DevExpress.XtraBars.BarButtonItem(); this.bbiSaveAndClose = new DevExpress.XtraBars.BarButtonItem(); this.bbiSaveAndNew = new DevExpress.XtraBars.BarButtonItem(); this.bbiReset = new DevExpress.XtraBars.BarButtonItem(); this.bbiDelete = new DevExpress.XtraBars.BarButtonItem(); this.bbiClose = new DevExpress.XtraBars.BarButtonItem(); this.mainRibbonPage = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.mainRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.galleryDropDown1 = new DevExpress.XtraBars.Ribbon.GalleryDropDown(this.components); this.bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); this.mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.informationLayer2 = new DevExpress.XtraMap.InformationLayer(); this.bingRouteDataProvider1 = new DevExpress.XtraMap.BingRouteDataProvider(); this.imageLayer1 = new DevExpress.XtraMap.ImageLayer(); this.bingMapDataProvider2 = new DevExpress.XtraMap.BingMapDataProvider(); this.informationLayer1 = new DevExpress.XtraMap.InformationLayer(); this.bingElevationDataProvider1 = new DevExpress.XtraMap.BingElevationDataProvider(); ((System.ComponentModel.ISupportInitialize)(this.mainRibbonControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.galleryDropDown1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mainRibbonControl // this.mainRibbonControl.ExpandCollapseItem.Id = 0; this.mainRibbonControl.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.mainRibbonControl.ExpandCollapseItem, this.mainRibbonControl.SearchEditItem, this.bbiSave, this.bbiSaveAndClose, this.bbiSaveAndNew, this.bbiReset, this.bbiDelete, this.bbiClose }); this.mainRibbonControl.Location = new System.Drawing.Point(0, 0); this.mainRibbonControl.MaxItemId = 10; this.mainRibbonControl.Name = "mainRibbonControl"; this.mainRibbonControl.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.mainRibbonPage }); this.mainRibbonControl.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2013; this.mainRibbonControl.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; this.mainRibbonControl.Size = new System.Drawing.Size(800, 116); this.mainRibbonControl.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; // // bbiSave // this.bbiSave.Caption = "Save"; this.bbiSave.Id = 2; this.bbiSave.ImageOptions.ImageUri.Uri = "Save"; this.bbiSave.Name = "bbiSave"; // // bbiSaveAndClose // this.bbiSaveAndClose.Caption = "Save And Close"; this.bbiSaveAndClose.Id = 3; this.bbiSaveAndClose.ImageOptions.ImageUri.Uri = "SaveAndClose"; this.bbiSaveAndClose.Name = "bbiSaveAndClose"; // // bbiSaveAndNew // this.bbiSaveAndNew.Caption = "Save And New"; this.bbiSaveAndNew.Id = 4; this.bbiSaveAndNew.ImageOptions.ImageUri.Uri = "SaveAndNew"; this.bbiSaveAndNew.Name = "bbiSaveAndNew"; // // bbiReset // this.bbiReset.Caption = "Reset Changes"; this.bbiReset.Id = 5; this.bbiReset.ImageOptions.ImageUri.Uri = "Reset"; this.bbiReset.Name = "bbiReset"; // // bbiDelete // this.bbiDelete.Caption = "Delete"; this.bbiDelete.Id = 6; this.bbiDelete.ImageOptions.ImageUri.Uri = "Delete"; this.bbiDelete.Name = "bbiDelete"; // // bbiClose // this.bbiClose.Caption = "Close"; this.bbiClose.Id = 7; this.bbiClose.ImageOptions.ImageUri.Uri = "Close"; this.bbiClose.Name = "bbiClose"; // // mainRibbonPage // this.mainRibbonPage.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.mainRibbonPageGroup }); this.mainRibbonPage.MergeOrder = 0; this.mainRibbonPage.Name = "mainRibbonPage"; this.mainRibbonPage.Text = "Home"; // // mainRibbonPageGroup // this.mainRibbonPageGroup.AllowTextClipping = false; this.mainRibbonPageGroup.ItemLinks.Add(this.bbiSave); this.mainRibbonPageGroup.ItemLinks.Add(this.bbiSaveAndClose); this.mainRibbonPageGroup.ItemLinks.Add(this.bbiSaveAndNew); this.mainRibbonPageGroup.ItemLinks.Add(this.bbiReset); this.mainRibbonPageGroup.ItemLinks.Add(this.bbiDelete); this.mainRibbonPageGroup.ItemLinks.Add(this.bbiClose); this.mainRibbonPageGroup.Name = "mainRibbonPageGroup"; this.mainRibbonPageGroup.ShowCaptionButton = false; this.mainRibbonPageGroup.Text = "Tasks"; // // galleryDropDown1 // this.galleryDropDown1.Name = "galleryDropDown1"; this.galleryDropDown1.Ribbon = this.mainRibbonControl; this.bingMapDataProvider1.BingKey = "YOUR BING MAPS KEY"; // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl1.Layers.Add(this.informationLayer2); this.mapControl1.Layers.Add(this.imageLayer1); this.mapControl1.Layers.Add(this.informationLayer1); this.mapControl1.Location = new System.Drawing.Point(0, 116); miniMap1.Behavior = dynamicMiniMapBehavior1; miniMap1.Layers.Add(this.miniMapImageTilesLayer1); miniMap1.Layers.Add(this.miniMapVectorItemsLayer1); this.mapControl1.MiniMap = miniMap1; this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(800, 484); this.mapControl1.TabIndex = 3; this.informationLayer2.DataProvider = this.bingRouteDataProvider1; this.bingRouteDataProvider1.BingKey = "TXTsRuAN6El7U9nZPZUN~4mI-RxXABLCzRtRW-5mAtA~AmKuEx0GSgM1jnfBRujI_krflTlNF5Zt0QR_K" + "tqsHmBlYE9KnpmOQ_gtNXDG_Koo"; this.imageLayer1.DataProvider = this.bingMapDataProvider2; this.bingMapDataProvider2.BingKey = "TXTsRuAN6El7U9nZPZUN~4mI-RxXABLCzRtRW-5mAtA~AmKuEx0GSgM1jnfBRujI_krflTlNF5Zt0QR_K" + "tqsHmBlYE9KnpmOQ_gtNXDG_Koo"; this.bingMapDataProvider2.Kind = DevExpress.XtraMap.BingMapKind.Road; this.informationLayer1.DataProvider = this.bingElevationDataProvider1; this.bingElevationDataProvider1.BingKey = "TXTsRuAN6El7U9nZPZUN~4mI-RxXABLCzRtRW-5mAtA~AmKuEx0GSgM1jnfBRujI_krflTlNF5Zt0QR_K" + "tqsHmBlYE9KnpmOQ_gtNXDG_Koo"; // // XtraUserControl2 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoValidate = System.Windows.Forms.AutoValidate.EnableAllowFocusChange; this.Controls.Add(this.mapControl1); this.Controls.Add(this.mainRibbonControl); this.Name = "XtraUserControl2"; this.Size = new System.Drawing.Size(800, 600); ((System.ComponentModel.ISupportInitialize)(this.mainRibbonControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.galleryDropDown1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraMap.ImageTilesLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageTilesLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.InformationLayer informationLayer1 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingGeocodeDataProvider bingGeocodeDataProvider1 = new DevExpress.XtraMap.BingGeocodeDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer2 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage2 = new DevExpress.XtraMap.MapItemStorage(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer3 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage3 = new DevExpress.XtraMap.MapItemStorage(); DevExpress.XtraMap.MapPushpin mapPushpin1 = new DevExpress.XtraMap.MapPushpin(); DevExpress.XtraMap.MiniMap miniMap1 = new DevExpress.XtraMap.MiniMap(); DevExpress.XtraMap.FixedMiniMapBehavior fixedMiniMapBehavior1 = new DevExpress.XtraMap.FixedMiniMapBehavior(); DevExpress.XtraMap.MiniMapImageTilesLayer miniMapImageTilesLayer1 = new DevExpress.XtraMap.MiniMapImageTilesLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider2 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.MiniMapVectorItemsLayer miniMapVectorItemsLayer1 = new DevExpress.XtraMap.MiniMapVectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage4 = new DevExpress.XtraMap.MapItemStorage(); DevExpress.Utils.ContextButton contextButton1 = new DevExpress.Utils.ContextButton(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MapView)); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.flyoutPanel1 = new DevExpress.Utils.FlyoutPanel(); this.flyoutPanelControl1 = new DevExpress.Utils.FlyoutPanelControl(); this.flyoutPanel2 = new DevExpress.Utils.FlyoutPanel(); this.flyoutPanelControl2 = new DevExpress.Utils.FlyoutPanelControl(); this.geoLocationControl1 = new GeoLocationControl(); this.popupViewer1 = new PopupViewer(); this.galleryGridControl = new DevExpress.XtraGrid.GridControl(); this.galleryView = new DevExpress.XtraGrid.Views.WinExplorer.WinExplorerView(); this.toolTipController1 = new DevExpress.Utils.ToolTipController(this.components); this.standaloneBarDockControl1 = new DevExpress.XtraBars.StandaloneBarDockControl(); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar1 = new DevExpress.XtraBars.Bar(); this.bcVisibleInViewPort = new DevExpress.XtraBars.BarCheckItem(); this.bcNotGeotagged = new DevExpress.XtraBars.BarCheckItem(); this.bcAllItems = new DevExpress.XtraBars.BarCheckItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanel1)).BeginInit(); this.flyoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanelControl1)).BeginInit(); this.flyoutPanelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanel2)).BeginInit(); this.flyoutPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanelControl2)).BeginInit(); this.flyoutPanelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.galleryGridControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.galleryView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.CenterPoint = new DevExpress.XtraMap.GeoPoint(47.5D, 2D); this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; bingMapDataProvider1.BingKey = "AmSNFwVzMvaqFlCYQx9RRUfcAwSQCzi_Vcesric6JFQuBO9wZFXEsqzili-INaUA"; bingMapDataProvider1.Kind = DevExpress.XtraMap.BingMapKind.Area; imageTilesLayer1.DataProvider = bingMapDataProvider1; imageTilesLayer1.Name = "TilesLayer"; informationLayer1.DataProvider = bingGeocodeDataProvider1; informationLayer1.Name = "InformationLayer"; informationLayer1.Visible = false; vectorItemsLayer1.Data = mapItemStorage1; vectorItemsLayer1.ItemStyle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); vectorItemsLayer1.Name = "ItemsLayer"; vectorItemsLayer2.Data = mapItemStorage2; vectorItemsLayer2.Name = "ItemsDetailLayer"; mapItemStorage3.Items.Add(mapPushpin1); vectorItemsLayer3.Data = mapItemStorage3; vectorItemsLayer3.Name = "PushpinLayer"; vectorItemsLayer3.Visible = false; this.mapControl1.Layers.Add(imageTilesLayer1); this.mapControl1.Layers.Add(informationLayer1); this.mapControl1.Layers.Add(vectorItemsLayer1); this.mapControl1.Layers.Add(vectorItemsLayer2); this.mapControl1.Layers.Add(vectorItemsLayer3); this.mapControl1.Location = new System.Drawing.Point(0, 0); miniMap1.Alignment = DevExpress.XtraMap.MiniMapAlignment.TopLeft; fixedMiniMapBehavior1.ZoomLevel = 0.5D; miniMap1.Behavior = fixedMiniMapBehavior1; miniMap1.Height = 256; miniMapImageTilesLayer1.DataProvider = bingMapDataProvider2; miniMapImageTilesLayer1.Name = "ImageTilesLayer"; miniMapVectorItemsLayer1.Data = mapItemStorage4; miniMapVectorItemsLayer1.ItemStyle.Fill = System.Drawing.Color.Red; miniMapVectorItemsLayer1.ItemStyle.Stroke = System.Drawing.Color.White; miniMapVectorItemsLayer1.ItemStyle.StrokeWidth = 2; miniMapVectorItemsLayer1.Name = "DataLayer"; miniMap1.Layers.Add(miniMapImageTilesLayer1); miniMap1.Layers.Add(miniMapVectorItemsLayer1); miniMap1.Width = 256; this.mapControl1.MiniMap = miniMap1; this.mapControl1.MinZoomLevel = 2D; this.mapControl1.Name = "mapControl1"; this.mapControl1.SelectionMode = DevExpress.XtraMap.ElementSelectionMode.Single; this.mapControl1.Size = new System.Drawing.Size(768, 634); this.mapControl1.TabIndex = 1; this.mapControl1.ZoomLevel = 3D; this.mapControl1.SelectionChanged += new DevExpress.XtraMap.MapSelectionChangedEventHandler(this.mapControl1_SelectionChanged); this.mapControl1.Click += new System.EventHandler(this.mapControl1_Click); this.mapControl1.DoubleClick += new System.EventHandler(this.mapControl1_DoubleClick); // // timer1 // this.timer1.Interval = 2000; // // splitContainerControl1 // this.splitContainerControl1.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel2; this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; this.splitContainerControl1.Location = new System.Drawing.Point(0, 0); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.flyoutPanel1); this.splitContainerControl1.Panel1.Controls.Add(this.mapControl1); this.splitContainerControl1.Panel1.Text = "Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.galleryGridControl); this.splitContainerControl1.Panel2.Controls.Add(this.standaloneBarDockControl1); this.splitContainerControl1.Panel2.Text = "Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(1230, 634); this.splitContainerControl1.SplitterPosition = 457; this.splitContainerControl1.TabIndex = 16; this.splitContainerControl1.Text = "splitContainerControl1"; // // flyoutPanel1 // this.flyoutPanel1.Controls.Add(this.flyoutPanelControl1); this.flyoutPanel1.Location = new System.Drawing.Point(36, 46); this.flyoutPanel1.Name = "flyoutPanel1"; this.flyoutPanel1.Size = new System.Drawing.Size(689, 519); this.flyoutPanel1.TabIndex = 2; // // flyoutPanelControl1 // this.flyoutPanelControl1.Controls.Add(this.flyoutPanel2); this.flyoutPanelControl1.Controls.Add(this.popupViewer1); this.flyoutPanelControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.flyoutPanelControl1.FlyoutPanel = this.flyoutPanel1; this.flyoutPanelControl1.Location = new System.Drawing.Point(0, 0); this.flyoutPanelControl1.Name = "flyoutPanelControl1"; this.flyoutPanelControl1.Size = new System.Drawing.Size(689, 519); this.flyoutPanelControl1.TabIndex = 0; // // flyoutPanel2 // this.flyoutPanel2.Controls.Add(this.flyoutPanelControl2); this.flyoutPanel2.Location = new System.Drawing.Point(22, 16); this.flyoutPanel2.Name = "flyoutPanel2"; this.flyoutPanel2.Size = new System.Drawing.Size(321, 212); this.flyoutPanel2.TabIndex = 3; // // flyoutPanelControl2 // this.flyoutPanelControl2.Controls.Add(this.geoLocationControl1); this.flyoutPanelControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.flyoutPanelControl2.FlyoutPanel = this.flyoutPanel2; this.flyoutPanelControl2.Location = new System.Drawing.Point(0, 0); this.flyoutPanelControl2.Name = "flyoutPanelControl2"; this.flyoutPanelControl2.Size = new System.Drawing.Size(321, 212); this.flyoutPanelControl2.TabIndex = 0; // // geoLocationControl1 // this.geoLocationControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.geoLocationControl1.File = null; this.geoLocationControl1.GeoPoint = null; this.geoLocationControl1.Location = new System.Drawing.Point(2, 2); this.geoLocationControl1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.geoLocationControl1.Name = "geoLocationControl1"; this.geoLocationControl1.Size = new System.Drawing.Size(317, 208); this.geoLocationControl1.TabIndex = 0; this.geoLocationControl1.CancelClick += new System.EventHandler(this.geoLocationControl1_CancelClick); this.geoLocationControl1.OkClick += new System.EventHandler(this.geoLocationControl1_OkClick); // // popupViewer1 // this.popupViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.popupViewer1.Files = null; this.popupViewer1.Location = new System.Drawing.Point(2, 2); this.popupViewer1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.popupViewer1.Name = "popupViewer1"; this.popupViewer1.Size = new System.Drawing.Size(685, 515); this.popupViewer1.TabIndex = 0; this.popupViewer1.CloseClick += new System.EventHandler(this.popupViewer1_CloseClick); // // galleryGridControl // this.galleryGridControl.Dock = System.Windows.Forms.DockStyle.Fill; this.galleryGridControl.Location = new System.Drawing.Point(0, 31); this.galleryGridControl.MainView = this.galleryView; this.galleryGridControl.Name = "galleryGridControl"; this.galleryGridControl.Size = new System.Drawing.Size(457, 603); this.galleryGridControl.TabIndex = 0; this.galleryGridControl.ToolTipController = this.toolTipController1; this.galleryGridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.galleryView }); // // galleryView // this.galleryView.ContextButtonOptions.TopPanelColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.galleryView.ContextButtonOptions.TopPanelPadding = new System.Windows.Forms.Padding(2); contextButton1.Alignment = DevExpress.Utils.ContextItemAlignment.TopFar; contextButton1.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.True; contextButton1.AppearanceHover.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); contextButton1.AppearanceHover.ForeColor = System.Drawing.Color.White; contextButton1.AppearanceHover.Options.UseBackColor = true; contextButton1.AppearanceHover.Options.UseForeColor = true; contextButton1.AppearanceNormal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); contextButton1.AppearanceNormal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); contextButton1.AppearanceNormal.Options.UseBackColor = true; contextButton1.AppearanceNormal.Options.UseForeColor = true; contextButton1.Glyph = ((System.Drawing.Image)(resources.GetObject("contextButton1.Glyph"))); contextButton1.Id = new System.Guid("6e91aeed-9ae6-403f-bc67-28e3c343e593"); contextButton1.Name = "GeoEditingButton"; contextButton1.Visibility = DevExpress.Utils.ContextItemVisibility.Hidden; this.galleryView.ContextButtons.Add(contextButton1); this.galleryView.GridControl = this.galleryGridControl; this.galleryView.Name = "galleryView"; this.galleryView.OptionsImageLoad.AsyncLoad = true; this.galleryView.OptionsImageLoad.CacheThumbnails = false; this.galleryView.OptionsSelection.AllowMarqueeSelection = true; this.galleryView.OptionsSelection.ItemSelectionMode = DevExpress.XtraGrid.Views.WinExplorer.IconItemSelectionMode.Click; this.galleryView.OptionsSelection.MultiSelect = true; this.galleryView.OptionsView.ContentHorizontalAlignment = DevExpress.Utils.HorzAlignment.Center; this.galleryView.OptionsView.ImageLayoutMode = DevExpress.Utils.Drawing.ImageLayoutMode.ZoomOutside; this.galleryView.OptionsView.ItemHoverBordersShowMode = DevExpress.XtraGrid.WinExplorer.ItemHoverBordersShowMode.Always; this.galleryView.OptionsView.Style = DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewStyle.ExtraLarge; this.galleryView.OptionsViewStyles.ExtraLarge.HorizontalIndent = 5; this.galleryView.OptionsViewStyles.ExtraLarge.VerticalIndent = 5; this.galleryView.ItemClick += new DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewItemClickEventHandler(this.galleryView_ItemClick); this.galleryView.ContextButtonClick += new DevExpress.Utils.ContextItemClickEventHandler(this.galleryView_ContextButtonClick); this.galleryView.GetThumbnailImage += new DevExpress.Utils.ThumbnailImageEventHandler(this.galleryView_GetThumbnailImage); this.galleryView.CustomDrawItem += new DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewCustomDrawItemEventHandler(this.galleryView_CustomDrawItem); this.galleryView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.galleryView_MouseDown); this.galleryView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.galleryView_MouseUp); this.galleryView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.galleryView_MouseMove); this.galleryView.DoubleClick += new System.EventHandler(this.galleryView_DoubleClick); // // standaloneBarDockControl1 // this.standaloneBarDockControl1.AutoSize = true; this.standaloneBarDockControl1.CausesValidation = false; this.standaloneBarDockControl1.Dock = System.Windows.Forms.DockStyle.Top; this.standaloneBarDockControl1.Location = new System.Drawing.Point(0, 0); this.standaloneBarDockControl1.Name = "standaloneBarDockControl1"; this.standaloneBarDockControl1.Size = new System.Drawing.Size(457, 31); this.standaloneBarDockControl1.Text = "standaloneBarDockControl1"; // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1 }); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.DockControls.Add(this.standaloneBarDockControl1); this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.bcVisibleInViewPort, this.bcNotGeotagged, this.bcAllItems }); this.barManager1.MaxItemId = 3; // // bar1 // this.bar1.BarName = "Custom 2"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Standalone; this.bar1.FloatLocation = new System.Drawing.Point(1117, 127); this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.bcVisibleInViewPort), new DevExpress.XtraBars.LinkPersistInfo(this.bcNotGeotagged), new DevExpress.XtraBars.LinkPersistInfo(this.bcAllItems) }); this.bar1.OptionsBar.DrawBorder = false; this.bar1.OptionsBar.UseWholeRow = true; this.bar1.StandaloneBarDockControl = this.standaloneBarDockControl1; this.bar1.Text = "Custom 2"; // // bcVisibleInViewPort // this.bcVisibleInViewPort.BindableChecked = true; this.bcVisibleInViewPort.Caption = "Visible In Viewport"; this.bcVisibleInViewPort.Checked = true; this.bcVisibleInViewPort.GroupIndex = 1; this.bcVisibleInViewPort.Id = 0; this.bcVisibleInViewPort.Name = "bcVisibleInViewPort"; this.bcVisibleInViewPort.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.bcVisibleInViewPort_CheckedChanged); // // bcNotGeotagged // this.bcNotGeotagged.Caption = "Not Geotagged"; this.bcNotGeotagged.GroupIndex = 1; this.bcNotGeotagged.Id = 1; this.bcNotGeotagged.Name = "bcNotGeotagged"; this.bcNotGeotagged.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.bcNotGeotagged_CheckedChanged); // // bcAllItems // this.bcAllItems.Caption = "All Photos"; this.bcAllItems.GroupIndex = 1; this.bcAllItems.Id = 2; this.bcAllItems.Name = "bcAllItems"; this.bcAllItems.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.bcAllItems_CheckedChanged); // // barDockControlTop // this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(1230, 0); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 634); this.barDockControlBottom.Size = new System.Drawing.Size(1230, 0); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 0); this.barDockControlLeft.Size = new System.Drawing.Size(0, 634); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(1230, 0); this.barDockControlRight.Size = new System.Drawing.Size(0, 634); // // MapView // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); this.Name = "MapView"; this.Size = new System.Drawing.Size(1230, 634); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanel1)).EndInit(); this.flyoutPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanelControl1)).EndInit(); this.flyoutPanelControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanel2)).EndInit(); this.flyoutPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.flyoutPanelControl2)).EndInit(); this.flyoutPanelControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.galleryGridControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.galleryView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraMap.ImageTilesLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageTilesLayer(); DevExpress.XtraMap.OpenStreetMapDataProvider openStreetMapDataProvider1 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.SqlGeometryDataAdapter sqlGeometryDataAdapter1 = new DevExpress.XtraMap.SqlGeometryDataAdapter(); DevExpress.XtraMap.MiniMap miniMap1 = new DevExpress.XtraMap.MiniMap(); DevExpress.XtraMap.DynamicMiniMapBehavior dynamicMiniMapBehavior1 = new DevExpress.XtraMap.DynamicMiniMapBehavior(); DevExpress.XtraMap.MiniMapImageTilesLayer miniMapImageTilesLayer1 = new DevExpress.XtraMap.MiniMapImageTilesLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.MiniMapVectorItemsLayer miniMapVectorItemsLayer1 = new DevExpress.XtraMap.MiniMapVectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); this.mcMap = new DevExpress.XtraMap.MapControl(); this.itmMap = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LayoutControl)).BeginInit(); this.LayoutControl.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.LayoutGroup)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ValidationProvider)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.RibbonControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mcMap)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.itmMap)).BeginInit(); this.SuspendLayout(); // // LayoutControl // this.LayoutControl.Controls.Add(this.mcMap); this.LayoutControl.OptionsFocus.AllowFocusControlOnActivatedTabPage = true; this.LayoutControl.OptionsPrint.AppearanceGroupCaption.BackColor = System.Drawing.Color.LightGray; this.LayoutControl.OptionsPrint.AppearanceGroupCaption.Font = new System.Drawing.Font("Tahoma", 10.25F); this.LayoutControl.OptionsPrint.AppearanceGroupCaption.Options.UseBackColor = true; this.LayoutControl.OptionsPrint.AppearanceGroupCaption.Options.UseFont = true; this.LayoutControl.OptionsPrint.AppearanceGroupCaption.Options.UseTextOptions = true; this.LayoutControl.OptionsPrint.AppearanceGroupCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.LayoutControl.OptionsPrint.AppearanceGroupCaption.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.LayoutControl.OptionsPrint.AppearanceItemCaption.Options.UseTextOptions = true; this.LayoutControl.OptionsPrint.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.LayoutControl.OptionsPrint.AppearanceItemCaption.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; // // LayoutGroup // this.LayoutGroup.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.itmMap }); // // RibbonControl // this.RibbonControl.ExpandCollapseItem.Id = 0; // // mcMap // imageTilesLayer1.DataProvider = openStreetMapDataProvider1; sqlGeometryDataAdapter1.ConnectionString = "Data Source=.;Initial Catalog=cds_pegasus;Persist Security Info=True;User ID=sa;P" + "assword=rabbit"; sqlGeometryDataAdapter1.SpatialDataMember = "geometry"; sqlGeometryDataAdapter1.SqlText = "SELECT [Id],[section],[description],[geometry],[geography] FROM [dbo].[RPT_MapLay" + "out]"; vectorItemsLayer1.Data = sqlGeometryDataAdapter1; this.mcMap.Layers.Add(imageTilesLayer1); this.mcMap.Layers.Add(vectorItemsLayer1); this.mcMap.Location = new System.Drawing.Point(12, 12); miniMap1.Behavior = dynamicMiniMapBehavior1; bingMapDataProvider1.BingKey = "YOUR BING MAPS KEY"; miniMapImageTilesLayer1.DataProvider = bingMapDataProvider1; miniMapVectorItemsLayer1.Data = mapItemStorage1; miniMap1.Layers.Add(miniMapImageTilesLayer1); miniMap1.Layers.Add(miniMapVectorItemsLayer1); this.mcMap.MiniMap = miniMap1; this.mcMap.Name = "mcMap"; this.mcMap.Size = new System.Drawing.Size(972, 553); this.mcMap.TabIndex = 4; // // itmMap // this.itmMap.Control = this.mcMap; this.itmMap.CustomizationFormText = "Map"; this.itmMap.Location = new System.Drawing.Point(0, 0); this.itmMap.Name = "itmMap"; this.itmMap.Size = new System.Drawing.Size(976, 557); this.itmMap.Text = "Map"; this.itmMap.TextSize = new System.Drawing.Size(0, 0); this.itmMap.TextVisible = false; // // MapForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1008, 729); this.Name = "MapForm"; ((System.ComponentModel.ISupportInitialize)(this.BindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LayoutControl)).EndInit(); this.LayoutControl.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.LayoutGroup)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ValidationProvider)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.RibbonControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mcMap)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.itmMap)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }