Пример #1
0
        private static RenderedLayerDisplayInfo BuildLayerSelector(ViewerControl viewer, CachePackage cachePackage,
                                                                   string basePath, CrunchedFile crunchedFile)
        {
            RenderedLayerDisplayInfo renderedLayerDisplayInfo = new RenderedLayerDisplayInfo();

            renderedLayerDisplayInfo.tsmiList = new List <ToolStripMenuItem>();
            foreach (CrunchedLayer current in crunchedFile.crunchedLayers)
            {
                RenderedLayerSelector renderedLayerSelector = new RenderedLayerSelector(current);
                renderedLayerSelector.viewer     = viewer;
                renderedLayerSelector.menuItem   = new ToolStripMenuItem(current.displayName);
                renderedLayerSelector.tileSource = new RenderedTileSource(cachePackage,
                                                                          new VENamingScheme(Path.Combine(basePath, current.namingScheme.GetFilePrefix()),
                                                                                             current.namingScheme.GetFileSuffix()));
                renderedLayerSelector.menuItem.Tag    = renderedLayerSelector;
                renderedLayerSelector.menuItem.Click += MenuItem_Click;
                renderedLayerDisplayInfo.tsmiList.Add(renderedLayerSelector.menuItem);
            }

            for (int i = 0; i < renderedLayerDisplayInfo.tsmiList.Count; i++)
            {
                ((RenderedLayerSelector)renderedLayerDisplayInfo
                 .tsmiList[renderedLayerDisplayInfo.tsmiList.Count - 1 - i].Tag).ToggleLayer();
            }

            renderedLayerDisplayInfo.defaultView = crunchedFile.crunchedLayers[0].defaultView;
            return(renderedLayerDisplayInfo);
        }
Пример #2
0
		public UIPositionManager(ViewerControl smViewer, ViewerControl veViewer)
		{
			this._smPos = new MapPosition(this);
			this._vePos = new MapPosition(this);
			smViewer.Initialize(new MapPositionDelegate(this.GetSMPos), "Source Map Position");
			veViewer.Initialize(new MapPositionDelegate(this.GetVEPos), "Virtual Earth Position");
			this.smUpdate = smViewer;
			this.veUpdate = veViewer;
			this.slaved = false;
		}
Пример #3
0
 public UIPositionManager(ViewerControl smViewer, ViewerControl veViewer)
 {
     this._smPos = new MapPosition(this);
     this._vePos = new MapPosition(this);
     smViewer.Initialize(new MapPositionDelegate(this.GetSMPos), "Source Map Position");
     veViewer.Initialize(new MapPositionDelegate(this.GetVEPos), "Virtual Earth Position");
     this.smUpdate = smViewer;
     this.veUpdate = veViewer;
     this.slaved   = false;
 }
Пример #4
0
 internal void UpdateOverviewWindow(ViewerControl viewerControl)
 {
     if (this.sourceMap == null)
     {
         return;
     }
     viewerControl.ClearLayers();
     viewerControl.SetBaseLayer(this.mapTileSourceFactory.CreateDisplayableUnwarpedSource(this.sourceMap));
     viewerControl.setPinList(new List <PositionAssociationView>());
 }
Пример #5
0
		public static RenderedLayerDisplayInfo GetLayerSelector(ViewerControl viewer, CachePackage cachePackage)
		{
			OpenFileDialog openFileDialog = new OpenFileDialog();
			openFileDialog.Filter = string.Format("MapCruncher Rendered Layers (*{0})|*{1}{2}", CrunchedFile.CrunchedFilenameExtension, CrunchedFile.CrunchedFilenameExtension, BuildConfig.theConfig.allFilesOption);
			openFileDialog.FilterIndex = 1;
			openFileDialog.RestoreDirectory = true;
			if (openFileDialog.ShowDialog() != DialogResult.OK)
			{
				return null;
			}
			Uri uri = new Uri(openFileDialog.FileName);
			return RenderedLayerSelector.GetLayerSelector(viewer, cachePackage, uri);
		}
Пример #6
0
        public static RenderedLayerDisplayInfo GetLayerSelector(ViewerControl viewer, CachePackage cachePackage)
        {
            OpenFileDialog openFileDialog = new OpenFileDialog();

            openFileDialog.Filter           = string.Format("MapCruncher Rendered Layers (*{0})|*{1}{2}", CrunchedFile.CrunchedFilenameExtension, CrunchedFile.CrunchedFilenameExtension, BuildConfig.theConfig.allFilesOption);
            openFileDialog.FilterIndex      = 1;
            openFileDialog.RestoreDirectory = true;
            if (openFileDialog.ShowDialog() != DialogResult.OK)
            {
                return(null);
            }
            Uri uri = new Uri(openFileDialog.FileName);

            return(RenderedLayerSelector.GetLayerSelector(viewer, cachePackage, uri));
        }
Пример #7
0
		public static RenderedLayerDisplayInfo GetLayerSelector(ViewerControl viewer, CachePackage cachePackage, Uri uri)
		{
			RenderedLayerDisplayInfo result;
			try
			{
				CrunchedFile renderedMashupsFromFile = RenderedLayerSelector.GetRenderedMashupsFromFile(uri);
				D.Assert(uri.IsFile);
				string localPath = uri.LocalPath;
				result = RenderedLayerSelector.BuildLayerSelector(viewer, cachePackage, Path.GetDirectoryName(localPath), renderedMashupsFromFile);
			}
			catch (Exception ex)
			{
				MessageBox.Show(ex.Message, "Error opening crunched file ", MessageBoxButtons.OK, MessageBoxIcon.Hand);
				result = null;
			}
			return result;
		}
Пример #8
0
        public static RenderedLayerDisplayInfo GetLayerSelector(ViewerControl viewer, CachePackage cachePackage, Uri uri)
        {
            RenderedLayerDisplayInfo result;

            try
            {
                CrunchedFile renderedMashupsFromFile = RenderedLayerSelector.GetRenderedMashupsFromFile(uri);
                D.Assert(uri.IsFile);
                string localPath = uri.LocalPath;
                result = RenderedLayerSelector.BuildLayerSelector(viewer, cachePackage, Path.GetDirectoryName(localPath), renderedMashupsFromFile);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error opening crunched file ", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                result = null;
            }
            return(result);
        }
