/// <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(); this.map = new DevExpress.XtraMap.MapControl(); ((System.ComponentModel.ISupportInitialize)(this.map)).BeginInit(); this.SuspendLayout(); // // map // this.map.CenterPoint = new DevExpress.XtraMap.GeoPoint(50D, 15D); this.map.Dock = System.Windows.Forms.DockStyle.Fill; bingMapDataProvider1.BingKey = "ArkltQGWJNw9HECSqyiYk_Jfbz6U6wZLas18vN-1mtGC6RsyQmuSYLlFv3ZP4_lK"; imageTilesLayer1.DataProvider = bingMapDataProvider1; this.map.Layers.Add(imageTilesLayer1); this.map.Location = new System.Drawing.Point(0, 0); this.map.Name = "map"; this.map.NavigationPanelOptions.Visible = false; this.map.Size = new System.Drawing.Size(640, 360); this.map.TabIndex = 0; this.map.ZoomLevel = 4D; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(640, 360); this.Controls.Add(this.map); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.map)).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.InformationLayer informationLayer1 = new DevExpress.XtraMap.InformationLayer(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; bingMapDataProvider1.BingKey = "YOUR BING KEY HERE"; imageTilesLayer1.DataProvider = bingMapDataProvider1; informationLayer1.Name = "GeocodeLayer"; this.mapControl1.Layers.Add(imageTilesLayer1); this.mapControl1.Layers.Add(informationLayer1); this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(526, 342); this.mapControl1.TabIndex = 0; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(526, 342); 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.ImageLayer imageTilesLayer2 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.OpenStreetMapDataProvider openStreetMapDataProvider2 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; imageTilesLayer2.DataProvider = openStreetMapDataProvider2; this.mapControl1.Layers.Add(imageTilesLayer2); this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(929, 486); this.mapControl1.TabIndex = 0; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(929, 486); this.Controls.Add(this.mapControl1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((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.OpenStreetMapDataProvider openStreetMapDataProvider1 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.CenterPoint = new DevExpress.XtraMap.GeoPoint(55D, 25D); this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; imageTilesLayer1.DataProvider = openStreetMapDataProvider1; this.mapControl1.Layers.Add(imageTilesLayer1); this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(906, 520); this.mapControl1.TabIndex = 0; this.mapControl1.ZoomLevel = 6D; // // progressBar1 // this.progressBar1.Location = new System.Drawing.Point(12, 12); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(146, 23); this.progressBar1.TabIndex = 1; this.progressBar1.Visible = false; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(41, 40); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(80, 13); this.label1.TabIndex = 2; this.label1.Text = "Loading Data..."; this.label1.Visible = false; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(906, 520); this.Controls.Add(this.label1); this.Controls.Add(this.progressBar1); this.Controls.Add(this.mapControl1); this.Name = "Form1"; this.Text = "Form1"; ((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.ImageLayer imageLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.OpenStreetMapDataProvider openStreetMapDataProvider1 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); DevExpress.XtraMap.InformationLayer informationLayer1 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingRouteDataProvider bingRouteDataProvider1 = new DevExpress.XtraMap.BingRouteDataProvider(); this.mapControl = new DevExpress.XtraMap.MapControl(); this.splashScreenManager = new DevExpress.XtraSplashScreen.SplashScreenManager(this, typeof(global::ZoomToFitOnRouteCalculated.WaitForm1), true, true); this.defaultLookAndFeel = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).BeginInit(); this.SuspendLayout(); // // mapControl // this.mapControl.Dock = System.Windows.Forms.DockStyle.Fill; imageLayer1.DataProvider = openStreetMapDataProvider1; bingRouteDataProvider1.BingKey = "INSERT_YOUR_BING_KEY"; informationLayer1.DataProvider = bingRouteDataProvider1; informationLayer1.ItemStyle.Stroke = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(114)))), ((int)(((byte)(194))))); informationLayer1.ItemStyle.StrokeWidth = 4; this.mapControl.Layers.Add(imageLayer1); this.mapControl.Layers.Add(informationLayer1); this.mapControl.Location = new System.Drawing.Point(0, 0); this.mapControl.Name = "mapControl"; this.mapControl.Size = new System.Drawing.Size(570, 442); this.mapControl.TabIndex = 0; // // splashScreenManager // this.splashScreenManager.ClosingDelay = 500; // // defaultLookAndFeel // this.defaultLookAndFeel.LookAndFeel.SkinName = "Office 2016 Colorful"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(570, 442); this.Controls.Add(this.mapControl); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).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() { this.components = new System.ComponentModel.Container(); DevExpress.XtraMap.ImageLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.ColorListLegend colorListLegend1 = new DevExpress.XtraMap.ColorListLegend(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.mapControl = new DevExpress.XtraMap.MapControl(); this.imageCollection1 = new DevExpress.Utils.ImageCollection(this.components); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imageCollection1)).BeginInit(); this.SuspendLayout(); // // mapControl // this.mapControl.CenterPoint = new DevExpress.XtraMap.GeoPoint(-33D, 150D); this.mapControl.Dock = System.Windows.Forms.DockStyle.Fill; this.mapControl.ImageList = this.imageCollection1; bingMapDataProvider1.BingKey = "Your Bing Key Here"; imageTilesLayer1.DataProvider = bingMapDataProvider1; this.mapControl.Layers.Add(imageTilesLayer1); this.mapControl.Legends.Add(colorListLegend1); this.mapControl.Location = new System.Drawing.Point(0, 0); this.mapControl.Name = "mapControl"; this.mapControl.Size = new System.Drawing.Size(784, 561); this.mapControl.TabIndex = 0; this.mapControl.ZoomLevel = 6D; // // imageCollection1 // this.imageCollection1.ImageSize = new System.Drawing.Size(40, 40); this.imageCollection1.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imageCollection1.ImageStream"))); this.imageCollection1.Images.SetKeyName(0, "Ship.png"); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(784, 561); this.Controls.Add(this.mapControl); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imageCollection1)).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() { this.components = new System.ComponentModel.Container(); DevExpress.XtraMap.ImageLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.SizeLegend sizeLegend1 = new DevExpress.XtraMap.SizeLegend(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.toolTipController1 = new DevExpress.Utils.ToolTipController(this.components); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Cursor = System.Windows.Forms.Cursors.Default; this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; imageTilesLayer1.DataProvider = bingMapDataProvider1; vectorItemsLayer1.Name = "BubbleLayer"; vectorItemsLayer1.ToolTipPattern = "<b>{Month}.{Day}.{Year}</b>\r\nMagnitude: {Magnitude}\r\nDepth: {Depth}"; this.mapControl1.Layers.Add(imageTilesLayer1); this.mapControl1.Layers.Add(vectorItemsLayer1); sizeLegend1.Header = "Magnitude"; sizeLegend1.Layer = vectorItemsLayer1; this.mapControl1.Legends.Add(sizeLegend1); this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(836, 525); this.mapControl1.TabIndex = 0; this.mapControl1.ToolTipController = this.toolTipController1; // // toolTipController1 // this.toolTipController1.AllowHtmlText = true; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(836, 525); 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.ImageLayer imageLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.WmsDataProvider wmsDataProvider1 = new DevExpress.XtraMap.WmsDataProvider(); this.mapControl = new DevExpress.XtraMap.MapControl(); this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).BeginInit(); this.SuspendLayout(); // // mapControl // wmsDataProvider1.ServerUri = "INSERT_YOUR_SERVER_URI"; imageLayer1.DataProvider = wmsDataProvider1; imageLayer1.Name = "WmsImageLayer"; this.mapControl.Layers.Add(imageLayer1); this.mapControl.Location = new System.Drawing.Point(0, 0); this.mapControl.Name = "mapControl"; this.mapControl.Size = new System.Drawing.Size(700, 700); this.mapControl.TabIndex = 0; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 710); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(35, 13); this.label1.TabIndex = 1; this.label1.Text = "label1"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(700, 732); this.Controls.Add(this.label1); this.Controls.Add(this.mapControl); this.Name = "Form1"; this.Text = "WmsDataProvider"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).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() { DevExpress.XtraMap.ImageLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.OpenStreetMapDataProvider openStreetMapDataProvider1 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.KeyColorColorizer keyColorColorizer1 = new DevExpress.XtraMap.KeyColorColorizer(); DevExpress.XtraMap.ArgumentItemKeyProvider argumentItemKeyProvider1 = new DevExpress.XtraMap.ArgumentItemKeyProvider(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); this.map = new DevExpress.XtraMap.MapControl(); ((System.ComponentModel.ISupportInitialize)(this.map)).BeginInit(); this.SuspendLayout(); // // map // this.map.Dock = System.Windows.Forms.DockStyle.Fill; imageTilesLayer1.DataProvider = openStreetMapDataProvider1; keyColorColorizer1.ItemKeyProvider = argumentItemKeyProvider1; keyColorColorizer1.PredefinedColorSchema = DevExpress.XtraMap.PredefinedColorSchema.Palette; vectorItemsLayer1.Colorizer = keyColorColorizer1; vectorItemsLayer1.Data = mapItemStorage1; vectorItemsLayer1.Name = "VectorLayer"; this.map.Layers.Add(imageTilesLayer1); this.map.Layers.Add(vectorItemsLayer1); this.map.Location = new System.Drawing.Point(0, 0); this.map.Name = "map"; this.map.Size = new System.Drawing.Size(731, 468); this.map.TabIndex = 0; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(731, 468); this.Controls.Add(this.map); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.map)).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.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); this.map = new DevExpress.XtraMap.MapControl(); ((System.ComponentModel.ISupportInitialize)(this.map)).BeginInit(); this.SuspendLayout(); // // map // this.map.CenterPoint = new DevExpress.XtraMap.GeoPoint(42.2D, -106.6D); this.map.Dock = System.Windows.Forms.DockStyle.Fill; imageTilesLayer1.DataProvider = bingMapDataProvider1; vectorItemsLayer1.ItemStyle.Fill = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); vectorItemsLayer1.Name = "VectorLayer"; this.map.Layers.Add(imageTilesLayer1); this.map.Layers.Add(vectorItemsLayer1); this.map.Location = new System.Drawing.Point(0, 0); this.map.Name = "map"; this.map.Size = new System.Drawing.Size(640, 360); this.map.TabIndex = 0; this.map.ZoomLevel = 4D; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(640, 360); this.Controls.Add(this.map); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.map)).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() { this.components = new System.ComponentModel.Container(); DevExpress.XtraMap.ImageLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.OpenStreetMapDataProvider openStreetMapDataProvider1 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; imageTilesLayer1.DataProvider = openStreetMapDataProvider1; this.mapControl1.Layers.Add(imageTilesLayer1); this.mapControl1.Layers.Add(vectorItemsLayer1); this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(828, 561); this.mapControl1.TabIndex = 0; // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(828, 33); this.panel1.TabIndex = 1; // // button1 // this.button1.Dock = System.Windows.Forms.DockStyle.Fill; this.button1.Location = new System.Drawing.Point(0, 0); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(828, 33); this.button1.TabIndex = 1; this.button1.Text = "Update DataSource"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(828, 561); this.Controls.Add(this.panel1); this.Controls.Add(this.mapControl1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit(); this.panel1.ResumeLayout(false); 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.ImageLayer imageTilesLayer3 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider3 = new DevExpress.XtraMap.BingMapDataProvider(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.ddbPrint = new DevExpress.XtraEditors.DropDownButton(); this.ddbExport = new DevExpress.XtraEditors.DropDownButton(); this.mapControl = new DevExpress.XtraMap.MapControl(); this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.cbSizeMode = new System.Windows.Forms.ComboBox(); 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.Root)).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.cbSizeMode); this.layoutControl1.Controls.Add(this.ddbPrint); this.layoutControl1.Controls.Add(this.ddbExport); 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.Root; this.layoutControl1.Size = new System.Drawing.Size(818, 526); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // ddbPrint // this.ddbPrint.Location = new System.Drawing.Point(555, 12); this.ddbPrint.Name = "ddbPrint"; this.ddbPrint.Size = new System.Drawing.Size(116, 22); this.ddbPrint.StyleController = this.layoutControl1; this.ddbPrint.TabIndex = 8; this.ddbPrint.Text = "dropDownButton1"; this.ddbPrint.Click += new System.EventHandler(this.ddbPrint_Click); // // ddbExport // this.ddbExport.Location = new System.Drawing.Point(675, 12); this.ddbExport.Name = "ddbExport"; this.ddbExport.Size = new System.Drawing.Size(131, 22); this.ddbExport.StyleController = this.layoutControl1; this.ddbExport.TabIndex = 5; this.ddbExport.Text = "dropDownButton1"; this.ddbExport.Click += new System.EventHandler(this.ddbExport_Click); // // mapControl // imageTilesLayer3.DataProvider = bingMapDataProvider3; this.mapControl.Layers.Add(imageTilesLayer3); this.mapControl.Location = new System.Drawing.Point(12, 38); this.mapControl.Name = "mapControl"; this.mapControl.Size = new System.Drawing.Size(794, 476); this.mapControl.TabIndex = 4; // // Root // this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.Root.GroupBordersVisible = false; this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2, this.layoutControlItem3, this.layoutControlItem4 }); this.Root.Location = new System.Drawing.Point(0, 0); this.Root.Name = "Root"; this.Root.Size = new System.Drawing.Size(818, 526); this.Root.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.mapControl; this.layoutControlItem1.Location = new System.Drawing.Point(0, 26); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(798, 480); this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem1.TextVisible = false; // // layoutControlItem2 // this.layoutControlItem2.Control = this.ddbExport; this.layoutControlItem2.Location = new System.Drawing.Point(663, 0); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(135, 26); this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem2.TextVisible = false; // // layoutControlItem3 // this.layoutControlItem3.Control = this.ddbPrint; this.layoutControlItem3.Location = new System.Drawing.Point(543, 0); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(120, 26); this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem3.TextVisible = false; // // cbSizeMode // this.cbSizeMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbSizeMode.FormattingEnabled = true; this.cbSizeMode.Location = new System.Drawing.Point(67, 12); this.cbSizeMode.Name = "cbSizeMode"; this.cbSizeMode.Size = new System.Drawing.Size(484, 21); this.cbSizeMode.TabIndex = 9; this.cbSizeMode.SelectedIndexChanged += new System.EventHandler(this.cbSizeMode_SelectedIndexChanged); // // layoutControlItem4 // this.layoutControlItem4.Control = this.cbSizeMode; this.layoutControlItem4.Location = new System.Drawing.Point(0, 0); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(543, 26); this.layoutControlItem4.Text = "Size Mode:"; this.layoutControlItem4.TextSize = new System.Drawing.Size(52, 13); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(818, 526); this.Controls.Add(this.layoutControl1); this.Name = "Form1"; this.Text = "MapControl Printing Exporting Example"; ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Root)).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.ImageLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.OpenStreetMapDataProvider openStreetMapDataProvider1 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); DevExpress.XtraMap.MapRectangle mapRectangle1 = new DevExpress.XtraMap.MapRectangle(); DevExpress.XtraMap.MapRectangle mapRectangle2 = new DevExpress.XtraMap.MapRectangle(); DevExpress.XtraMap.MapRectangle mapRectangle3 = new DevExpress.XtraMap.MapRectangle(); DevExpress.XtraMap.MapRectangle mapRectangle4 = new DevExpress.XtraMap.MapRectangle(); DevExpress.XtraMap.MapRectangle mapRectangle5 = new DevExpress.XtraMap.MapRectangle(); DevExpress.XtraMap.MapRectangle mapRectangle6 = new DevExpress.XtraMap.MapRectangle(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.CenterPoint = new DevExpress.XtraMap.GeoPoint(60D, -100D); this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; imageTilesLayer1.DataProvider = openStreetMapDataProvider1; mapRectangle1.Fill = System.Drawing.Color.Red; mapRectangle1.Height = 300D; mapRectangle1.Location = new DevExpress.XtraMap.GeoPoint(55D, -120D); mapRectangle1.Width = 300D; mapRectangle2.Fill = System.Drawing.Color.Yellow; mapRectangle2.Height = 300D; mapRectangle2.Location = new DevExpress.XtraMap.GeoPoint(45D, -110D); mapRectangle2.Width = 300D; mapRectangle3.Fill = System.Drawing.Color.Lime; mapRectangle3.Height = 300D; mapRectangle3.Location = new DevExpress.XtraMap.GeoPoint(45D, -120D); mapRectangle3.Width = 300D; mapRectangle4.Fill = System.Drawing.Color.Blue; mapRectangle4.Height = 300D; mapRectangle4.Location = new DevExpress.XtraMap.GeoPoint(60D, -110D); mapRectangle4.Width = 300D; mapRectangle5.Fill = System.Drawing.Color.Fuchsia; mapRectangle5.Height = 300D; mapRectangle5.Location = new DevExpress.XtraMap.GeoPoint(60D, -120D); mapRectangle5.Width = 300D; mapRectangle6.Height = 300D; mapRectangle6.Location = new DevExpress.XtraMap.GeoPoint(55D, -110D); mapRectangle6.Width = 300D; mapItemStorage1.Items.Add(mapRectangle1); mapItemStorage1.Items.Add(mapRectangle2); mapItemStorage1.Items.Add(mapRectangle3); mapItemStorage1.Items.Add(mapRectangle4); mapItemStorage1.Items.Add(mapRectangle5); mapItemStorage1.Items.Add(mapRectangle6); vectorItemsLayer1.Data = mapItemStorage1; this.mapControl1.Layers.Add(imageTilesLayer1); this.mapControl1.Layers.Add(vectorItemsLayer1); this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(513, 351); this.mapControl1.TabIndex = 0; this.mapControl1.ZoomLevel = 2D; // // simpleButton1 // this.simpleButton1.Dock = System.Windows.Forms.DockStyle.Top; this.simpleButton1.Location = new System.Drawing.Point(0, 0); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(513, 23); this.simpleButton1.TabIndex = 1; this.simpleButton1.Text = "ExportToImage"; this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(513, 351); this.Controls.Add(this.simpleButton1); 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.ImageLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.cbCoordinateSystem = new System.Windows.Forms.ComboBox(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); this.SuspendLayout(); // // layoutControl1 // this.layoutControl1.Controls.Add(this.cbCoordinateSystem); this.layoutControl1.Controls.Add(this.mapControl1); 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(738, 463); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // 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.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.layoutControlGroup1.Size = new System.Drawing.Size(738, 463); this.layoutControlGroup1.TextVisible = false; // // mapControl1 // bingMapDataProvider1.Kind = DevExpress.XtraMap.BingMapKind.Road; imageTilesLayer1.DataProvider = bingMapDataProvider1; this.mapControl1.Layers.Add(imageTilesLayer1); this.mapControl1.Location = new System.Drawing.Point(2, 27); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(734, 434); this.mapControl1.TabIndex = 4; // // layoutControlItem1 // this.layoutControlItem1.Control = this.mapControl1; this.layoutControlItem1.Location = new System.Drawing.Point(0, 25); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(738, 438); this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem1.TextVisible = false; // // cbCoordinateSystem // this.cbCoordinateSystem.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbCoordinateSystem.FormattingEnabled = true; this.cbCoordinateSystem.Location = new System.Drawing.Point(101, 2); this.cbCoordinateSystem.Name = "cbCoordinateSystem"; this.cbCoordinateSystem.Size = new System.Drawing.Size(635, 21); this.cbCoordinateSystem.TabIndex = 5; this.cbCoordinateSystem.SelectedIndexChanged += new System.EventHandler(this.cbCoordinateSystem_SelectedIndexChanged); // // layoutControlItem2 // this.layoutControlItem2.Control = this.cbCoordinateSystem; this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(738, 25); this.layoutControlItem2.Text = "Coordinate System:"; this.layoutControlItem2.TextSize = new System.Drawing.Size(95, 13); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(738, 463); 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.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).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() { this.components = new System.ComponentModel.Container(); DevExpress.XtraMap.ImageLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider1 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); 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.SizeLegend sizeLegend1 = new DevExpress.XtraMap.SizeLegend(); DevExpress.XtraMap.ColorListLegend colorListLegend1 = new DevExpress.XtraMap.ColorListLegend(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.toolTipController1 = new DevExpress.Utils.ToolTipController(this.components); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; imageTilesLayer1.DataProvider = bingMapDataProvider1; keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(207)))), ((int)(((byte)(98)))))); keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(181)))), ((int)(((byte)(188)))))); keyColorColorizer1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(152)))), ((int)(((byte)(118)))))); keyColorColorizer1.ItemKeyProvider = argumentItemKeyProvider1; colorizerKeyItem1.Key = 1; colorizerKeyItem1.Name = "Gold"; colorizerKeyItem2.Key = 2; colorizerKeyItem2.Name = "Silver"; colorizerKeyItem3.Key = 3; colorizerKeyItem3.Name = "Bronze"; keyColorColorizer1.Keys.Add(colorizerKeyItem1); keyColorColorizer1.Keys.Add(colorizerKeyItem2); keyColorColorizer1.Keys.Add(colorizerKeyItem3); vectorItemsLayer1.Colorizer = keyColorColorizer1; vectorItemsLayer1.Name = "PieLayer"; vectorItemsLayer1.ToolTipPattern = "<b>%A%</b>\r\nGold: %V0%\r\nSilver: %V1%\r\nBronze: %V2%\r\nTotal: %V%\""; this.mapControl1.Layers.Add(imageTilesLayer1); this.mapControl1.Layers.Add(vectorItemsLayer1); sizeLegend1.Header = "Medal Count"; sizeLegend1.Layer = vectorItemsLayer1; colorListLegend1.Header = "Medal Class"; colorListLegend1.Layer = vectorItemsLayer1; this.mapControl1.Legends.Add(sizeLegend1); this.mapControl1.Legends.Add(colorListLegend1); this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(717, 441); this.mapControl1.TabIndex = 0; this.mapControl1.ToolTipController = this.toolTipController1; // // toolTipController1 // this.toolTipController1.AllowHtmlText = true; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(717, 441); 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.ImageLayer imageTilesLayer1 = new DevExpress.XtraMap.ImageLayer(); 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.InformationLayer informationLayer2 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingRouteDataProvider bingRouteDataProvider1 = new DevExpress.XtraMap.BingRouteDataProvider(); DevExpress.XtraMap.InformationLayer informationLayer3 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingSearchDataProvider bingSearchDataProvider1 = new DevExpress.XtraMap.BingSearchDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer1 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage1 = new DevExpress.XtraMap.MapItemStorage(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.bClear = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // this.mapControl1.Dock = System.Windows.Forms.DockStyle.Fill; imageTilesLayer1.DataProvider = bingMapDataProvider1; bingGeocodeDataProvider1.GenerateLayerItems = false; informationLayer1.DataProvider = bingGeocodeDataProvider1; informationLayer1.Name = "GeocodeLayer"; bingRouteDataProvider1.GenerateLayerItems = false; informationLayer2.DataProvider = bingRouteDataProvider1; informationLayer2.Name = "RouteLayer"; bingSearchDataProvider1.GenerateLayerItems = false; informationLayer3.DataProvider = bingSearchDataProvider1; informationLayer3.Name = "SearchLayer"; vectorItemsLayer1.Data = mapItemStorage1; vectorItemsLayer1.EnableHighlighting = false; vectorItemsLayer1.EnableSelection = false; vectorItemsLayer1.Name = "ItemsLayer"; this.mapControl1.Layers.Add(imageTilesLayer1); this.mapControl1.Layers.Add(informationLayer1); this.mapControl1.Layers.Add(informationLayer2); this.mapControl1.Layers.Add(informationLayer3); this.mapControl1.Layers.Add(vectorItemsLayer1); this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(811, 540); this.mapControl1.TabIndex = 0; this.mapControl1.MapItemClick += new DevExpress.XtraMap.MapItemClickEventHandler(this.mapControl1_MapItemClick); // // bClear // this.bClear.Location = new System.Drawing.Point(12, 12); this.bClear.Name = "bClear"; this.bClear.Size = new System.Drawing.Size(75, 23); this.bClear.TabIndex = 1; this.bClear.Text = "Clear"; this.bClear.UseVisualStyleBackColor = true; this.bClear.Click += new System.EventHandler(this.bClear_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(811, 540); this.Controls.Add(this.bClear); 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.ImageLayer imageLayer1 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.WmsDataProvider wmsDataProvider1 = new DevExpress.XtraMap.WmsDataProvider(); this.mapControl = new DevExpress.XtraMap.MapControl(); this.tlLayers = new DevExpress.XtraTreeList.TreeList(); this.tlcName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tlLayers)).BeginInit(); this.SuspendLayout(); // // mapControl // this.mapControl.Dock = System.Windows.Forms.DockStyle.Fill; imageLayer1.DataProvider = wmsDataProvider1; imageLayer1.Name = "WmsLayer"; this.mapControl.Layers.Add(imageLayer1); this.mapControl.Location = new System.Drawing.Point(0, 0); this.mapControl.Name = "mapControl"; this.mapControl.Size = new System.Drawing.Size(582, 601); this.mapControl.TabIndex = 0; // // tlLayers // this.tlLayers.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.tlcName }); this.tlLayers.Cursor = System.Windows.Forms.Cursors.Default; this.tlLayers.Dock = System.Windows.Forms.DockStyle.Right; this.tlLayers.Location = new System.Drawing.Point(582, 0); this.tlLayers.Name = "tlLayers"; this.tlLayers.OptionsBehavior.Editable = false; this.tlLayers.OptionsView.ShowColumns = false; this.tlLayers.Size = new System.Drawing.Size(173, 601); this.tlLayers.TabIndex = 3; this.tlLayers.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.OnFocusedNodeChanged); this.tlLayers.VirtualTreeGetChildNodes += new DevExpress.XtraTreeList.VirtualTreeGetChildNodesEventHandler(this.OnGetChildNodes); this.tlLayers.VirtualTreeGetCellValue += new DevExpress.XtraTreeList.VirtualTreeGetCellValueEventHandler(this.OnGetCellValue); // // tlcName // this.tlcName.Caption = "Layer Name"; this.tlcName.FieldName = "LayerName"; this.tlcName.Name = "tlcName"; this.tlcName.Visible = true; this.tlcName.VisibleIndex = 0; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(755, 601); this.Controls.Add(this.mapControl); this.Controls.Add(this.tlLayers); this.Name = "Form1"; this.Text = "WmsDataProvider"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.mapControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tlLayers)).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 imageTilesLayer3 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.OpenStreetMapDataProvider openStreetMapDataProvider3 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); this.map = new DevExpress.XtraMap.MapControl(); this.cbYCoordinatePattern = new DevExpress.XtraEditors.ComboBoxEdit(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.cbXCoordinatePattern = new DevExpress.XtraEditors.ComboBoxEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.lciXCoordinatePattern = new DevExpress.XtraLayout.LayoutControlItem(); this.lciYCoordinatePattern = new DevExpress.XtraLayout.LayoutControlItem(); this.lciMap = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.map)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbYCoordinatePattern.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cbXCoordinatePattern.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lciXCoordinatePattern)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lciYCoordinatePattern)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lciMap)).BeginInit(); this.SuspendLayout(); // // map // imageTilesLayer3.DataProvider = openStreetMapDataProvider3; this.map.Layers.Add(imageTilesLayer3); this.map.Location = new System.Drawing.Point(4, 28); this.map.Name = "map"; this.map.Size = new System.Drawing.Size(616, 289); this.map.TabIndex = 0; // // cbYCoordinatePattern // this.cbYCoordinatePattern.Location = new System.Drawing.Point(441, 4); this.cbYCoordinatePattern.Name = "cbYCoordinatePattern"; this.cbYCoordinatePattern.Properties.AutoComplete = false; this.cbYCoordinatePattern.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cbYCoordinatePattern.Size = new System.Drawing.Size(179, 20); this.cbYCoordinatePattern.StyleController = this.layoutControl1; this.cbYCoordinatePattern.TabIndex = 1; this.cbYCoordinatePattern.SelectedIndexChanged += new System.EventHandler(this.OnYCoordinatePatternSelectedIndexChanged); // // layoutControl1 // this.layoutControl1.Controls.Add(this.map); this.layoutControl1.Controls.Add(this.cbXCoordinatePattern); this.layoutControl1.Controls.Add(this.cbYCoordinatePattern); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(624, 321); this.layoutControl1.TabIndex = 2; this.layoutControl1.Text = "layoutControl1"; // // cbXCoordinatePattern // this.cbXCoordinatePattern.Location = new System.Drawing.Point(113, 4); this.cbXCoordinatePattern.Name = "cbXCoordinatePattern"; this.cbXCoordinatePattern.Properties.AutoComplete = false; this.cbXCoordinatePattern.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cbXCoordinatePattern.Properties.DropDownRows = 8; this.cbXCoordinatePattern.Size = new System.Drawing.Size(179, 20); this.cbXCoordinatePattern.StyleController = this.layoutControl1; this.cbXCoordinatePattern.TabIndex = 0; this.cbXCoordinatePattern.SelectedIndexChanged += new System.EventHandler(this.OnXCoordinatePatternSelectedIndexChanged); // // layoutControlGroup1 // this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.lciXCoordinatePattern, this.lciYCoordinatePattern, this.lciMap }); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2); this.layoutControlGroup1.Size = new System.Drawing.Size(624, 321); this.layoutControlGroup1.TextVisible = false; // // lciXCoordinatePattern // this.lciXCoordinatePattern.Control = this.cbXCoordinatePattern; this.lciXCoordinatePattern.Location = new System.Drawing.Point(0, 0); this.lciXCoordinatePattern.Name = "lciXCoordinatePattern"; this.lciXCoordinatePattern.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 20, 2, 2); this.lciXCoordinatePattern.Size = new System.Drawing.Size(310, 24); this.lciXCoordinatePattern.Text = "X-Coordinate Pattern:"; this.lciXCoordinatePattern.TextSize = new System.Drawing.Size(106, 13); // // lciYCoordinatePattern // this.lciYCoordinatePattern.Control = this.cbYCoordinatePattern; this.lciYCoordinatePattern.Location = new System.Drawing.Point(310, 0); this.lciYCoordinatePattern.Name = "lciYCoordinatePattern"; this.lciYCoordinatePattern.Padding = new DevExpress.XtraLayout.Utils.Padding(20, 2, 2, 2); this.lciYCoordinatePattern.Size = new System.Drawing.Size(310, 24); this.lciYCoordinatePattern.Text = "Y-Coordinate Pattern:"; this.lciYCoordinatePattern.TextSize = new System.Drawing.Size(106, 13); // // lciMap // this.lciMap.Control = this.map; this.lciMap.Location = new System.Drawing.Point(0, 24); this.lciMap.Name = "lciMap"; this.lciMap.Size = new System.Drawing.Size(620, 293); this.lciMap.TextSize = new System.Drawing.Size(0, 0); this.lciMap.TextVisible = false; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(624, 321); this.Controls.Add(this.layoutControl1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.map)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbYCoordinatePattern.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.cbXCoordinatePattern.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lciXCoordinatePattern)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lciYCoordinatePattern)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lciMap)).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 imageTilesLayer2 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.BingMapDataProvider bingMapDataProvider2 = new DevExpress.XtraMap.BingMapDataProvider(); DevExpress.XtraMap.InformationLayer informationLayer2 = new DevExpress.XtraMap.InformationLayer(); DevExpress.XtraMap.BingRouteDataProvider bingRouteDataProvider2 = new DevExpress.XtraMap.BingRouteDataProvider(); DevExpress.XtraMap.VectorItemsLayer vectorItemsLayer2 = new DevExpress.XtraMap.VectorItemsLayer(); DevExpress.XtraMap.MapItemStorage mapItemStorage2 = new DevExpress.XtraMap.MapItemStorage(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.listBox1 = new System.Windows.Forms.ListBox(); this.button1 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.button2 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); this.SuspendLayout(); // // mapControl1 // imageTilesLayer2.DataProvider = bingMapDataProvider2; informationLayer2.DataProvider = bingRouteDataProvider2; vectorItemsLayer2.Data = mapItemStorage2; this.mapControl1.Layers.Add(imageTilesLayer2); this.mapControl1.Layers.Add(informationLayer2); this.mapControl1.Layers.Add(vectorItemsLayer2); this.mapControl1.Location = new System.Drawing.Point(0, 0); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(694, 565); this.mapControl1.TabIndex = 0; this.mapControl1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.mapControl1_MouseDown); // // listBox1 // this.listBox1.FormattingEnabled = true; this.listBox1.Location = new System.Drawing.Point(712, 0); this.listBox1.Name = "listBox1"; this.listBox1.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple; this.listBox1.Size = new System.Drawing.Size(286, 316); this.listBox1.TabIndex = 1; // // button1 // this.button1.Location = new System.Drawing.Point(712, 323); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(286, 24); this.button1.TabIndex = 2; this.button1.Text = "Calculate"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(712, 376); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(35, 13); this.label1.TabIndex = 3; this.label1.Text = "label1"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(712, 405); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(35, 13); this.label2.TabIndex = 4; this.label2.Text = "label2"; // // button2 // this.button2.Location = new System.Drawing.Point(896, 542); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(102, 23); this.button2.TabIndex = 5; this.button2.Text = "Clear"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1010, 577); this.Controls.Add(this.button2); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.button1); this.Controls.Add(this.listBox1); this.Controls.Add(this.mapControl1); this.Name = "Form1"; this.Text = "Form1"; ((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() { DevExpress.XtraMap.ImageLayer imageTilesLayer2 = new DevExpress.XtraMap.ImageLayer(); DevExpress.XtraMap.OpenStreetMapDataProvider openStreetMapDataProvider2 = new DevExpress.XtraMap.OpenStreetMapDataProvider(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.propertyGrid = new System.Windows.Forms.PropertyGrid(); this.lbSegments = new System.Windows.Forms.ListBox(); this.seRotationAngle = new DevExpress.XtraEditors.SpinEdit(); this.lbRotationDirection = new System.Windows.Forms.ListBox(); this.mapControl1 = new DevExpress.XtraMap.MapControl(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.lciRotationDirection = new DevExpress.XtraLayout.LayoutControlItem(); this.lciRotationAngle = new DevExpress.XtraLayout.LayoutControlItem(); this.lciSegments = new DevExpress.XtraLayout.LayoutControlItem(); this.lciSegmentProperties = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.seRotationAngle.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lciRotationDirection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lciRotationAngle)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lciSegments)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lciSegmentProperties)).BeginInit(); this.SuspendLayout(); // // layoutControl1 // this.layoutControl1.Controls.Add(this.propertyGrid); this.layoutControl1.Controls.Add(this.lbSegments); this.layoutControl1.Controls.Add(this.seRotationAngle); this.layoutControl1.Controls.Add(this.lbRotationDirection); this.layoutControl1.Controls.Add(this.mapControl1); 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(718, 454); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // propertyGrid // this.propertyGrid.Location = new System.Drawing.Point(510, 233); this.propertyGrid.Name = "propertyGrid"; this.propertyGrid.Size = new System.Drawing.Size(196, 209); this.propertyGrid.TabIndex = 10; // // lbSegments // this.lbSegments.FormattingEnabled = true; this.lbSegments.Location = new System.Drawing.Point(510, 141); this.lbSegments.Name = "lbSegments"; this.lbSegments.Size = new System.Drawing.Size(196, 69); this.lbSegments.TabIndex = 9; this.lbSegments.SelectedIndexChanged += new System.EventHandler(this.lbSegments_SelectedIndexChanged); // // seRotationAngle // this.seRotationAngle.EditValue = new decimal(new int[] { 0, 0, 0, 0 }); this.seRotationAngle.Location = new System.Drawing.Point(510, 28); this.seRotationAngle.Name = "seRotationAngle"; this.seRotationAngle.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.seRotationAngle.Properties.Increment = new decimal(new int[] { 1, 0, 0, 65536 }); this.seRotationAngle.Properties.MaxValue = new decimal(new int[] { 628, 0, 0, 131072 }); this.seRotationAngle.Size = new System.Drawing.Size(196, 20); this.seRotationAngle.StyleController = this.layoutControl1; this.seRotationAngle.TabIndex = 6; this.seRotationAngle.EditValueChanged += new System.EventHandler(this.seRotationAngle_EditValueChanged); // // lbRotationDirection // this.lbRotationDirection.FormattingEnabled = true; this.lbRotationDirection.Location = new System.Drawing.Point(510, 68); this.lbRotationDirection.Name = "lbRotationDirection"; this.lbRotationDirection.Size = new System.Drawing.Size(196, 43); this.lbRotationDirection.TabIndex = 5; this.lbRotationDirection.SelectedIndexChanged += new System.EventHandler(this.lbRotationDirection_SelectedIndexChanged); // // mapControl1 // imageTilesLayer2.DataProvider = openStreetMapDataProvider2; this.mapControl1.Layers.Add(imageTilesLayer2); this.mapControl1.Location = new System.Drawing.Point(12, 12); this.mapControl1.Name = "mapControl1"; this.mapControl1.Size = new System.Drawing.Size(494, 430); this.mapControl1.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.lciRotationDirection, this.lciRotationAngle, this.lciSegments, this.lciSegmentProperties }); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Size = new System.Drawing.Size(718, 454); this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.mapControl1; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(498, 434); this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem1.TextVisible = false; // // lciRotationDirection // this.lciRotationDirection.Control = this.lbRotationDirection; this.lciRotationDirection.Location = new System.Drawing.Point(498, 40); this.lciRotationDirection.Name = "lciRotationDirection"; this.lciRotationDirection.Size = new System.Drawing.Size(200, 73); this.lciRotationDirection.Text = "Rotation Direction:"; this.lciRotationDirection.TextLocation = DevExpress.Utils.Locations.Top; this.lciRotationDirection.TextSize = new System.Drawing.Size(98, 13); // // lciRotationAngle // this.lciRotationAngle.Control = this.seRotationAngle; this.lciRotationAngle.Location = new System.Drawing.Point(498, 0); this.lciRotationAngle.Name = "lciRotationAngle"; this.lciRotationAngle.Size = new System.Drawing.Size(200, 40); this.lciRotationAngle.Text = "Rotation Angle:"; this.lciRotationAngle.TextLocation = DevExpress.Utils.Locations.Top; this.lciRotationAngle.TextSize = new System.Drawing.Size(98, 13); // // lciSegments // this.lciSegments.Control = this.lbSegments; this.lciSegments.Location = new System.Drawing.Point(498, 113); this.lciSegments.Name = "lciSegments"; this.lciSegments.Size = new System.Drawing.Size(200, 92); this.lciSegments.Text = "Segments:"; this.lciSegments.TextLocation = DevExpress.Utils.Locations.Top; this.lciSegments.TextSize = new System.Drawing.Size(98, 13); // // lciSegmentProperties // this.lciSegmentProperties.Control = this.propertyGrid; this.lciSegmentProperties.Location = new System.Drawing.Point(498, 205); this.lciSegmentProperties.Name = "lciSegmentProperties"; this.lciSegmentProperties.Size = new System.Drawing.Size(200, 229); this.lciSegmentProperties.Text = "Segment Properties:"; this.lciSegmentProperties.TextLocation = DevExpress.Utils.Locations.Top; this.lciSegmentProperties.TextSize = new System.Drawing.Size(98, 13); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(718, 454); 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.seRotationAngle.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lciRotationDirection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lciRotationAngle)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lciSegments)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lciSegmentProperties)).EndInit(); this.ResumeLayout(false); }