Пример #9
0
 private void InitializeComponent()
 {
     this.viewerControl = new ViewerControl();
     base.SuspendLayout();
     this.viewerControl.Dock     = DockStyle.Fill;
     this.viewerControl.Location = new Point(0, 0);
     this.viewerControl.Name     = "viewerControl";
     this.viewerControl.Size     = new Size(380, 351);
     this.viewerControl.TabIndex = 0;
     base.AutoScaleDimensions    = new SizeF(6f, 13f);
     base.AutoScaleMode          = AutoScaleMode.Font;
     base.ClientSize             = new Size(380, 351);
     base.Controls.Add(this.viewerControl);
     base.FormBorderStyle = FormBorderStyle.SizableToolWindow;
     base.Name            = "SourceMapOverviewWindow";
     this.Text            = "SourceMapOverviewWindow";
     base.TopMost         = true;
     base.ResumeLayout(false);
 }
Пример #10
0
 private void InitializeComponent()
 {
     this.viewerControl = new ViewerControl();
     base.SuspendLayout();
     this.viewerControl.Dock = DockStyle.Fill;
     this.viewerControl.Location = new Point(0, 0);
     this.viewerControl.Name = "viewerControl";
     this.viewerControl.Size = new Size(380, 351);
     this.viewerControl.TabIndex = 0;
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(380, 351);
     base.Controls.Add(this.viewerControl);
     base.FormBorderStyle = FormBorderStyle.SizableToolWindow;
     base.Name = "SourceMapOverviewWindow";
     this.Text = "SourceMapOverviewWindow";
     base.TopMost = true;
     base.ResumeLayout(false);
 }
Пример #11
0
		private static RenderedLayerDisplayInfo BuildLayerSelector(ViewerControl viewer, CachePackage cachePackage, string basePath, CrunchedFile crunchedFile)
		{
			RenderedLayerDisplayInfo renderedLayerDisplayInfo = new RenderedLayerDisplayInfo();
			renderedLayerDisplayInfo.tsmiList = new List<ToolStripMenuItem>();
			foreach (CrunchedLayer current in crunchedFile.crunchedLayers)
			{
				RenderedLayerSelector renderedLayerSelector = new RenderedLayerSelector(current);
				renderedLayerSelector.viewer = viewer;
				renderedLayerSelector.menuItem = new ToolStripMenuItem(current.displayName);
				renderedLayerSelector.tileSource = new RenderedTileSource(cachePackage, new VENamingScheme(Path.Combine(basePath, current.namingScheme.GetFilePrefix()), current.namingScheme.GetFileSuffix()));
				renderedLayerSelector.menuItem.Tag = renderedLayerSelector;
				renderedLayerSelector.menuItem.Click += new EventHandler(RenderedLayerSelector.MenuItem_Click);
				renderedLayerDisplayInfo.tsmiList.Add(renderedLayerSelector.menuItem);
			}
			for (int i = 0; i < renderedLayerDisplayInfo.tsmiList.Count; i++)
			{
				((RenderedLayerSelector)renderedLayerDisplayInfo.tsmiList[renderedLayerDisplayInfo.tsmiList.Count - 1 - i].Tag).ToggleLayer();
			}
			renderedLayerDisplayInfo.defaultView = crunchedFile.crunchedLayers[0].defaultView;
			return renderedLayerDisplayInfo;
		}
Пример #12
0
        private void InitializeComponent()
        {
            this.menuStrip1 = new System.Windows.Forms.MenuStrip();
            this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.newMashupMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.openMashupMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.saveMashupMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.saveMashupAsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.closeMashupMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.addSourceMapMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.addSourceMapFromUriMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
            this.viewRenderedMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.mapOptionsToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
            this.VEroadView = new System.Windows.Forms.ToolStripMenuItem();
            this.VEaerialView = new System.Windows.Forms.ToolStripMenuItem();
            this.VEhybridView = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
            this.showCrosshairsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.showPushPinsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.showDMSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
            this.AddRegLayerMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.showSourceMapOverviewMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.snapFeaturesToolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
            this.restoreSnapViewMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.recordSnapViewMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.restoreSnapZoomMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.recordSnapZoomMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.debugModeToolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
            this.enableDebugModeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.viewMapCruncherTutorialToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
            this.aboutMSRBackMakerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.debugToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.showTileNamesMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.showSourceCropToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.showTileBoundariesMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.showDiagnosticsUIToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.mapSplitContainer = new System.Windows.Forms.SplitContainer();
            this.smViewerControl = new MSR.CVE.BackMaker.ViewerControl();
            this.veViewerControl = new MSR.CVE.BackMaker.ViewerControl();
            this.controlSplitContainer = new System.Windows.Forms.SplitContainer();
            this.panel1 = new System.Windows.Forms.Panel();
            this.RenderLaunchButton = new System.Windows.Forms.Button();
            this.controlsSplitContainer = new System.Windows.Forms.SplitContainer();
            this.layerControls = new MSR.CVE.BackMaker.LayerControls();
            this.synergyExplorer = new System.Windows.Forms.TabControl();
            this.correspondencesTab = new System.Windows.Forms.TabPage();
            this.registrationControls = new MSR.CVE.BackMaker.registrationControls();
            this.transparencyTab = new System.Windows.Forms.TabPage();
            this.transparencyPanel = new MSR.CVE.BackMaker.TransparencyPanel();
            this.sourceInfoTab = new System.Windows.Forms.TabPage();
            this.sourceMapInfoPanel = new MSR.CVE.BackMaker.SourceMapInfoPanel();
            this.legendTabPage = new System.Windows.Forms.TabPage();
            this.legendOptionsPanel1 = new MSR.CVE.BackMaker.LegendOptionsPanel();
            this.menuStrip1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.mapSplitContainer)).BeginInit();
            this.mapSplitContainer.Panel1.SuspendLayout();
            this.mapSplitContainer.Panel2.SuspendLayout();
            this.mapSplitContainer.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.controlSplitContainer)).BeginInit();
            this.controlSplitContainer.Panel1.SuspendLayout();
            this.controlSplitContainer.Panel2.SuspendLayout();
            this.controlSplitContainer.SuspendLayout();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.controlsSplitContainer)).BeginInit();
            this.controlsSplitContainer.Panel1.SuspendLayout();
            this.controlsSplitContainer.Panel2.SuspendLayout();
            this.controlsSplitContainer.SuspendLayout();
            this.synergyExplorer.SuspendLayout();
            this.correspondencesTab.SuspendLayout();
            this.transparencyTab.SuspendLayout();
            this.sourceInfoTab.SuspendLayout();
            this.legendTabPage.SuspendLayout();
            this.SuspendLayout();
            // 
            // menuStrip1
            // 
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.fileToolStripMenuItem,
            this.mapOptionsToolStripMenuItem2,
            this.helpToolStripMenuItem,
            this.debugToolStripMenuItem});
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name = "menuStrip1";
            this.menuStrip1.Size = new System.Drawing.Size(1028, 36);
            this.menuStrip1.TabIndex = 1;
            this.menuStrip1.Text = "menuStrip1";
            // 
            // fileToolStripMenuItem
            // 
            this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.newMashupMenuItem,
            this.openMashupMenuItem,
            this.saveMashupMenuItem,
            this.saveMashupAsMenuItem,
            this.closeMashupMenuItem,
            this.toolStripSeparator1,
            this.addSourceMapMenuItem,
            this.addSourceMapFromUriMenuItem,
            this.toolStripSeparator4,
            this.viewRenderedMenuItem,
            this.toolStripSeparator2,
            this.exitToolStripMenuItem});
            this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            this.fileToolStripMenuItem.Size = new System.Drawing.Size(54, 32);
            this.fileToolStripMenuItem.Text = "&File";
            // 
            // newMashupMenuItem
            // 
            this.newMashupMenuItem.Name = "newMashupMenuItem";
            this.newMashupMenuItem.Size = new System.Drawing.Size(306, 32);
            this.newMashupMenuItem.Text = "&New Mashup";
            this.newMashupMenuItem.Click += new System.EventHandler(this.newMashupMenuItem_Click);
            // 
            // openMashupMenuItem
            // 
            this.openMashupMenuItem.Name = "openMashupMenuItem";
            this.openMashupMenuItem.Size = new System.Drawing.Size(306, 32);
            this.openMashupMenuItem.Text = "&Open Mashup...";
            this.openMashupMenuItem.Click += new System.EventHandler(this.openMashupMenuItem_Click);
            // 
            // saveMashupMenuItem
            // 
            this.saveMashupMenuItem.Enabled = false;
            this.saveMashupMenuItem.Name = "saveMashupMenuItem";
            this.saveMashupMenuItem.Size = new System.Drawing.Size(306, 32);
            this.saveMashupMenuItem.Text = "&Save Mashup";
            this.saveMashupMenuItem.Click += new System.EventHandler(this.saveMashupMenuItem_Click);
            // 
            // saveMashupAsMenuItem
            // 
            this.saveMashupAsMenuItem.Enabled = false;
            this.saveMashupAsMenuItem.Name = "saveMashupAsMenuItem";
            this.saveMashupAsMenuItem.Size = new System.Drawing.Size(306, 32);
            this.saveMashupAsMenuItem.Text = "Save Mashup &As...";
            this.saveMashupAsMenuItem.Click += new System.EventHandler(this.saveMashupAsMenuItem_Click);
            // 
            // closeMashupMenuItem
            // 
            this.closeMashupMenuItem.Enabled = false;
            this.closeMashupMenuItem.Name = "closeMashupMenuItem";
            this.closeMashupMenuItem.Size = new System.Drawing.Size(306, 32);
            this.closeMashupMenuItem.Text = "&Close Mashup";
            this.closeMashupMenuItem.Click += new System.EventHandler(this.closeMashupMenuItem_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(303, 6);
            // 
            // addSourceMapMenuItem
            // 
            this.addSourceMapMenuItem.Enabled = false;
            this.addSourceMapMenuItem.Name = "addSourceMapMenuItem";
            this.addSourceMapMenuItem.Size = new System.Drawing.Size(306, 32);
            this.addSourceMapMenuItem.Text = "Add Source &Map...";
            this.addSourceMapMenuItem.Click += new System.EventHandler(this.addSourceMapMenuItem_Click);
            // 
            // addSourceMapFromUriMenuItem
            // 
            this.addSourceMapFromUriMenuItem.Enabled = false;
            this.addSourceMapFromUriMenuItem.Name = "addSourceMapFromUriMenuItem";
            this.addSourceMapFromUriMenuItem.Size = new System.Drawing.Size(306, 32);
            this.addSourceMapFromUriMenuItem.Text = "Add Map From &Uri...";
            this.addSourceMapFromUriMenuItem.Visible = false;
            this.addSourceMapFromUriMenuItem.Click += new System.EventHandler(this.addSourceMapFromUriMenuItem_Click);
            // 
            // toolStripSeparator4
            // 
            this.toolStripSeparator4.Name = "toolStripSeparator4";
            this.toolStripSeparator4.Size = new System.Drawing.Size(303, 6);
            // 
            // viewRenderedMenuItem
            // 
            this.viewRenderedMenuItem.Name = "viewRenderedMenuItem";
            this.viewRenderedMenuItem.Size = new System.Drawing.Size(306, 32);
            this.viewRenderedMenuItem.Text = "Launch Mashup &Browser...";
            this.viewRenderedMenuItem.Click += new System.EventHandler(this.viewRenderedMenuItem_Click);
            // 
            // toolStripSeparator2
            // 
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(303, 6);
            // 
            // exitToolStripMenuItem
            // 
            this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
            this.exitToolStripMenuItem.Size = new System.Drawing.Size(306, 32);
            this.exitToolStripMenuItem.Text = "E&xit";
            this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
            // 
            // mapOptionsToolStripMenuItem2
            // 
            this.mapOptionsToolStripMenuItem2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.VEroadView,
            this.VEaerialView,
            this.VEhybridView,
            this.toolStripSeparator3,
            this.showCrosshairsMenuItem,
            this.showPushPinsMenuItem,
            this.showDMSMenuItem,
            this.toolStripSeparator8,
            this.AddRegLayerMenuItem,
            this.showSourceMapOverviewMenuItem,
            this.snapFeaturesToolStripSeparator,
            this.restoreSnapViewMenuItem,
            this.recordSnapViewMenuItem,
            this.restoreSnapZoomMenuItem,
            this.recordSnapZoomMenuItem,
            this.debugModeToolStripSeparator,
            this.enableDebugModeToolStripMenuItem});
            this.mapOptionsToolStripMenuItem2.Name = "mapOptionsToolStripMenuItem2";
            this.mapOptionsToolStripMenuItem2.Size = new System.Drawing.Size(65, 32);
            this.mapOptionsToolStripMenuItem2.Text = "&View";
            // 
            // VEroadView
            // 
            this.VEroadView.Name = "VEroadView";
            this.VEroadView.Size = new System.Drawing.Size(334, 32);
            this.VEroadView.Text = "&Roads";
            this.VEroadView.Click += new System.EventHandler(this.roadToolStripMenuItem_Click);
            // 
            // VEaerialView
            // 
            this.VEaerialView.Name = "VEaerialView";
            this.VEaerialView.Size = new System.Drawing.Size(334, 32);
            this.VEaerialView.Text = "&Aerial Photos";
            this.VEaerialView.Click += new System.EventHandler(this.aerialToolStripMenuItem_Click);
            // 
            // VEhybridView
            // 
            this.VEhybridView.Name = "VEhybridView";
            this.VEhybridView.Size = new System.Drawing.Size(334, 32);
            this.VEhybridView.Text = "&Hybrid";
            this.VEhybridView.Click += new System.EventHandler(this.hybridToolStripMenuItem_Click);
            // 
            // toolStripSeparator3
            // 
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(331, 6);
            // 
            // showCrosshairsMenuItem
            // 
            this.showCrosshairsMenuItem.Name = "showCrosshairsMenuItem";
            this.showCrosshairsMenuItem.Size = new System.Drawing.Size(334, 32);
            this.showCrosshairsMenuItem.Text = "Show &Crosshairs";
            // 
            // showPushPinsMenuItem
            // 
            this.showPushPinsMenuItem.Name = "showPushPinsMenuItem";
            this.showPushPinsMenuItem.Size = new System.Drawing.Size(334, 32);
            this.showPushPinsMenuItem.Text = "Show &PushPins";
            // 
            // showDMSMenuItem
            // 
            this.showDMSMenuItem.Name = "showDMSMenuItem";
            this.showDMSMenuItem.Size = new System.Drawing.Size(334, 32);
            this.showDMSMenuItem.Text = "Show locations in d°m\'s\"";
            // 
            // toolStripSeparator8
            // 
            this.toolStripSeparator8.Name = "toolStripSeparator8";
            this.toolStripSeparator8.Size = new System.Drawing.Size(331, 6);
            // 
            // AddRegLayerMenuItem
            // 
            this.AddRegLayerMenuItem.Name = "AddRegLayerMenuItem";
            this.AddRegLayerMenuItem.Size = new System.Drawing.Size(334, 32);
            this.AddRegLayerMenuItem.Text = "Show Rendered &Layer...";
            this.AddRegLayerMenuItem.Click += new System.EventHandler(this.AddRegLayerMenuItem_Click);
            // 
            // showSourceMapOverviewMenuItem
            // 
            this.showSourceMapOverviewMenuItem.Name = "showSourceMapOverviewMenuItem";
            this.showSourceMapOverviewMenuItem.Size = new System.Drawing.Size(334, 32);
            this.showSourceMapOverviewMenuItem.Text = "Show Source Map Overview";
            this.showSourceMapOverviewMenuItem.Click += new System.EventHandler(this.showSourceMapOverviewMenuItem_Click);
            // 
            // snapFeaturesToolStripSeparator
            // 
            this.snapFeaturesToolStripSeparator.Name = "snapFeaturesToolStripSeparator";
            this.snapFeaturesToolStripSeparator.Size = new System.Drawing.Size(331, 6);
            // 
            // restoreSnapViewMenuItem
            // 
            this.restoreSnapViewMenuItem.Name = "restoreSnapViewMenuItem";
            this.restoreSnapViewMenuItem.ShortcutKeyDisplayString = "F5";
            this.restoreSnapViewMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F5;
            this.restoreSnapViewMenuItem.Size = new System.Drawing.Size(334, 32);
            this.restoreSnapViewMenuItem.Text = "Restore SnapView";
            // 
            // recordSnapViewMenuItem
            // 
            this.recordSnapViewMenuItem.Name = "recordSnapViewMenuItem";
            this.recordSnapViewMenuItem.ShortcutKeyDisplayString = "Shift+F5";
            this.recordSnapViewMenuItem.Size = new System.Drawing.Size(334, 32);
            this.recordSnapViewMenuItem.Text = "Record SnapView";
            // 
            // restoreSnapZoomMenuItem
            // 
            this.restoreSnapZoomMenuItem.Name = "restoreSnapZoomMenuItem";
            this.restoreSnapZoomMenuItem.ShortcutKeyDisplayString = "F6";
            this.restoreSnapZoomMenuItem.Size = new System.Drawing.Size(334, 32);
            this.restoreSnapZoomMenuItem.Text = "Restore SnapZoom";
            // 
            // recordSnapZoomMenuItem
            // 
            this.recordSnapZoomMenuItem.Name = "recordSnapZoomMenuItem";
            this.recordSnapZoomMenuItem.ShortcutKeyDisplayString = "Shift+F6";
            this.recordSnapZoomMenuItem.Size = new System.Drawing.Size(334, 32);
            this.recordSnapZoomMenuItem.Text = "Record SnapZoom";
            // 
            // debugModeToolStripSeparator
            // 
            this.debugModeToolStripSeparator.Name = "debugModeToolStripSeparator";
            this.debugModeToolStripSeparator.Size = new System.Drawing.Size(331, 6);
            // 
            // enableDebugModeToolStripMenuItem
            // 
            this.enableDebugModeToolStripMenuItem.Name = "enableDebugModeToolStripMenuItem";
            this.enableDebugModeToolStripMenuItem.Size = new System.Drawing.Size(334, 32);
            this.enableDebugModeToolStripMenuItem.Text = "Enable Debug Mode";
            this.enableDebugModeToolStripMenuItem.Click += new System.EventHandler(this.enableDebugModeToolStripMenuItem_Click);
            // 
            // helpToolStripMenuItem
            // 
            this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.viewMapCruncherTutorialToolStripMenuItem,
            this.toolStripSeparator7,
            this.aboutMSRBackMakerToolStripMenuItem});
            this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
            this.helpToolStripMenuItem.Size = new System.Drawing.Size(65, 32);
            this.helpToolStripMenuItem.Text = "&Help";
            // 
            // viewMapCruncherTutorialToolStripMenuItem
            // 
            this.viewMapCruncherTutorialToolStripMenuItem.Name = "viewMapCruncherTutorialToolStripMenuItem";
            this.viewMapCruncherTutorialToolStripMenuItem.Size = new System.Drawing.Size(536, 32);
            this.viewMapCruncherTutorialToolStripMenuItem.Text = "MapCruncher for Microsoft Virtual Earth Help";
            this.viewMapCruncherTutorialToolStripMenuItem.Click += new System.EventHandler(this.viewMapCruncherTutorialToolStripMenuItem_Click);
            // 
            // toolStripSeparator7
            // 
            this.toolStripSeparator7.Name = "toolStripSeparator7";
            this.toolStripSeparator7.Size = new System.Drawing.Size(533, 6);
            // 
            // aboutMSRBackMakerToolStripMenuItem
            // 
            this.aboutMSRBackMakerToolStripMenuItem.Name = "aboutMSRBackMakerToolStripMenuItem";
            this.aboutMSRBackMakerToolStripMenuItem.Size = new System.Drawing.Size(536, 32);
            this.aboutMSRBackMakerToolStripMenuItem.Text = "&About MapCruncher Beta for Microsoft Virtual Earth";
            this.aboutMSRBackMakerToolStripMenuItem.Click += new System.EventHandler(this.aboutMSRBackMakerToolStripMenuItem_Click);
            // 
            // debugToolStripMenuItem
            // 
            this.debugToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.showTileNamesMenuItem,
            this.showSourceCropToolStripMenuItem,
            this.showTileBoundariesMenuItem,
            this.showDiagnosticsUIToolStripMenuItem});
            this.debugToolStripMenuItem.Name = "debugToolStripMenuItem";
            this.debugToolStripMenuItem.Size = new System.Drawing.Size(83, 32);
            this.debugToolStripMenuItem.Text = "&Debug";
            // 
            // showTileNamesMenuItem
            // 
            this.showTileNamesMenuItem.Name = "showTileNamesMenuItem";
            this.showTileNamesMenuItem.Size = new System.Drawing.Size(269, 32);
            this.showTileNamesMenuItem.Text = "Show Tile &Names";
            // 
            // showSourceCropToolStripMenuItem
            // 
            this.showSourceCropToolStripMenuItem.Name = "showSourceCropToolStripMenuItem";
            this.showSourceCropToolStripMenuItem.Size = new System.Drawing.Size(269, 32);
            this.showSourceCropToolStripMenuItem.Text = "Show Source Crop";
            // 
            // showTileBoundariesMenuItem
            // 
            this.showTileBoundariesMenuItem.Name = "showTileBoundariesMenuItem";
            this.showTileBoundariesMenuItem.Size = new System.Drawing.Size(269, 32);
            this.showTileBoundariesMenuItem.Text = "Show Tile &Boundaries";
            // 
            // showDiagnosticsUIToolStripMenuItem
            // 
            this.showDiagnosticsUIToolStripMenuItem.Name = "showDiagnosticsUIToolStripMenuItem";
            this.showDiagnosticsUIToolStripMenuItem.Size = new System.Drawing.Size(269, 32);
            this.showDiagnosticsUIToolStripMenuItem.Text = "Show DiagnosticsUI";
            this.showDiagnosticsUIToolStripMenuItem.Click += new System.EventHandler(this.showDiagnosticsUIToolStripMenuItem_Click_1);
            // 
            // mapSplitContainer
            // 
            this.mapSplitContainer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.mapSplitContainer.Location = new System.Drawing.Point(3, 3);
            this.mapSplitContainer.Name = "mapSplitContainer";
            // 
            // mapSplitContainer.Panel1
            // 
            this.mapSplitContainer.Panel1.Controls.Add(this.smViewerControl);
            this.mapSplitContainer.Panel1MinSize = 100;
            // 
            // mapSplitContainer.Panel2
            // 
            this.mapSplitContainer.Panel2.Controls.Add(this.veViewerControl);
            this.mapSplitContainer.Panel2MinSize = 100;
            this.mapSplitContainer.Size = new System.Drawing.Size(691, 647);
            this.mapSplitContainer.SplitterDistance = 337;
            this.mapSplitContainer.TabIndex = 6;
            // 
            // smViewerControl
            // 
            this.smViewerControl.Dock = System.Windows.Forms.DockStyle.Fill;
            this.smViewerControl.Location = new System.Drawing.Point(0, 0);
            this.smViewerControl.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.smViewerControl.Name = "smViewerControl";
            this.smViewerControl.Size = new System.Drawing.Size(337, 647);
            this.smViewerControl.TabIndex = 0;
            // 
            // veViewerControl
            // 
            this.veViewerControl.Dock = System.Windows.Forms.DockStyle.Fill;
            this.veViewerControl.Location = new System.Drawing.Point(0, 0);
            this.veViewerControl.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.veViewerControl.Name = "veViewerControl";
            this.veViewerControl.Size = new System.Drawing.Size(350, 647);
            this.veViewerControl.TabIndex = 0;
            // 
            // controlSplitContainer
            // 
            this.controlSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
            this.controlSplitContainer.Location = new System.Drawing.Point(0, 36);
            this.controlSplitContainer.Name = "controlSplitContainer";
            // 
            // controlSplitContainer.Panel1
            // 
            this.controlSplitContainer.Panel1.Controls.Add(this.panel1);
            this.controlSplitContainer.Panel1.Controls.Add(this.controlsSplitContainer);
            // 
            // controlSplitContainer.Panel2
            // 
            this.controlSplitContainer.Panel2.Controls.Add(this.mapSplitContainer);
            this.controlSplitContainer.Size = new System.Drawing.Size(1028, 650);
            this.controlSplitContainer.SplitterDistance = 330;
            this.controlSplitContainer.TabIndex = 7;
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.RenderLaunchButton);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel1.Location = new System.Drawing.Point(0, 608);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(330, 42);
            this.panel1.TabIndex = 9;
            // 
            // RenderLaunchButton
            // 
            this.RenderLaunchButton.Location = new System.Drawing.Point(3, 4);
            this.RenderLaunchButton.Name = "RenderLaunchButton";
            this.RenderLaunchButton.Size = new System.Drawing.Size(125, 30);
            this.RenderLaunchButton.TabIndex = 9;
            this.RenderLaunchButton.Text = "Render...";
            this.RenderLaunchButton.UseVisualStyleBackColor = true;
            this.RenderLaunchButton.Click += new System.EventHandler(this.RenderLaunchButton_Click);
            // 
            // controlsSplitContainer
            // 
            this.controlsSplitContainer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.controlsSplitContainer.Location = new System.Drawing.Point(0, 0);
            this.controlsSplitContainer.Name = "controlsSplitContainer";
            this.controlsSplitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
            // controlsSplitContainer.Panel1
            // 
            this.controlsSplitContainer.Panel1.Controls.Add(this.layerControls);
            // 
            // controlsSplitContainer.Panel2
            // 
            this.controlsSplitContainer.Panel2.Controls.Add(this.synergyExplorer);
            this.controlsSplitContainer.Size = new System.Drawing.Size(327, 606);
            this.controlsSplitContainer.SplitterDistance = 130;
            this.controlsSplitContainer.TabIndex = 8;
            // 
            // layerControls
            // 
            this.layerControls.Dock = System.Windows.Forms.DockStyle.Fill;
            this.layerControls.Location = new System.Drawing.Point(0, 0);
            this.layerControls.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.layerControls.Name = "layerControls";
            this.layerControls.Size = new System.Drawing.Size(327, 130);
            this.layerControls.TabIndex = 10;
            // 
            // synergyExplorer
            // 
            this.synergyExplorer.Controls.Add(this.correspondencesTab);
            this.synergyExplorer.Controls.Add(this.transparencyTab);
            this.synergyExplorer.Controls.Add(this.sourceInfoTab);
            this.synergyExplorer.Controls.Add(this.legendTabPage);
            this.synergyExplorer.Dock = System.Windows.Forms.DockStyle.Fill;
            this.synergyExplorer.Location = new System.Drawing.Point(0, 0);
            this.synergyExplorer.Multiline = true;
            this.synergyExplorer.Name = "synergyExplorer";
            this.synergyExplorer.SelectedIndex = 0;
            this.synergyExplorer.ShowToolTips = true;
            this.synergyExplorer.Size = new System.Drawing.Size(327, 472);
            this.synergyExplorer.TabIndex = 7;
            // 
            // correspondencesTab
            // 
            this.correspondencesTab.Controls.Add(this.registrationControls);
            this.correspondencesTab.Location = new System.Drawing.Point(4, 46);
            this.correspondencesTab.Name = "correspondencesTab";
            this.correspondencesTab.Padding = new System.Windows.Forms.Padding(3);
            this.correspondencesTab.Size = new System.Drawing.Size(319, 422);
            this.correspondencesTab.TabIndex = 1;
            this.correspondencesTab.Text = "Correspondences";
            this.correspondencesTab.UseVisualStyleBackColor = true;
            // 
            // registrationControls
            // 
            this.registrationControls.Dock = System.Windows.Forms.DockStyle.Fill;
            this.registrationControls.Location = new System.Drawing.Point(3, 3);
            this.registrationControls.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.registrationControls.Name = "registrationControls";
            this.registrationControls.Size = new System.Drawing.Size(313, 416);
            this.registrationControls.TabIndex = 9;
            // 
            // transparencyTab
            // 
            this.transparencyTab.Controls.Add(this.transparencyPanel);
            this.transparencyTab.Location = new System.Drawing.Point(4, 46);
            this.transparencyTab.Name = "transparencyTab";
            this.transparencyTab.Size = new System.Drawing.Size(319, 412);
            this.transparencyTab.TabIndex = 4;
            this.transparencyTab.Text = "Transparency";
            this.transparencyTab.UseVisualStyleBackColor = true;
            // 
            // transparencyPanel
            // 
            this.transparencyPanel.Dock = System.Windows.Forms.DockStyle.Fill;
            this.transparencyPanel.Location = new System.Drawing.Point(0, 0);
            this.transparencyPanel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.transparencyPanel.Name = "transparencyPanel";
            this.transparencyPanel.Size = new System.Drawing.Size(319, 412);
            this.transparencyPanel.TabIndex = 0;
            // 
            // sourceInfoTab
            // 
            this.sourceInfoTab.Controls.Add(this.sourceMapInfoPanel);
            this.sourceInfoTab.Location = new System.Drawing.Point(4, 46);
            this.sourceInfoTab.Name = "sourceInfoTab";
            this.sourceInfoTab.Padding = new System.Windows.Forms.Padding(3);
            this.sourceInfoTab.Size = new System.Drawing.Size(319, 412);
            this.sourceInfoTab.TabIndex = 3;
            this.sourceInfoTab.Text = "Source Info";
            this.sourceInfoTab.UseVisualStyleBackColor = true;
            // 
            // sourceMapInfoPanel
            // 
            this.sourceMapInfoPanel.Dock = System.Windows.Forms.DockStyle.Fill;
            this.sourceMapInfoPanel.Location = new System.Drawing.Point(3, 3);
            this.sourceMapInfoPanel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.sourceMapInfoPanel.Name = "sourceMapInfoPanel";
            this.sourceMapInfoPanel.Size = new System.Drawing.Size(313, 406);
            this.sourceMapInfoPanel.TabIndex = 0;
            // 
            // legendTabPage
            // 
            this.legendTabPage.Controls.Add(this.legendOptionsPanel1);
            this.legendTabPage.Location = new System.Drawing.Point(4, 46);
            this.legendTabPage.Name = "legendTabPage";
            this.legendTabPage.Padding = new System.Windows.Forms.Padding(3);
            this.legendTabPage.Size = new System.Drawing.Size(319, 412);
            this.legendTabPage.TabIndex = 5;
            this.legendTabPage.Text = "Legend Options";
            this.legendTabPage.UseVisualStyleBackColor = true;
            // 
            // legendOptionsPanel1
            // 
            this.legendOptionsPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.legendOptionsPanel1.Location = new System.Drawing.Point(3, 3);
            this.legendOptionsPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.legendOptionsPanel1.Name = "legendOptionsPanel1";
            this.legendOptionsPanel1.Size = new System.Drawing.Size(313, 406);
            this.legendOptionsPanel1.TabIndex = 10;
            // 
            // MainAppForm
            // 
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
            this.ClientSize = new System.Drawing.Size(1028, 686);
            this.Controls.Add(this.controlSplitContainer);
            this.Controls.Add(this.menuStrip1);
            this.MainMenuStrip = this.menuStrip1;
            this.Name = "MainAppForm";
            this.Text = "MapCruncher Beta for Microsoft Virtual Earth";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.mapSplitContainer.Panel1.ResumeLayout(false);
            this.mapSplitContainer.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.mapSplitContainer)).EndInit();
            this.mapSplitContainer.ResumeLayout(false);
            this.controlSplitContainer.Panel1.ResumeLayout(false);
            this.controlSplitContainer.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.controlSplitContainer)).EndInit();
            this.controlSplitContainer.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.controlsSplitContainer.Panel1.ResumeLayout(false);
            this.controlsSplitContainer.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.controlsSplitContainer)).EndInit();
            this.controlsSplitContainer.ResumeLayout(false);
            this.synergyExplorer.ResumeLayout(false);
            this.correspondencesTab.ResumeLayout(false);
            this.transparencyTab.ResumeLayout(false);
            this.sourceInfoTab.ResumeLayout(false);
            this.legendTabPage.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }
Пример #13
0
		private void InitializeComponent()
		{
			ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(RenderedMashupViewer));
			this.menuStrip1 = new MenuStrip();
			this.fileToolStripMenuItem = new ToolStripMenuItem();
			this.pageSetupToolStripMenuItem = new ToolStripMenuItem();
			this.printPreviewToolStripMenuItem = new ToolStripMenuItem();
			this.printToolStripMenuItem = new ToolStripMenuItem();
			this.vEBackgroundToolStripMenuItem = new ToolStripMenuItem();
			this.VEroadView = new ToolStripMenuItem();
			this.VEaerialView = new ToolStripMenuItem();
			this.VEhybridView = new ToolStripMenuItem();
			this.mashupLayersMenuItem = new ToolStripMenuItem();
			this.addLayerToolStripMenuItem = new ToolStripMenuItem();
			this.toolStripSeparator1 = new ToolStripSeparator();
			this.viewer = new ViewerControl();
			this.menuStrip1.SuspendLayout();
			base.SuspendLayout();
			this.menuStrip1.Items.AddRange(new ToolStripItem[]
			{
				this.fileToolStripMenuItem,
				this.vEBackgroundToolStripMenuItem,
				this.mashupLayersMenuItem
			});
			this.menuStrip1.Location = new Point(0, 0);
			this.menuStrip1.Name = "menuStrip1";
			this.menuStrip1.Size = new Size(792, 24);
			this.menuStrip1.TabIndex = 0;
			this.menuStrip1.Text = "menuStrip1";
			this.fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[]
			{
				this.pageSetupToolStripMenuItem,
				this.printPreviewToolStripMenuItem,
				this.printToolStripMenuItem
			});
			this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
			this.fileToolStripMenuItem.Size = new Size(35, 20);
			this.fileToolStripMenuItem.Text = "File";
			this.fileToolStripMenuItem.Visible = false;
			this.pageSetupToolStripMenuItem.Name = "pageSetupToolStripMenuItem";
			this.pageSetupToolStripMenuItem.Size = new Size(160, 22);
			this.pageSetupToolStripMenuItem.Text = "Page Setup...";
			this.pageSetupToolStripMenuItem.Click += new EventHandler(this.pageSetupToolStripMenuItem_Click);
			this.printPreviewToolStripMenuItem.Name = "printPreviewToolStripMenuItem";
			this.printPreviewToolStripMenuItem.Size = new Size(160, 22);
			this.printPreviewToolStripMenuItem.Text = "Print Preview...";
			this.printPreviewToolStripMenuItem.Click += new EventHandler(this.printPreviewToolStripMenuItem_Click);
			this.printToolStripMenuItem.Name = "printToolStripMenuItem";
			this.printToolStripMenuItem.Size = new Size(160, 22);
			this.printToolStripMenuItem.Text = "Print...";
			this.printToolStripMenuItem.Click += new EventHandler(this.printToolStripMenuItem_Click);
			this.vEBackgroundToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[]
			{
				this.VEroadView,
				this.VEaerialView,
				this.VEhybridView
			});
			this.vEBackgroundToolStripMenuItem.Name = "vEBackgroundToolStripMenuItem";
			this.vEBackgroundToolStripMenuItem.Size = new Size(90, 20);
			this.vEBackgroundToolStripMenuItem.Text = "VE Background";
			this.VEroadView.Name = "VEroadView";
			this.VEroadView.Size = new Size(148, 22);
			this.VEroadView.Text = "Roads";
			this.VEroadView.Click += new EventHandler(this.VEroadView_Click);
			this.VEaerialView.Name = "VEaerialView";
			this.VEaerialView.Size = new Size(148, 22);
			this.VEaerialView.Text = "Aerial Photos";
			this.VEaerialView.Click += new EventHandler(this.VEaerialView_Click);
			this.VEhybridView.Name = "VEhybridView";
			this.VEhybridView.Size = new Size(148, 22);
			this.VEhybridView.Text = "Hybrid";
			this.VEhybridView.Click += new EventHandler(this.VEhybridView_Click);
			this.mashupLayersMenuItem.DropDownItems.AddRange(new ToolStripItem[]
			{
				this.addLayerToolStripMenuItem,
				this.toolStripSeparator1
			});
			this.mashupLayersMenuItem.Name = "mashupLayersMenuItem";
			this.mashupLayersMenuItem.Size = new Size(91, 20);
			this.mashupLayersMenuItem.Text = "Mashup Layers";
			this.addLayerToolStripMenuItem.Name = "addLayerToolStripMenuItem";
			this.addLayerToolStripMenuItem.Size = new Size(146, 22);
			this.addLayerToolStripMenuItem.Text = "Add Layer...";
			this.addLayerToolStripMenuItem.Click += new EventHandler(this.addLayerToolStripMenuItem_Click);
			this.toolStripSeparator1.Name = "toolStripSeparator1";
			this.toolStripSeparator1.Size = new Size(143, 6);
			this.viewer.Dock = DockStyle.Fill;
			this.viewer.Location = new Point(0, 24);
			this.viewer.Name = "viewer";
			this.viewer.Size = new Size(792, 542);
			this.viewer.TabIndex = 1;
			base.AutoScaleDimensions = new SizeF(6f, 13f);
			//base.AutoScaleMode = AutoScaleMode.Font;
			base.ClientSize = new Size(792, 566);
			base.Controls.Add(this.viewer);
			base.Controls.Add(this.menuStrip1);
			//base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
			base.MainMenuStrip = this.menuStrip1;
			base.Name = "RenderedMashupViewer";
			this.Text = "Mashup Viewer";
			this.menuStrip1.ResumeLayout(false);
			this.menuStrip1.PerformLayout();
			base.ResumeLayout(false);
			base.PerformLayout();
		}
Пример #14
0
 internal void UpdateOverviewWindow(ViewerControl viewerControl)
 {
     if (this.sourceMap == null)
     {
         return;
     }
     viewerControl.ClearLayers();
     viewerControl.SetBaseLayer(this.mapTileSourceFactory.CreateDisplayableUnwarpedSource(this.sourceMap));
     viewerControl.setPinList(new List<PositionAssociationView>());
 }
Пример #15
0
 public DragImageAction(ViewerControl sourceViewer)
 {
     this.sourceViewer = sourceViewer;
 }
Пример #16
0
 public AsyncNotifier(ViewerControl viewerControl)
 {
     this.viewerControl = viewerControl;
     this.generation    = viewerControl.asyncRequestGeneration;
 }
Пример #17
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(RenderedMashupViewer));

            this.menuStrip1                    = new MenuStrip();
            this.fileToolStripMenuItem         = new ToolStripMenuItem();
            this.pageSetupToolStripMenuItem    = new ToolStripMenuItem();
            this.printPreviewToolStripMenuItem = new ToolStripMenuItem();
            this.printToolStripMenuItem        = new ToolStripMenuItem();
            this.vEBackgroundToolStripMenuItem = new ToolStripMenuItem();
            this.VEroadView                    = new ToolStripMenuItem();
            this.VEaerialView                  = new ToolStripMenuItem();
            this.VEhybridView                  = new ToolStripMenuItem();
            this.mashupLayersMenuItem          = new ToolStripMenuItem();
            this.addLayerToolStripMenuItem     = new ToolStripMenuItem();
            this.toolStripSeparator1           = new ToolStripSeparator();
            this.viewer = new ViewerControl();
            this.menuStrip1.SuspendLayout();
            base.SuspendLayout();
            this.menuStrip1.Items.AddRange(new ToolStripItem[]
            {
                this.fileToolStripMenuItem,
                this.vEBackgroundToolStripMenuItem,
                this.mashupLayersMenuItem
            });
            this.menuStrip1.Location = new Point(0, 0);
            this.menuStrip1.Name     = "menuStrip1";
            this.menuStrip1.Size     = new Size(792, 24);
            this.menuStrip1.TabIndex = 0;
            this.menuStrip1.Text     = "menuStrip1";
            this.fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[]
            {
                this.pageSetupToolStripMenuItem,
                this.printPreviewToolStripMenuItem,
                this.printToolStripMenuItem
            });
            this.fileToolStripMenuItem.Name           = "fileToolStripMenuItem";
            this.fileToolStripMenuItem.Size           = new Size(35, 20);
            this.fileToolStripMenuItem.Text           = "File";
            this.fileToolStripMenuItem.Visible        = false;
            this.pageSetupToolStripMenuItem.Name      = "pageSetupToolStripMenuItem";
            this.pageSetupToolStripMenuItem.Size      = new Size(160, 22);
            this.pageSetupToolStripMenuItem.Text      = "Page Setup...";
            this.pageSetupToolStripMenuItem.Click    += new EventHandler(this.pageSetupToolStripMenuItem_Click);
            this.printPreviewToolStripMenuItem.Name   = "printPreviewToolStripMenuItem";
            this.printPreviewToolStripMenuItem.Size   = new Size(160, 22);
            this.printPreviewToolStripMenuItem.Text   = "Print Preview...";
            this.printPreviewToolStripMenuItem.Click += new EventHandler(this.printPreviewToolStripMenuItem_Click);
            this.printToolStripMenuItem.Name          = "printToolStripMenuItem";
            this.printToolStripMenuItem.Size          = new Size(160, 22);
            this.printToolStripMenuItem.Text          = "Print...";
            this.printToolStripMenuItem.Click        += new EventHandler(this.printToolStripMenuItem_Click);
            this.vEBackgroundToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[]
            {
                this.VEroadView,
                this.VEaerialView,
                this.VEhybridView
            });
            this.vEBackgroundToolStripMenuItem.Name = "vEBackgroundToolStripMenuItem";
            this.vEBackgroundToolStripMenuItem.Size = new Size(90, 20);
            this.vEBackgroundToolStripMenuItem.Text = "VE Background";
            this.VEroadView.Name     = "VEroadView";
            this.VEroadView.Size     = new Size(148, 22);
            this.VEroadView.Text     = "Roads";
            this.VEroadView.Click   += new EventHandler(this.VEroadView_Click);
            this.VEaerialView.Name   = "VEaerialView";
            this.VEaerialView.Size   = new Size(148, 22);
            this.VEaerialView.Text   = "Aerial Photos";
            this.VEaerialView.Click += new EventHandler(this.VEaerialView_Click);
            this.VEhybridView.Name   = "VEhybridView";
            this.VEhybridView.Size   = new Size(148, 22);
            this.VEhybridView.Text   = "Hybrid";
            this.VEhybridView.Click += new EventHandler(this.VEhybridView_Click);
            this.mashupLayersMenuItem.DropDownItems.AddRange(new ToolStripItem[]
            {
                this.addLayerToolStripMenuItem,
                this.toolStripSeparator1
            });
            this.mashupLayersMenuItem.Name        = "mashupLayersMenuItem";
            this.mashupLayersMenuItem.Size        = new Size(91, 20);
            this.mashupLayersMenuItem.Text        = "Mashup Layers";
            this.addLayerToolStripMenuItem.Name   = "addLayerToolStripMenuItem";
            this.addLayerToolStripMenuItem.Size   = new Size(146, 22);
            this.addLayerToolStripMenuItem.Text   = "Add Layer...";
            this.addLayerToolStripMenuItem.Click += new EventHandler(this.addLayerToolStripMenuItem_Click);
            this.toolStripSeparator1.Name         = "toolStripSeparator1";
            this.toolStripSeparator1.Size         = new Size(143, 6);
            this.viewer.Dock         = DockStyle.Fill;
            this.viewer.Location     = new Point(0, 24);
            this.viewer.Name         = "viewer";
            this.viewer.Size         = new Size(792, 542);
            this.viewer.TabIndex     = 1;
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            //base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(792, 566);
            base.Controls.Add(this.viewer);
            base.Controls.Add(this.menuStrip1);
            //base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
            base.MainMenuStrip = this.menuStrip1;
            base.Name          = "RenderedMashupViewer";
            this.Text          = "Mashup Viewer";
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Пример #18
0
 public AsyncNotifier(ViewerControl viewerControl)
 {
     this.viewerControl = viewerControl;
     this.generation = viewerControl.asyncRequestGeneration;
 }
Пример #19
0
 public DragImageAction(ViewerControl sourceViewer)
 {
     this.sourceViewer = sourceViewer;
 }