[mapguide-commits] r9124 - in trunk/Tools/Maestro: Maestro MgCooker

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Jan 25 06:01:47 PST 2017


Author: jng
Date: 2017-01-25 06:01:47 -0800 (Wed, 25 Jan 2017)
New Revision: 9124

Added:
   trunk/Tools/Maestro/MgCooker/MapExtentsDialog.Designer.cs
   trunk/Tools/Maestro/MgCooker/MapExtentsDialog.cs
   trunk/Tools/Maestro/MgCooker/MapExtentsDialog.resx
Modified:
   trunk/Tools/Maestro/Maestro/changelog.txt
   trunk/Tools/Maestro/MgCooker/MgCooker.csproj
   trunk/Tools/Maestro/MgCooker/SetupRun.cs
   trunk/Tools/Maestro/MgCooker/SetupRun.designer.cs
   trunk/Tools/Maestro/MgCooker/SetupRun.resx
   trunk/Tools/Maestro/MgCooker/Strings.Designer.cs
   trunk/Tools/Maestro/MgCooker/Strings.resx
Log:
MgCooker: Support using the Map Viewer for capturing override extents.

Fixes #2759

Modified: trunk/Tools/Maestro/Maestro/changelog.txt
===================================================================
--- trunk/Tools/Maestro/Maestro/changelog.txt	2017-01-25 13:28:11 UTC (rev 9123)
+++ trunk/Tools/Maestro/Maestro/changelog.txt	2017-01-25 14:01:47 UTC (rev 9124)
@@ -9,6 +9,8 @@
  - Fix: XML editor opens with trailing null characters, causing bogus content validation errors when saving
  - Fix: Dirty state not triggered when editing most properties in a Symbol Definition
  - Fix: Editing Fusion widget XML does not trigger dirty state
+ - Fix: Incorrect total tile counts for tiling runs with custom extents
+ - MgCooker now supports a map-viewer-based extent selection mode
  - Local Map Previews are now non-modal
  - Added DockPanel themes
  - Package updates:

Added: trunk/Tools/Maestro/MgCooker/MapExtentsDialog.Designer.cs
===================================================================
--- trunk/Tools/Maestro/MgCooker/MapExtentsDialog.Designer.cs	                        (rev 0)
+++ trunk/Tools/Maestro/MgCooker/MapExtentsDialog.Designer.cs	2017-01-25 14:01:47 UTC (rev 9124)
@@ -0,0 +1,294 @@
+namespace MgCooker
+{
+    partial class MapExtentsDialog
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.defaultToolbar = new Maestro.MapViewer.DefaultToolbar();
+            this.mapViewer = new Maestro.MapViewer.MapViewer();
+            this.statusStrip1 = new System.Windows.Forms.StatusStrip();
+            this.lblCoordinates = new System.Windows.Forms.ToolStripStatusLabel();
+            this.lblScale = new System.Windows.Forms.ToolStripStatusLabel();
+            this.lblSelected = new System.Windows.Forms.ToolStripStatusLabel();
+            this.legend = new Maestro.MapViewer.Legend();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.btnAccept = new System.Windows.Forms.Button();
+            this.txtMaxY = new System.Windows.Forms.TextBox();
+            this.label4 = new System.Windows.Forms.Label();
+            this.txtMaxX = new System.Windows.Forms.TextBox();
+            this.label3 = new System.Windows.Forms.Label();
+            this.txtMinY = new System.Windows.Forms.TextBox();
+            this.label2 = new System.Windows.Forms.Label();
+            this.txtMinX = new System.Windows.Forms.TextBox();
+            this.label1 = new System.Windows.Forms.Label();
+            this.lblPrompt = new System.Windows.Forms.Label();
+            this.mapStatusTracker = new Maestro.MapViewer.MapStatusTracker();
+            this.statusStrip1.SuspendLayout();
+            this.panel1.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // defaultToolbar
+            // 
+            this.defaultToolbar.Location = new System.Drawing.Point(0, 0);
+            this.defaultToolbar.Name = "defaultToolbar";
+            this.defaultToolbar.Size = new System.Drawing.Size(871, 25);
+            this.defaultToolbar.TabIndex = 0;
+            this.defaultToolbar.Text = "defaultToolbar1";
+            this.defaultToolbar.Viewer = this.mapViewer;
+            // 
+            // mapViewer
+            // 
+            this.mapViewer.Cursor = System.Windows.Forms.Cursors.Default;
+            this.mapViewer.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.mapViewer.Location = new System.Drawing.Point(240, 25);
+            this.mapViewer.MaxScale = 1000000000;
+            this.mapViewer.MinScale = 10;
+            this.mapViewer.MouseWheelDelayRenderInterval = 800;
+            this.mapViewer.Name = "mapViewer";
+            this.mapViewer.PointPixelBuffer = 2;
+            this.mapViewer.SelectionColor = System.Drawing.Color.Blue;
+            this.mapViewer.Size = new System.Drawing.Size(431, 450);
+            this.mapViewer.TabIndex = 4;
+            this.mapViewer.Text = "mapViewer1";
+            this.mapViewer.TooltipDelayInterval = 1000;
+            this.mapViewer.ZoomInFactor = 0.5D;
+            this.mapViewer.ZoomOutFactor = 2D;
+            this.mapViewer.MapRefreshed += new System.EventHandler(this.mapViewer_MapRefreshed);
+            // 
+            // statusStrip1
+            // 
+            this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.lblCoordinates,
+            this.lblScale,
+            this.lblSelected});
+            this.statusStrip1.Location = new System.Drawing.Point(0, 475);
+            this.statusStrip1.Name = "statusStrip1";
+            this.statusStrip1.Size = new System.Drawing.Size(871, 22);
+            this.statusStrip1.TabIndex = 1;
+            this.statusStrip1.Text = "statusStrip1";
+            // 
+            // lblCoordinates
+            // 
+            this.lblCoordinates.Name = "lblCoordinates";
+            this.lblCoordinates.Size = new System.Drawing.Size(0, 17);
+            // 
+            // lblScale
+            // 
+            this.lblScale.Name = "lblScale";
+            this.lblScale.Size = new System.Drawing.Size(856, 17);
+            this.lblScale.Spring = true;
+            // 
+            // lblSelected
+            // 
+            this.lblSelected.Name = "lblSelected";
+            this.lblSelected.Size = new System.Drawing.Size(0, 17);
+            // 
+            // legend
+            // 
+            this.legend.Dock = System.Windows.Forms.DockStyle.Left;
+            this.legend.GroupContextMenu = null;
+            this.legend.LayerContextMenu = null;
+            this.legend.Location = new System.Drawing.Point(0, 25);
+            this.legend.Name = "legend";
+            this.legend.SelectOnRightClick = false;
+            this.legend.ShowAllLayersAndGroups = false;
+            this.legend.ShowTooltips = true;
+            this.legend.Size = new System.Drawing.Size(240, 450);
+            this.legend.TabIndex = 2;
+            this.legend.ThemeCompressionLimit = 25;
+            this.legend.Viewer = this.mapViewer;
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this.btnAccept);
+            this.panel1.Controls.Add(this.txtMaxY);
+            this.panel1.Controls.Add(this.label4);
+            this.panel1.Controls.Add(this.txtMaxX);
+            this.panel1.Controls.Add(this.label3);
+            this.panel1.Controls.Add(this.txtMinY);
+            this.panel1.Controls.Add(this.label2);
+            this.panel1.Controls.Add(this.txtMinX);
+            this.panel1.Controls.Add(this.label1);
+            this.panel1.Controls.Add(this.lblPrompt);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
+            this.panel1.Location = new System.Drawing.Point(671, 25);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(200, 450);
+            this.panel1.TabIndex = 3;
+            // 
+            // btnAccept
+            // 
+            this.btnAccept.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnAccept.Enabled = false;
+            this.btnAccept.Location = new System.Drawing.Point(27, 376);
+            this.btnAccept.Name = "btnAccept";
+            this.btnAccept.Size = new System.Drawing.Size(146, 58);
+            this.btnAccept.TabIndex = 9;
+            this.btnAccept.Text = "Accept";
+            this.btnAccept.UseVisualStyleBackColor = true;
+            this.btnAccept.Click += new System.EventHandler(this.btnAccept_Click);
+            // 
+            // txtMaxY
+            // 
+            this.txtMaxY.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.txtMaxY.Location = new System.Drawing.Point(27, 233);
+            this.txtMaxY.Name = "txtMaxY";
+            this.txtMaxY.ReadOnly = true;
+            this.txtMaxY.Size = new System.Drawing.Size(146, 20);
+            this.txtMaxY.TabIndex = 8;
+            // 
+            // label4
+            // 
+            this.label4.AutoSize = true;
+            this.label4.Location = new System.Drawing.Point(24, 217);
+            this.label4.Name = "label4";
+            this.label4.Size = new System.Drawing.Size(34, 13);
+            this.label4.TabIndex = 7;
+            this.label4.Text = "MaxY";
+            // 
+            // txtMaxX
+            // 
+            this.txtMaxX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.txtMaxX.Location = new System.Drawing.Point(27, 195);
+            this.txtMaxX.Name = "txtMaxX";
+            this.txtMaxX.ReadOnly = true;
+            this.txtMaxX.Size = new System.Drawing.Size(146, 20);
+            this.txtMaxX.TabIndex = 6;
+            // 
+            // label3
+            // 
+            this.label3.AutoSize = true;
+            this.label3.Location = new System.Drawing.Point(24, 179);
+            this.label3.Name = "label3";
+            this.label3.Size = new System.Drawing.Size(34, 13);
+            this.label3.TabIndex = 5;
+            this.label3.Text = "MaxX";
+            // 
+            // txtMinY
+            // 
+            this.txtMinY.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.txtMinY.Location = new System.Drawing.Point(27, 156);
+            this.txtMinY.Name = "txtMinY";
+            this.txtMinY.ReadOnly = true;
+            this.txtMinY.Size = new System.Drawing.Size(146, 20);
+            this.txtMinY.TabIndex = 4;
+            // 
+            // label2
+            // 
+            this.label2.AutoSize = true;
+            this.label2.Location = new System.Drawing.Point(24, 140);
+            this.label2.Name = "label2";
+            this.label2.Size = new System.Drawing.Size(31, 13);
+            this.label2.TabIndex = 3;
+            this.label2.Text = "MinY";
+            // 
+            // txtMinX
+            // 
+            this.txtMinX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.txtMinX.Location = new System.Drawing.Point(27, 114);
+            this.txtMinX.Name = "txtMinX";
+            this.txtMinX.ReadOnly = true;
+            this.txtMinX.Size = new System.Drawing.Size(146, 20);
+            this.txtMinX.TabIndex = 2;
+            // 
+            // label1
+            // 
+            this.label1.AutoSize = true;
+            this.label1.Location = new System.Drawing.Point(24, 98);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(31, 13);
+            this.label1.TabIndex = 1;
+            this.label1.Text = "MinX";
+            // 
+            // lblPrompt
+            // 
+            this.lblPrompt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.lblPrompt.Location = new System.Drawing.Point(6, 15);
+            this.lblPrompt.Name = "lblPrompt";
+            this.lblPrompt.Size = new System.Drawing.Size(191, 54);
+            this.lblPrompt.TabIndex = 0;
+            this.lblPrompt.Text = "Pan/zoom the map to the desired extents and click Accept to use the current view " +
+    "as the extents";
+            this.lblPrompt.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // mapStatusTracker
+            // 
+            this.mapStatusTracker.CoordinatesLabel = this.lblCoordinates;
+            this.mapStatusTracker.ScaleLabel = this.lblScale;
+            this.mapStatusTracker.SelectedLabel = this.lblSelected;
+            this.mapStatusTracker.Viewer = this.mapViewer;
+            // 
+            // MapExtentsDialog
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(871, 497);
+            this.Controls.Add(this.mapViewer);
+            this.Controls.Add(this.panel1);
+            this.Controls.Add(this.legend);
+            this.Controls.Add(this.statusStrip1);
+            this.Controls.Add(this.defaultToolbar);
+            this.Name = "MapExtentsDialog";
+            this.Text = "Specify Map Extents";
+            this.statusStrip1.ResumeLayout(false);
+            this.statusStrip1.PerformLayout();
+            this.panel1.ResumeLayout(false);
+            this.panel1.PerformLayout();
+            this.ResumeLayout(false);
+            this.PerformLayout();
+
+        }
+
+        #endregion
+
+        private Maestro.MapViewer.DefaultToolbar defaultToolbar;
+        private Maestro.MapViewer.MapViewer mapViewer;
+        private System.Windows.Forms.StatusStrip statusStrip1;
+        private System.Windows.Forms.ToolStripStatusLabel lblCoordinates;
+        private System.Windows.Forms.ToolStripStatusLabel lblScale;
+        private System.Windows.Forms.ToolStripStatusLabel lblSelected;
+        private Maestro.MapViewer.Legend legend;
+        private System.Windows.Forms.Panel panel1;
+        private Maestro.MapViewer.MapStatusTracker mapStatusTracker;
+        private System.Windows.Forms.Button btnAccept;
+        private System.Windows.Forms.TextBox txtMaxY;
+        private System.Windows.Forms.Label label4;
+        private System.Windows.Forms.TextBox txtMaxX;
+        private System.Windows.Forms.Label label3;
+        private System.Windows.Forms.TextBox txtMinY;
+        private System.Windows.Forms.Label label2;
+        private System.Windows.Forms.TextBox txtMinX;
+        private System.Windows.Forms.Label label1;
+        private System.Windows.Forms.Label lblPrompt;
+    }
+}
\ No newline at end of file

Added: trunk/Tools/Maestro/MgCooker/MapExtentsDialog.cs
===================================================================
--- trunk/Tools/Maestro/MgCooker/MapExtentsDialog.cs	                        (rev 0)
+++ trunk/Tools/Maestro/MgCooker/MapExtentsDialog.cs	2017-01-25 14:01:47 UTC (rev 9124)
@@ -0,0 +1,78 @@
+#region Disclaimer / License
+
+// Copyright (C) 2017, Jackie Ng
+// http://trac.osgeo.org/mapguide/wiki/maestro, jumpinjackie at gmail.com
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+#endregion Disclaimer / License
+
+using OSGeo.MapGuide.MaestroAPI.Mapping;
+using OSGeo.MapGuide.ObjectModels;
+using OSGeo.MapGuide.ObjectModels.Common;
+using OSGeo.MapGuide.ObjectModels.MapDefinition;
+using System;
+using System.Globalization;
+using System.Windows.Forms;
+
+namespace MgCooker
+{
+    public partial class MapExtentsDialog : Form
+    {
+        private MapExtentsDialog()
+        {
+            InitializeComponent();
+        }
+
+        private RuntimeMap _rtMap;
+
+        public MapExtentsDialog(RuntimeMap rtMap)
+            : this()
+        {
+            _rtMap = rtMap;
+        }
+
+        protected override void OnLoad(EventArgs e)
+        {
+            base.OnLoad(e);
+            mapViewer.LoadMap(_rtMap);
+        }
+
+        private double _minx;
+        private double _miny;
+        private double _maxx;
+        private double _maxy;
+
+        public IEnvelope GetEnvelope() => ObjectFactory.CreateEnvelope(_minx, _miny, _maxx, _maxy);
+
+        private void mapViewer_MapRefreshed(object sender, EventArgs e)
+        {
+            mapViewer.GetViewExtent(out _minx, out _miny, out _maxx, out _maxy);
+
+            txtMaxX.Text = _maxx.ToString(CultureInfo.InvariantCulture);
+            txtMaxY.Text = _maxy.ToString(CultureInfo.InvariantCulture);
+            txtMinX.Text = _minx.ToString(CultureInfo.InvariantCulture);
+            txtMinY.Text = _miny.ToString(CultureInfo.InvariantCulture);
+
+            btnAccept.Enabled = true;
+        }
+
+        private void btnAccept_Click(object sender, EventArgs e)
+        {
+            this.DialogResult = DialogResult.OK;
+        }
+    }
+}

Added: trunk/Tools/Maestro/MgCooker/MapExtentsDialog.resx
===================================================================
--- trunk/Tools/Maestro/MgCooker/MapExtentsDialog.resx	                        (rev 0)
+++ trunk/Tools/Maestro/MgCooker/MapExtentsDialog.resx	2017-01-25 14:01:47 UTC (rev 9124)
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="defaultToolbar.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>155, 17</value>
+  </metadata>
+  <metadata name="mapStatusTracker.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>271, 17</value>
+  </metadata>
+</root>
\ No newline at end of file

Modified: trunk/Tools/Maestro/MgCooker/MgCooker.csproj
===================================================================
--- trunk/Tools/Maestro/MgCooker/MgCooker.csproj	2017-01-25 13:28:11 UTC (rev 9123)
+++ trunk/Tools/Maestro/MgCooker/MgCooker.csproj	2017-01-25 14:01:47 UTC (rev 9124)
@@ -71,6 +71,12 @@
       <Link>GlobalAssemblyInfo.cs</Link>
     </Compile>
     <Compile Include="CommandLineParser.cs" />
+    <Compile Include="MapExtentsDialog.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="MapExtentsDialog.Designer.cs">
+      <DependentUpon>MapExtentsDialog.cs</DependentUpon>
+    </Compile>
     <Compile Include="Program.cs" />
     <Compile Include="Progress.cs">
       <SubType>Form</SubType>
@@ -84,6 +90,9 @@
       <DesignTime>True</DesignTime>
       <DependentUpon>Strings.resx</DependentUpon>
     </Compile>
+    <EmbeddedResource Include="MapExtentsDialog.resx">
+      <DependentUpon>MapExtentsDialog.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="Progress.resx">
       <DependentUpon>Progress.cs</DependentUpon>
     </EmbeddedResource>
@@ -148,6 +157,10 @@
       <Project>{07588440-5f9f-4c30-aa06-9cf30ba6dde6}</Project>
       <Name>Maestro.Login</Name>
     </ProjectReference>
+    <ProjectReference Include="..\Maestro.MapViewer\Maestro.MapViewer.csproj">
+      <Project>{4f9658de-d16f-4b40-b830-bb1e0136dbd7}</Project>
+      <Name>Maestro.MapViewer</Name>
+    </ProjectReference>
     <ProjectReference Include="..\Maestro.Shared.UI\Maestro.Shared.UI.csproj">
       <Project>{cfd19053-2172-41d3-8460-0fd2123a1e88}</Project>
       <Name>Maestro.Shared.UI</Name>

Modified: trunk/Tools/Maestro/MgCooker/SetupRun.cs
===================================================================
--- trunk/Tools/Maestro/MgCooker/SetupRun.cs	2017-01-25 13:28:11 UTC (rev 9123)
+++ trunk/Tools/Maestro/MgCooker/SetupRun.cs	2017-01-25 14:01:47 UTC (rev 9124)
@@ -24,6 +24,8 @@
 using OSGeo.MapGuide.MaestroAPI;
 using OSGeo.MapGuide.MaestroAPI.Commands;
 using OSGeo.MapGuide.MaestroAPI.Exceptions;
+using OSGeo.MapGuide.MaestroAPI.Mapping;
+using OSGeo.MapGuide.MaestroAPI.Services;
 using OSGeo.MapGuide.MaestroAPI.Tile;
 using OSGeo.MapGuide.ObjectModels;
 using OSGeo.MapGuide.ObjectModels.Common;
@@ -32,6 +34,7 @@
 using System;
 using System.Collections.Generic;
 using System.Diagnostics;
+using System.Globalization;
 using System.IO;
 using System.Linq;
 using System.Reflection;
@@ -526,6 +529,8 @@
                 while (root.Parent != null)
                     root = root.Parent;
 
+                IMapDefinition mdf = root.Tag as IMapDefinition;
+                lnkViewer.Visible = (mdf != null);
                 IEnvelope box;
 
                 box = m_coordinateOverrides.ContainsKey(root.Text) ? m_coordinateOverrides[root.Text] : GetExtents(root);
@@ -730,5 +735,45 @@
                 }
             });
         }
+
+        private void lnkViewer_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
+        {
+            TreeNode root = MapTree.SelectedNode;
+            while (root.Parent != null)
+                root = root.Parent;
+
+            IMapDefinition mdf = root.Tag as IMapDefinition;
+            if (mdf != null)
+            {
+                BusyWaitDelegate worker = () =>
+                {
+                    IMappingService mapSvc = (IMappingService)m_connection.GetService((int)ServiceType.Mapping);
+                    var rtMap = mapSvc.CreateMap(mdf);
+                    return rtMap;
+                };
+                Action<object, Exception> onComplete = (obj, ex) =>
+                {
+                    if (ex != null)
+                        throw ex;
+
+                    if (obj != null)
+                    {
+                        var rtMap = (RuntimeMap)obj;
+                        using (var diag = new MapExtentsDialog(rtMap))
+                        {
+                            if (diag.ShowDialog() == DialogResult.OK)
+                            {
+                                var env = diag.GetEnvelope();
+                                txtLowerX.Text = env.MinX.ToString(CultureInfo.InvariantCulture);
+                                txtLowerY.Text = env.MinY.ToString(CultureInfo.InvariantCulture);
+                                txtUpperX.Text = env.MaxX.ToString(CultureInfo.InvariantCulture);
+                                txtUpperY.Text = env.MaxY.ToString(CultureInfo.InvariantCulture);
+                            }
+                        }
+                    }
+                };
+                BusyWaitDialog.Run(Strings.PreparingMap, worker, onComplete);
+            }
+        }
     }
 }
\ No newline at end of file

Modified: trunk/Tools/Maestro/MgCooker/SetupRun.designer.cs
===================================================================
--- trunk/Tools/Maestro/MgCooker/SetupRun.designer.cs	2017-01-25 13:28:11 UTC (rev 9123)
+++ trunk/Tools/Maestro/MgCooker/SetupRun.designer.cs	2017-01-25 14:01:47 UTC (rev 9124)
@@ -70,6 +70,7 @@
             this.MaxColLimit = new System.Windows.Forms.NumericUpDown();
             this.label7 = new System.Windows.Forms.Label();
             this.toolTip = new System.Windows.Forms.ToolTip(this.components);
+            this.lnkViewer = new System.Windows.Forms.LinkLabel();
             this.panel1.SuspendLayout();
             this.panel2.SuspendLayout();
             this.BoundsOverride.SuspendLayout();
@@ -146,6 +147,7 @@
             // BoundsOverride
             // 
             resources.ApplyResources(this.BoundsOverride, "BoundsOverride");
+            this.BoundsOverride.Controls.Add(this.lnkViewer);
             this.BoundsOverride.Controls.Add(this.ModfiedOverrideWarning);
             this.BoundsOverride.Controls.Add(this.ResetBounds);
             this.BoundsOverride.Controls.Add(this.txtUpperY);
@@ -384,6 +386,13 @@
             resources.ApplyResources(this.label7, "label7");
             this.label7.Name = "label7";
             // 
+            // lnkViewer
+            // 
+            resources.ApplyResources(this.lnkViewer, "lnkViewer");
+            this.lnkViewer.Name = "lnkViewer";
+            this.lnkViewer.TabStop = true;
+            this.lnkViewer.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkViewer_LinkClicked);
+            // 
             // SetupRun
             // 
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -456,5 +465,6 @@
         private System.Windows.Forms.TextBox txtProvider;
         private System.Windows.Forms.Label label2;
         private System.Windows.Forms.Label label1;
+        private System.Windows.Forms.LinkLabel lnkViewer;
     }
 }
\ No newline at end of file

Modified: trunk/Tools/Maestro/MgCooker/SetupRun.resx
===================================================================
--- trunk/Tools/Maestro/MgCooker/SetupRun.resx	2017-01-25 13:28:11 UTC (rev 9123)
+++ trunk/Tools/Maestro/MgCooker/SetupRun.resx	2017-01-25 14:01:47 UTC (rev 9124)
@@ -275,54 +275,54 @@
         AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
         LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
         ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAB6
-        DAAAAk1TRnQBSQFMAgEBBAEAAYQBAAGEAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
+        DAAAAk1TRnQBSQFMAgEBBAEAAYwBAAGMAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
         AwABIAMAAQEBAAEgBgABIP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8AKgADHAEoAyQBNgMk
         ATYDJAE2AyQBNgMkATYDJAE2AyQBNgMkATYDJAE2AyQBNgMkATYDGwEmHAADFgEeAVsCWAHGAx0BKgMC
-        AQOgAAP9Af8D/QH/A/0B/wP9Af8D/QH/A/0B/wP9Af8D/QH/A/0B/wP9Af8D/QH/A/0B/wMbASYcAAGA
-        Am0B9wH0AeYB4QH/AbsBtAGzAf0BhgF9AXoB+QFNAkwBkQMRAReYAAP9Af8B9QHoAeQB/wH0AeUB4AH/
+        AQOgAAP9Af8D/QH/A/0B/wP9Af8D/QH/A/0B/wP9Af8D/QH/A/0B/wP9Af8D/QH/A/0B/wMbASYcAAF/
+        Am0B9wH0AeYB4QH/AboBswGyAf0BhQF6AXcB+QFNAkwBkQMRAReYAAP9Af8B9QHoAeQB/wH0AeUB4AH/
         AfIB4gHdAf8B8QHgAdkB/wHwAd0B1gH/Ae8B2wHTAf8B7gHZAdEB/wHuAdgB0AH/Ae4B2AHQAf8B7gHY
         AdAB/wP9Af8DGwEmGAABLAIrAUMB9QHoAeMB/wH0AeYB4QH/AfMB5AHfAf8B8gHjAd0B/wHyAeEB2wH/
-        AZoBhwGDAfoBXwJaAfABNgI1AVgDCwEPDAADHQEqAx0BKiAAAwUBBwMdASoDHQEqTAAD/QH/AfcB7QHp
-        Af8B9gHqAeYB/wH0AecB4wH/Ad0BtQGwAf8BvQFkAV8B/wG+AWgBYwH/AeMBwgG8Af8B7wHaAdIB/wHu
-        AdgB0AH/Ae4B2AHQAf8D/QH/AxsBJhgAAX4CdAH4AfUB6AHjAf8B9AHmAeEB/wHzAeQB3wH/AfIB4wHd
-        Af8B8gHhAdsB/wHxAd8B2QH/AfAB3QHXAf8B7wHcAdUB/wGMAXsBeQH6AVkCVwHCCwAB/ygAAzABTAMA
-        Af9MAAP9Af8B+AHwAe0B/wHtAdcB0gH/AbkBiQFiAf8BUgGTASIB/wHqAbEBKgH/AegBrgEhAf8B6wHB
-        AVUB/wGxAUwBRwH/Ae4B2QHSAf8B7gHZAdIB/wP9Af8DGwEmFAADQAFwAfUB6QHlAf8B9QHoAeMB/wH0
+        AZgBhAGAAfoBXQJaAfABNgI1AVgDCwEPDAADHQEqAx0BKiAAAwUBBwMdASoDHQEqTAAD/QH/AfcB7QHp
+        Af8B9gHqAeYB/wH0AecB4wH/Ad0BtQGwAf8BvQFjAV4B/wG+AWcBYgH/AeMBwgG8Af8B7wHaAdIB/wHu
+        AdgB0AH/Ae4B2AHQAf8D/QH/AxsBJhgAAX0CcwH4AfUB6AHjAf8B9AHmAeEB/wHzAeQB3wH/AfIB4wHd
+        Af8B8gHhAdsB/wHxAd8B2QH/AfAB3QHXAf8B7wHcAdUB/wGJAXoBeAH6AVkCVwHCCwAB/ygAAzABTAMA
+        Af9MAAP9Af8B+AHwAe0B/wHtAdcB0gH/AbkBiQFhAf8BUQGTASEB/wHqAbEBKQH/AegBrgEgAf8B6wHB
+        AVQB/wGxAUsBRgH/Ae4B2QHSAf8B7gHZAdIB/wP9Af8DGwEmFAADQAFwAfUB6QHlAf8B9QHoAeMB/wH0
         AeYB4QH/AfMB5AHfAf8B8gHjAd0B/wHyAeEB2wH/AfEB3wHZAf8B8AHdAdcB/wHvAdwB1QH/Ae8B2gHT
         Af8DOAFcCwAB/wgAAUYCRQF/AwAEAQECA0UBfQQAAygBPAMlATcEAAMvAUoDAAH/DAADEQEXA1gB0QMA
-        Af8DKAE8EAADOAFcAwAB/xgAA/0B/wH2AeoB5gH/AegBvwGcAf8B+wHLAVUB/wEvAa0BPAH/AUcBnQEd
-        Af8B/gHEATUB/wH+Ab4BIAH/AfYBtgEWAf8BlwFlAUIB/wHwAd0B1gH/A/0B/wMbASYUAAGHAnoB+AH1
+        Af8DKAE8EAADOAFcAwAB/xgAA/0B/wH2AeoB5gH/AegBvwGcAf8B+wHLAVQB/wEuAa0BOwH/AUYBnQEc
+        Af8B/gHEATQB/wH+Ab4BHwH/AfYBtgEVAf8BlwFkAUEB/wHwAd0B1gH/A/0B/wMbASYUAAGEAnkB+AH1
         AekB5QH/AfUB6AHjAf8B9AHmAeEB/wHzAeQB3wH/AfIB4wHdAf8B8gHhAdsB/wHxAd8B2QH/AfAB3QHX
-        Af8B7wHcAdUB/wFoAmIB9gMEAQYLAAH/CwAB/wNFAX0DSAGFAwAB/wcAAf8DAAH/BAADLwFKAwAB/xAA
-        A0IBdAMAAf8UAAMNAREDWgHVGAAD/QH/AbkBUgE9Af8B+gHOAWEB/wGkAbYBSQH/AS8BrQE9Af8BLgGt
-        ATwB/wHJAb8BSwH/Af4BxAE0Af8B/gHAASUB/wEtAaUBNAH/AbwBZAFhAf8D/QH/AxsBJhAAA1ABngH2
+        Af8B7wHcAdUB/wFlAmIB9gMEAQYLAAH/CwAB/wNFAX0DSAGFAwAB/wcAAf8DAAH/BAADLwFKAwAB/xAA
+        A0IBdAMAAf8UAAMNAREDWgHVGAAD/QH/AbkBUQE8Af8B+gHOAWAB/wGkAbYBSAH/AS4BrQE8Af8BLQGt
+        ATsB/wHJAb8BSgH/Af4BxAEzAf8B/gHAASQB/wEsAaUBMwH/AbwBYwFgAf8D/QH/AxsBJhAAA1ABngH2
         AesB5wH/AfUB6QHlAf8B9QHoAeMB/wH0AeYB4QH/AfMB5AHfAf8B8gHjAd0B/wHyAeEB2wH/AfEB3wHZ
-        Af8B8AHdAdcB/wGvAaMBnQH8AygBPA8AAf8oAAMvAUoDAAH/EAADQgF0AwAB/zQAA/0B/wHqAcMBoQH/
-        Af0B1gGEAf8BmwG2AU8B/wEtAZ8BIgH/AfEB2AGRAf8B/QHRAWUB/wGcAbABNgH/AS8BrQE9Af8BLwGt
-        AT0B/wGYAWABPwH/A/0B/wMbASYQAAGIAYIBgQH3AfYB6wHnAf8B9QHpAeUB/wH1AegB4wH/AfQB5gHh
-        Af8B8wHkAd8B/wHyAeMB3QH/AfIB4QHbAf8B8QHfAdkB/wHwAd0B1wH/AWECWQHrAwEBAg8AAf8oAAMv
-        AUoDAAH/EAADQgF0AwAB/xQAAwIBAwNRAaEYAAP9Af8B+gHiAbkB/wEwAZoBGQH/AtQBmwH/Af0B4wG1
-        Af8B/QHdAZ0B/wH9AdQBbgH/AeQByAFTAf8BLgGsATsB/wFFAZwBGgH/AZ4BigFQAf8D/QH/AxsBJgwA
+        Af8B8AHdAdcB/wGtAaABmgH8AygBPA8AAf8oAAMvAUoDAAH/EAADQgF0AwAB/zQAA/0B/wHqAcMBoQH/
+        Af0B1gGEAf8BmwG2AU4B/wEsAZ8BIQH/AfEB2AGRAf8B/QHRAWQB/wGcAbABNQH/AS4BrQE8Af8BLgGt
+        ATwB/wGYAV8BPgH/A/0B/wMbASYQAAGHAYEBgAH3AfYB6wHnAf8B9QHpAeUB/wH1AegB4wH/AfQB5gHh
+        Af8B8wHkAd8B/wHyAeMB3QH/AfIB4QHbAf8B8QHfAdkB/wHwAd0B1wH/AWACWQHrAwEBAg8AAf8oAAMv
+        AUoDAAH/EAADQgF0AwAB/xQAAwIBAwNRAaEYAAP9Af8B+gHiAbkB/wEvAZoBGAH/AtQBmwH/Af0B4wG1
+        Af8B/QHdAZ0B/wH9AdQBbQH/AeQByAFSAf8BLQGsAToB/wFEAZwBGQH/AZ4BigFPAf8D/QH/AxsBJgwA
         AVwCWQHJAfcB7QHpAf8B9gHrAecB/wH1AekB5QH/AfUB6AHjAf8B9AHmAeEB/wHzAeQB3wH/AfIB4wHd
-        Af8B8gHhAdsB/wHxAd8B2QH/AZwBigGGAfoDGwEmEwAB/ygAAy8BSgMAAf8QAANCAXQDAAH/FAADPgFr
-        AwAB/xgAA/0B/wFiAZABKgH/AS8BrQE9Af8BLwGtAT0B/wGvAcEBaQH/Af0B2wGVAf8B/QHTAWkB/wH+
-        AcoBRwH/ATcBmgEZAf8BLQGXARQB/wGcAWIBQAH/A/0B/wMbASYIAAMEAQUBngGSAZAB+gH3Ae0B6QH/
+        Af8B8gHhAdsB/wHxAd8B2QH/AZoBhwGDAfoDGwEmEwAB/ygAAy8BSgMAAf8QAANCAXQDAAH/FAADPgFr
+        AwAB/xgAA/0B/wFhAZABKQH/AS4BrQE8Af8BLgGtATwB/wGvAcEBaAH/Af0B2wGVAf8B/QHTAWgB/wH+
+        AcoBRgH/ATYBmgEYAf8BLAGXARMB/wGcAWEBPwH/A/0B/wMbASYIAAMEAQUBnAGPAY0B+gH3Ae0B6QH/
         AfYB6wHnAf8B9QHpAeUB/wH1AegB4wH/AfQB5gHhAf8B8wHkAd8B/wHyAeMB3QH/AfIB4QHbAf8B8QHf
-        AdkB/wFdAlkB0hcAAf8oAAMvAUoDAAH/EAADQgF2AwAB/zQAA/0B/wG+AWQBRAH/AS8BrQE9Af8BLgGj
-        ASsB/wEuAa0BPAH/AcABwgFcAf8B/gHOAVcB/wH+AcYBOQH/AU4BlAELAf8BwgG6ATsB/wHFAYEBbQH/
+        AdkB/wFdAlkB0hcAAf8oAAMvAUoDAAH/EAADQgF2AwAB/zQAA/0B/wG+AWMBQwH/AS4BrQE8Af8BLQGj
+        ASoB/wEtAa0BOwH/AcABwgFbAf8B/gHOAVYB/wH+AcYBOAH/AU0BlAEKAf8BwgG6AToB/wHFAYEBbAH/
         A/0B/wMbASYIAAFkAlwB5wH4Ae4B6wH/AfcB7QHpAf8B9gHrAecB/wH1AekB5QH/AfUB6AHjAf8B9AHm
-        AeEB/wHzAeQB3wH/AfIB4wHdAf8B8gHhAdsB/wGLAXwBewH4AxMBGhcAAf8oAAMvAUoDAAH/DAADCAEL
-        A1oB3gMAAf80AAP9Af8B9wHtAekB/wFqAZABLgH/AacBtQFDAf8BLwGTAQ0B/wGqAbcBRQH/AUIBngEe
-        Af8B8gHCATYB/wH+Ab0BGwH/AcUBbQFZAf8B+QHxAe4B/wP9Af8DGwEmBAADEgEZAZ8ClQH6AfgB7gHr
+        AeEB/wHzAeQB3wH/AfIB4wHdAf8B8gHhAdsB/wGIAXsBegH4AxMBGhcAAf8oAAMvAUoDAAH/DAADCAEL
+        A1oB3gMAAf80AAP9Af8B9wHtAekB/wFpAZABLQH/AacBtQFCAf8BLgGTAQwB/wGqAbcBRAH/AUEBngEd
+        Af8B8gHCATUB/wH+Ab0BGgH/AcUBbAFYAf8B+QHxAe4B/wP9Af8DGwEmBAADEgEZAZ0CkgH6AfgB7gHr
         Af8B9wHtAekB/wH2AesB5wH/AfUB6QHlAf8B9QHoAeMB/wH0AeYB4QH/AfMB5AHfAf8B8gHjAd0B/wHy
         AeEB2wH/A1QBrxgAA1cB3wFJAkgBhyAAAwsBDwNVAbcDVwHfTAAD/QH/AfkB8QHuAf8B8gHhAdsB/wGt
-        AYYBSgH/Ae4B2AGLAf8BQwGeAR4B/wEuAa0BPAH/ATQBlAEQAf8BuwFXAUMB/wH4AfAB7QH/AfkB8QHu
-        Af8D/QH/AxsBJggAAwEBAgFSAlEBpwGKAoMB+QH2AesB5wH/AfUB6QHlAf8B9QHoAeMB/wH0AeYB4QH/
-        AfMB5AHfAf8B8gHjAd0B/wGHAXkBdwH4Aw4BE5gAA/0B/wH5AfEB7gH/AfkB8QHuAf8B+QHxAe4B/wHs
+        AYYBSQH/Ae4B2AGLAf8BQgGeAR0B/wEtAa0BOwH/ATMBlAEPAf8BuwFWAUIB/wH4AfAB7QH/AfkB8QHu
+        Af8D/QH/AxsBJggAAwEBAgFSAlEBpwGJAoIB+QH2AesB5wH/AfUB6QHlAf8B9QHoAeMB/wH0AeYB4QH/
+        AfMB5AHfAf8B8gHjAd0B/wGEAXgBdgH4Aw4BE5gAA/0B/wH5AfEB7gH/AfkB8QHuAf8B+QHxAe4B/wHs
         AdIByQH/AdIBlQGCAf8B1AGaAYkB/wHyAeEB3AH/AfkB8QHuAf8B+QHxAe4B/wH5AfEB7gH/A/0B/wMb
-        ASYUAAMdASkBYQJaAeQBjQGHAYYB+QH0AeYB4QH/AfMB5AHfAf8B8gHjAd0B/wFJAkgBiJwAA/0B/wH6
+        ASYUAAMdASkBYQJaAeQBjAGGAYUB+QH0AeYB4QH/AfMB5AHfAf8B8gHjAd0B/wFJAkgBiJwAA/0B/wH6
         AfYB9AH/AfoB9gH0Af8B+gH2AfQB/wH6AfYB9AH/AfoB9gH0Af8B+gH2AfQB/wH6AfYB9AH/AfoB9gH0
-        Af8B+gH2AfQB/wH6AfYB9AH/A/0B/wMbASYgAAM+AWsBfgJ0AfoBfgJzAfgDBwEKnAABpQKgAf8BpAGg
+        Af8B+gH2AfQB/wH6AfYB9AH/A/0B/wMbASYgAAM+AWsBfQJzAfoBfQJyAfgDBwEKnAABpQKgAf8BpAGg
         AZ8B/wGkAp8B/wGjAp4B/wGiAp0B/wGhApwB/wGgApsB/wGfApoB/wGdApkB/wGcAZgBlwH/AZsClgH/
         AZkClQH/yAABQgFNAT4HAAE+AwABKAMAAUADAAEgAwABAQEAAQEGAAEBFgAD/4EAAcABAQH8AT8E/wHA
         AQEB/AEPBP8BwAEBAfgBAQHPAfEC/wHAAQEB+AEAAd8B+QL/AcABAQHwAQAB2AFJAcMBzwHAAQEB8AEA
@@ -364,6 +364,51 @@
   <data name="BoundsOverride.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
     <value>Top, Left, Right</value>
   </data>
+  <data name="lnkViewer.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="lnkViewer.Location" type="System.Drawing.Point, System.Drawing">
+    <value>101, 0</value>
+  </data>
+  <data name="lnkViewer.Size" type="System.Drawing.Size, System.Drawing">
+    <value>85, 13</value>
+  </data>
+  <data name="lnkViewer.TabIndex" type="System.Int32, mscorlib">
+    <value>20</value>
+  </data>
+  <data name="lnkViewer.Text" xml:space="preserve">
+    <value>(Set with viewer)</value>
+  </data>
+  <data name=">>lnkViewer.Name" xml:space="preserve">
+    <value>lnkViewer</value>
+  </data>
+  <data name=">>lnkViewer.Type" xml:space="preserve">
+    <value>System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>lnkViewer.Parent" xml:space="preserve">
+    <value>BoundsOverride</value>
+  </data>
+  <data name=">>lnkViewer.ZOrder" xml:space="preserve">
+    <value>0</value>
+  </data>
+  <data name="ModfiedOverrideWarning.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="ModfiedOverrideWarning.Location" type="System.Drawing.Point, System.Drawing">
+    <value>8, 96</value>
+  </data>
+  <data name="ModfiedOverrideWarning.Size" type="System.Drawing.Size, System.Drawing">
+    <value>105, 13</value>
+  </data>
+  <data name="ModfiedOverrideWarning.TabIndex" type="System.Int32, mscorlib">
+    <value>19</value>
+  </data>
+  <data name="ModfiedOverrideWarning.Text" xml:space="preserve">
+    <value>Coordinates modified</value>
+  </data>
+  <data name="ModfiedOverrideWarning.Visible" type="System.Boolean, mscorlib">
+    <value>False</value>
+  </data>
   <data name=">>ModfiedOverrideWarning.Name" xml:space="preserve">
     <value>ModfiedOverrideWarning</value>
   </data>
@@ -374,8 +419,20 @@
     <value>BoundsOverride</value>
   </data>
   <data name=">>ModfiedOverrideWarning.ZOrder" xml:space="preserve">
-    <value>0</value>
+    <value>1</value>
   </data>
+  <data name="ResetBounds.Location" type="System.Drawing.Point, System.Drawing">
+    <value>136, 88</value>
+  </data>
+  <data name="ResetBounds.Size" type="System.Drawing.Size, System.Drawing">
+    <value>88, 24</value>
+  </data>
+  <data name="ResetBounds.TabIndex" type="System.Int32, mscorlib">
+    <value>18</value>
+  </data>
+  <data name="ResetBounds.Text" xml:space="preserve">
+    <value>Reset</value>
+  </data>
   <data name=">>ResetBounds.Name" xml:space="preserve">
     <value>ResetBounds</value>
   </data>
@@ -386,8 +443,17 @@
     <value>BoundsOverride</value>
   </data>
   <data name=">>ResetBounds.ZOrder" xml:space="preserve">
-    <value>1</value>
+    <value>2</value>
   </data>
+  <data name="txtUpperY.Location" type="System.Drawing.Point, System.Drawing">
+    <value>144, 50</value>
+  </data>
+  <data name="txtUpperY.Size" type="System.Drawing.Size, System.Drawing">
+    <value>80, 20</value>
+  </data>
+  <data name="txtUpperY.TabIndex" type="System.Int32, mscorlib">
+    <value>17</value>
+  </data>
   <data name=">>txtUpperY.Name" xml:space="preserve">
     <value>txtUpperY</value>
   </data>
@@ -398,8 +464,20 @@
     <value>BoundsOverride</value>
   </data>
   <data name=">>txtUpperY.ZOrder" xml:space="preserve">
-    <value>2</value>
+    <value>3</value>
   </data>
+  <data name="label4.Location" type="System.Drawing.Point, System.Drawing">
+    <value>120, 50</value>
+  </data>
+  <data name="label4.Size" type="System.Drawing.Size, System.Drawing">
+    <value>16, 16</value>
+  </data>
+  <data name="label4.TabIndex" type="System.Int32, mscorlib">
+    <value>16</value>
+  </data>
+  <data name="label4.Text" xml:space="preserve">
+    <value>Y</value>
+  </data>
   <data name=">>label4.Name" xml:space="preserve">
     <value>label4</value>
   </data>
@@ -410,8 +488,17 @@
     <value>BoundsOverride</value>
   </data>
   <data name=">>label4.ZOrder" xml:space="preserve">
-    <value>3</value>
+    <value>4</value>
   </data>
+  <data name="txtUpperX.Location" type="System.Drawing.Point, System.Drawing">
+    <value>32, 50</value>
+  </data>
+  <data name="txtUpperX.Size" type="System.Drawing.Size, System.Drawing">
+    <value>72, 20</value>
+  </data>
+  <data name="txtUpperX.TabIndex" type="System.Int32, mscorlib">
+    <value>15</value>
+  </data>
   <data name=">>txtUpperX.Name" xml:space="preserve">
     <value>txtUpperX</value>
   </data>
@@ -422,8 +509,20 @@
     <value>BoundsOverride</value>
   </data>
   <data name=">>txtUpperX.ZOrder" xml:space="preserve">
-    <value>4</value>
+    <value>5</value>
   </data>
+  <data name="label5.Location" type="System.Drawing.Point, System.Drawing">
+    <value>8, 50</value>
+  </data>
+  <data name="label5.Size" type="System.Drawing.Size, System.Drawing">
+    <value>16, 16</value>
+  </data>
+  <data name="label5.TabIndex" type="System.Int32, mscorlib">
+    <value>14</value>
+  </data>
+  <data name="label5.Text" xml:space="preserve">
+    <value>X</value>
+  </data>
   <data name=">>label5.Name" xml:space="preserve">
     <value>label5</value>
   </data>
@@ -434,8 +533,17 @@
     <value>BoundsOverride</value>
   </data>
   <data name=">>label5.ZOrder" xml:space="preserve">
-    <value>5</value>
+    <value>6</value>
   </data>
+  <data name="txtLowerY.Location" type="System.Drawing.Point, System.Drawing">
+    <value>144, 24</value>
+  </data>
+  <data name="txtLowerY.Size" type="System.Drawing.Size, System.Drawing">
+    <value>80, 20</value>
+  </data>
+  <data name="txtLowerY.TabIndex" type="System.Int32, mscorlib">
+    <value>13</value>
+  </data>
   <data name=">>txtLowerY.Name" xml:space="preserve">
     <value>txtLowerY</value>
   </data>
@@ -446,8 +554,20 @@
     <value>BoundsOverride</value>
   </data>
   <data name=">>txtLowerY.ZOrder" xml:space="preserve">
-    <value>6</value>
+    <value>7</value>
   </data>
+  <data name="label10.Location" type="System.Drawing.Point, System.Drawing">
+    <value>120, 24</value>
+  </data>
+  <data name="label10.Size" type="System.Drawing.Size, System.Drawing">
+    <value>16, 16</value>
+  </data>
+  <data name="label10.TabIndex" type="System.Int32, mscorlib">
+    <value>12</value>
+  </data>
+  <data name="label10.Text" xml:space="preserve">
+    <value>Y</value>
+  </data>
   <data name=">>label10.Name" xml:space="preserve">
     <value>label10</value>
   </data>
@@ -458,8 +578,17 @@
     <value>BoundsOverride</value>
   </data>
   <data name=">>label10.ZOrder" xml:space="preserve">
-    <value>7</value>
+    <value>8</value>
   </data>
+  <data name="txtLowerX.Location" type="System.Drawing.Point, System.Drawing">
+    <value>32, 24</value>
+  </data>
+  <data name="txtLowerX.Size" type="System.Drawing.Size, System.Drawing">
+    <value>72, 20</value>
+  </data>
+  <data name="txtLowerX.TabIndex" type="System.Int32, mscorlib">
+    <value>11</value>
+  </data>
   <data name=">>txtLowerX.Name" xml:space="preserve">
     <value>txtLowerX</value>
   </data>
@@ -470,8 +599,20 @@
     <value>BoundsOverride</value>
   </data>
   <data name=">>txtLowerX.ZOrder" xml:space="preserve">
-    <value>8</value>
+    <value>9</value>
   </data>
+  <data name="label11.Location" type="System.Drawing.Point, System.Drawing">
+    <value>8, 24</value>
+  </data>
+  <data name="label11.Size" type="System.Drawing.Size, System.Drawing">
+    <value>16, 16</value>
+  </data>
+  <data name="label11.TabIndex" type="System.Int32, mscorlib">
+    <value>10</value>
+  </data>
+  <data name="label11.Text" xml:space="preserve">
+    <value>X</value>
+  </data>
   <data name=">>label11.Name" xml:space="preserve">
     <value>label11</value>
   </data>
@@ -482,7 +623,7 @@
     <value>BoundsOverride</value>
   </data>
   <data name=">>label11.ZOrder" xml:space="preserve">
-    <value>9</value>
+    <value>10</value>
   </data>
   <data name="BoundsOverride.Enabled" type="System.Boolean, mscorlib">
     <value>False</value>
@@ -511,9 +652,6 @@
   <data name=">>BoundsOverride.ZOrder" xml:space="preserve">
     <value>0</value>
   </data>
-  <metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-    <value>250, 17</value>
-  </metadata>
   <data name="grpGlobalSettings.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
     <value>Top, Left, Right</value>
   </data>
@@ -607,21 +745,6 @@
   <data name="grpTileSettings.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
     <value>Top, Left, Right</value>
   </data>
-  <data name="lnkCalcMpu.AutoSize" type="System.Boolean, mscorlib">
-    <value>True</value>
-  </data>
-  <data name="lnkCalcMpu.Location" type="System.Drawing.Point, System.Drawing">
-    <value>13, 134</value>
-  </data>
-  <data name="lnkCalcMpu.Size" type="System.Drawing.Size, System.Drawing">
-    <value>123, 13</value>
-  </data>
-  <data name="lnkCalcMpu.TabIndex" type="System.Int32, mscorlib">
-    <value>14</value>
-  </data>
-  <data name="lnkCalcMpu.Text" xml:space="preserve">
-    <value>Calculate meters-per-unit</value>
-  </data>
   <data name=">>lnkCalcMpu.Name" xml:space="preserve">
     <value>lnkCalcMpu</value>
   </data>
@@ -634,66 +757,6 @@
   <data name=">>lnkCalcMpu.ZOrder" xml:space="preserve">
     <value>0</value>
   </data>
-  <data name="MetersPerUnit.Location" type="System.Drawing.Point, System.Drawing">
-    <value>104, 0</value>
-  </data>
-  <data name="MetersPerUnit.Size" type="System.Drawing.Size, System.Drawing">
-    <value>104, 20</value>
-  </data>
-  <data name="MetersPerUnit.TabIndex" type="System.Int32, mscorlib">
-    <value>9</value>
-  </data>
-  <data name="MetersPerUnit.ToolTip" xml:space="preserve">
-    <value>The number of meters pr. map unit</value>
-  </data>
-  <data name=">>MetersPerUnit.Name" xml:space="preserve">
-    <value>MetersPerUnit</value>
-  </data>
-  <data name=">>MetersPerUnit.Type" xml:space="preserve">
-    <value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>MetersPerUnit.Parent" xml:space="preserve">
-    <value>OfficialMethodPanel</value>
-  </data>
-  <data name=">>MetersPerUnit.ZOrder" xml:space="preserve">
-    <value>0</value>
-  </data>
-  <data name="label8.AutoSize" type="System.Boolean, mscorlib">
-    <value>True</value>
-  </data>
-  <data name="label8.Location" type="System.Drawing.Point, System.Drawing">
-    <value>16, 0</value>
-  </data>
-  <data name="label8.Size" type="System.Drawing.Size, System.Drawing">
-    <value>74, 13</value>
-  </data>
-  <data name="label8.TabIndex" type="System.Int32, mscorlib">
-    <value>8</value>
-  </data>
-  <data name="label8.Text" xml:space="preserve">
-    <value>Meters pr. unit</value>
-  </data>
-  <data name=">>label8.Name" xml:space="preserve">
-    <value>label8</value>
-  </data>
-  <data name=">>label8.Type" xml:space="preserve">
-    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>label8.Parent" xml:space="preserve">
-    <value>OfficialMethodPanel</value>
-  </data>
-  <data name=">>label8.ZOrder" xml:space="preserve">
-    <value>1</value>
-  </data>
-  <data name="OfficialMethodPanel.Location" type="System.Drawing.Point, System.Drawing">
-    <value>14, 97</value>
-  </data>
-  <data name="OfficialMethodPanel.Size" type="System.Drawing.Size, System.Drawing">
-    <value>216, 24</value>
-  </data>
-  <data name="OfficialMethodPanel.TabIndex" type="System.Int32, mscorlib">
-    <value>13</value>
-  </data>
   <data name=">>OfficialMethodPanel.Name" xml:space="preserve">
     <value>OfficialMethodPanel</value>
   </data>
@@ -706,24 +769,6 @@
   <data name=">>OfficialMethodPanel.ZOrder" xml:space="preserve">
     <value>1</value>
   </data>
-  <data name="LimitTileset.AutoSize" type="System.Boolean, mscorlib">
-    <value>True</value>
-  </data>
-  <data name="LimitTileset.Location" type="System.Drawing.Point, System.Drawing">
-    <value>14, 19</value>
-  </data>
-  <data name="LimitTileset.Size" type="System.Drawing.Size, System.Drawing">
-    <value>118, 17</value>
-  </data>
-  <data name="LimitTileset.TabIndex" type="System.Int32, mscorlib">
-    <value>11</value>
-  </data>
-  <data name="LimitTileset.Text" xml:space="preserve">
-    <value>Limit number of tiles</value>
-  </data>
-  <data name="LimitTileset.ToolTip" xml:space="preserve">
-    <value>Set a limit on the number of tiles generated, note that this may prevent all tiles from being created</value>
-  </data>
   <data name=">>LimitTileset.Name" xml:space="preserve">
     <value>LimitTileset</value>
   </data>
@@ -736,66 +781,6 @@
   <data name=">>LimitTileset.ZOrder" xml:space="preserve">
     <value>2</value>
   </data>
-  <data name=">>MaxRowLimit.Name" xml:space="preserve">
-    <value>MaxRowLimit</value>
-  </data>
-  <data name=">>MaxRowLimit.Type" xml:space="preserve">
-    <value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>MaxRowLimit.Parent" xml:space="preserve">
-    <value>TilesetLimitPanel</value>
-  </data>
-  <data name=">>MaxRowLimit.ZOrder" xml:space="preserve">
-    <value>0</value>
-  </data>
-  <data name=">>label6.Name" xml:space="preserve">
-    <value>label6</value>
-  </data>
-  <data name=">>label6.Type" xml:space="preserve">
-    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>label6.Parent" xml:space="preserve">
-    <value>TilesetLimitPanel</value>
-  </data>
-  <data name=">>label6.ZOrder" xml:space="preserve">
-    <value>1</value>
-  </data>
-  <data name=">>MaxColLimit.Name" xml:space="preserve">
-    <value>MaxColLimit</value>
-  </data>
-  <data name=">>MaxColLimit.Type" xml:space="preserve">
-    <value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>MaxColLimit.Parent" xml:space="preserve">
-    <value>TilesetLimitPanel</value>
-  </data>
-  <data name=">>MaxColLimit.ZOrder" xml:space="preserve">
-    <value>2</value>
-  </data>
-  <data name=">>label7.Name" xml:space="preserve">
-    <value>label7</value>
-  </data>
-  <data name=">>label7.Type" xml:space="preserve">
-    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>label7.Parent" xml:space="preserve">
-    <value>TilesetLimitPanel</value>
-  </data>
-  <data name=">>label7.ZOrder" xml:space="preserve">
-    <value>3</value>
-  </data>
-  <data name="TilesetLimitPanel.Enabled" type="System.Boolean, mscorlib">
-    <value>False</value>
-  </data>
-  <data name="TilesetLimitPanel.Location" type="System.Drawing.Point, System.Drawing">
-    <value>14, 43</value>
-  </data>
-  <data name="TilesetLimitPanel.Size" type="System.Drawing.Size, System.Drawing">
-    <value>216, 48</value>
-  </data>
-  <data name="TilesetLimitPanel.TabIndex" type="System.Int32, mscorlib">
-    <value>12</value>
-  </data>
   <data name=">>TilesetLimitPanel.Name" xml:space="preserve">
     <value>TilesetLimitPanel</value>
   </data>
@@ -856,240 +841,6 @@
   <data name=">>panel2.ZOrder" xml:space="preserve">
     <value>1</value>
   </data>
-  <data name="ModfiedOverrideWarning.AutoSize" type="System.Boolean, mscorlib">
-    <value>True</value>
-  </data>
-  <data name="ModfiedOverrideWarning.Location" type="System.Drawing.Point, System.Drawing">
-    <value>8, 96</value>
-  </data>
-  <data name="ModfiedOverrideWarning.Size" type="System.Drawing.Size, System.Drawing">
-    <value>105, 13</value>
-  </data>
-  <data name="ModfiedOverrideWarning.TabIndex" type="System.Int32, mscorlib">
-    <value>19</value>
-  </data>
-  <data name="ModfiedOverrideWarning.Text" xml:space="preserve">
-    <value>Coordinates modified</value>
-  </data>
-  <data name="ModfiedOverrideWarning.Visible" type="System.Boolean, mscorlib">
-    <value>False</value>
-  </data>
-  <data name=">>ModfiedOverrideWarning.Name" xml:space="preserve">
-    <value>ModfiedOverrideWarning</value>
-  </data>
-  <data name=">>ModfiedOverrideWarning.Type" xml:space="preserve">
-    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>ModfiedOverrideWarning.Parent" xml:space="preserve">
-    <value>BoundsOverride</value>
-  </data>
-  <data name=">>ModfiedOverrideWarning.ZOrder" xml:space="preserve">
-    <value>0</value>
-  </data>
-  <data name="ResetBounds.Location" type="System.Drawing.Point, System.Drawing">
-    <value>136, 88</value>
-  </data>
-  <data name="ResetBounds.Size" type="System.Drawing.Size, System.Drawing">
-    <value>88, 24</value>
-  </data>
-  <data name="ResetBounds.TabIndex" type="System.Int32, mscorlib">
-    <value>18</value>
-  </data>
-  <data name="ResetBounds.Text" xml:space="preserve">
-    <value>Reset</value>
-  </data>
-  <data name=">>ResetBounds.Name" xml:space="preserve">
-    <value>ResetBounds</value>
-  </data>
-  <data name=">>ResetBounds.Type" xml:space="preserve">
-    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>ResetBounds.Parent" xml:space="preserve">
-    <value>BoundsOverride</value>
-  </data>
-  <data name=">>ResetBounds.ZOrder" xml:space="preserve">
-    <value>1</value>
-  </data>
-  <data name="txtUpperY.Location" type="System.Drawing.Point, System.Drawing">
-    <value>144, 50</value>
-  </data>
-  <data name="txtUpperY.Size" type="System.Drawing.Size, System.Drawing">
-    <value>80, 20</value>
-  </data>
-  <data name="txtUpperY.TabIndex" type="System.Int32, mscorlib">
-    <value>17</value>
-  </data>
-  <data name=">>txtUpperY.Name" xml:space="preserve">
-    <value>txtUpperY</value>
-  </data>
-  <data name=">>txtUpperY.Type" xml:space="preserve">
-    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>txtUpperY.Parent" xml:space="preserve">
-    <value>BoundsOverride</value>
-  </data>
-  <data name=">>txtUpperY.ZOrder" xml:space="preserve">
-    <value>2</value>
-  </data>
-  <data name="label4.Location" type="System.Drawing.Point, System.Drawing">
-    <value>120, 50</value>
-  </data>
-  <data name="label4.Size" type="System.Drawing.Size, System.Drawing">
-    <value>16, 16</value>
-  </data>
-  <data name="label4.TabIndex" type="System.Int32, mscorlib">
-    <value>16</value>
-  </data>
-  <data name="label4.Text" xml:space="preserve">
-    <value>Y</value>
-  </data>
-  <data name=">>label4.Name" xml:space="preserve">
-    <value>label4</value>
-  </data>
-  <data name=">>label4.Type" xml:space="preserve">
-    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>label4.Parent" xml:space="preserve">
-    <value>BoundsOverride</value>
-  </data>
-  <data name=">>label4.ZOrder" xml:space="preserve">
-    <value>3</value>
-  </data>
-  <data name="txtUpperX.Location" type="System.Drawing.Point, System.Drawing">
-    <value>32, 50</value>
-  </data>
-  <data name="txtUpperX.Size" type="System.Drawing.Size, System.Drawing">
-    <value>72, 20</value>
-  </data>
-  <data name="txtUpperX.TabIndex" type="System.Int32, mscorlib">
-    <value>15</value>
-  </data>
-  <data name=">>txtUpperX.Name" xml:space="preserve">
-    <value>txtUpperX</value>
-  </data>
-  <data name=">>txtUpperX.Type" xml:space="preserve">
-    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>txtUpperX.Parent" xml:space="preserve">
-    <value>BoundsOverride</value>
-  </data>
-  <data name=">>txtUpperX.ZOrder" xml:space="preserve">
-    <value>4</value>
-  </data>
-  <data name="label5.Location" type="System.Drawing.Point, System.Drawing">
-    <value>8, 50</value>
-  </data>
-  <data name="label5.Size" type="System.Drawing.Size, System.Drawing">
-    <value>16, 16</value>
-  </data>
-  <data name="label5.TabIndex" type="System.Int32, mscorlib">
-    <value>14</value>
-  </data>
-  <data name="label5.Text" xml:space="preserve">
-    <value>X</value>
-  </data>
-  <data name=">>label5.Name" xml:space="preserve">
-    <value>label5</value>
-  </data>
-  <data name=">>label5.Type" xml:space="preserve">
-    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>label5.Parent" xml:space="preserve">
-    <value>BoundsOverride</value>
-  </data>
-  <data name=">>label5.ZOrder" xml:space="preserve">
-    <value>5</value>
-  </data>
-  <data name="txtLowerY.Location" type="System.Drawing.Point, System.Drawing">
-    <value>144, 24</value>
-  </data>
-  <data name="txtLowerY.Size" type="System.Drawing.Size, System.Drawing">
-    <value>80, 20</value>
-  </data>
-  <data name="txtLowerY.TabIndex" type="System.Int32, mscorlib">
-    <value>13</value>
-  </data>
-  <data name=">>txtLowerY.Name" xml:space="preserve">
-    <value>txtLowerY</value>
-  </data>
-  <data name=">>txtLowerY.Type" xml:space="preserve">
-    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>txtLowerY.Parent" xml:space="preserve">
-    <value>BoundsOverride</value>
-  </data>
-  <data name=">>txtLowerY.ZOrder" xml:space="preserve">
-    <value>6</value>
-  </data>
-  <data name="label10.Location" type="System.Drawing.Point, System.Drawing">
-    <value>120, 24</value>
-  </data>
-  <data name="label10.Size" type="System.Drawing.Size, System.Drawing">
-    <value>16, 16</value>
-  </data>
-  <data name="label10.TabIndex" type="System.Int32, mscorlib">
-    <value>12</value>
-  </data>
-  <data name="label10.Text" xml:space="preserve">
-    <value>Y</value>
-  </data>
-  <data name=">>label10.Name" xml:space="preserve">
-    <value>label10</value>
-  </data>
-  <data name=">>label10.Type" xml:space="preserve">
-    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>label10.Parent" xml:space="preserve">
-    <value>BoundsOverride</value>
-  </data>
-  <data name=">>label10.ZOrder" xml:space="preserve">
-    <value>7</value>
-  </data>
-  <data name="txtLowerX.Location" type="System.Drawing.Point, System.Drawing">
-    <value>32, 24</value>
-  </data>
-  <data name="txtLowerX.Size" type="System.Drawing.Size, System.Drawing">
-    <value>72, 20</value>
-  </data>
-  <data name="txtLowerX.TabIndex" type="System.Int32, mscorlib">
-    <value>11</value>
-  </data>
-  <data name=">>txtLowerX.Name" xml:space="preserve">
-    <value>txtLowerX</value>
-  </data>
-  <data name=">>txtLowerX.Type" xml:space="preserve">
-    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>txtLowerX.Parent" xml:space="preserve">
-    <value>BoundsOverride</value>
-  </data>
-  <data name=">>txtLowerX.ZOrder" xml:space="preserve">
-    <value>8</value>
-  </data>
-  <data name="label11.Location" type="System.Drawing.Point, System.Drawing">
-    <value>8, 24</value>
-  </data>
-  <data name="label11.Size" type="System.Drawing.Size, System.Drawing">
-    <value>16, 16</value>
-  </data>
-  <data name="label11.TabIndex" type="System.Int32, mscorlib">
-    <value>10</value>
-  </data>
-  <data name="label11.Text" xml:space="preserve">
-    <value>X</value>
-  </data>
-  <data name=">>label11.Name" xml:space="preserve">
-    <value>label11</value>
-  </data>
-  <data name=">>label11.Type" xml:space="preserve">
-    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </data>
-  <data name=">>label11.Parent" xml:space="preserve">
-    <value>BoundsOverride</value>
-  </data>
-  <data name=">>label11.ZOrder" xml:space="preserve">
-    <value>9</value>
-  </data>
   <data name="txtConnectionString.Location" type="System.Drawing.Point, System.Drawing">
     <value>14, 87</value>
   </data>
@@ -1339,6 +1090,231 @@
   <data name=">>label1.ZOrder" xml:space="preserve">
     <value>4</value>
   </data>
+  <data name="lnkCalcMpu.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="lnkCalcMpu.Location" type="System.Drawing.Point, System.Drawing">
+    <value>13, 134</value>
+  </data>
+  <data name="lnkCalcMpu.Size" type="System.Drawing.Size, System.Drawing">
+    <value>123, 13</value>
+  </data>
+  <data name="lnkCalcMpu.TabIndex" type="System.Int32, mscorlib">
+    <value>14</value>
+  </data>
+  <data name="lnkCalcMpu.Text" xml:space="preserve">
+    <value>Calculate meters-per-unit</value>
+  </data>
+  <data name=">>lnkCalcMpu.Name" xml:space="preserve">
+    <value>lnkCalcMpu</value>
+  </data>
+  <data name=">>lnkCalcMpu.Type" xml:space="preserve">
+    <value>System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>lnkCalcMpu.Parent" xml:space="preserve">
+    <value>grpTileSettings</value>
+  </data>
+  <data name=">>lnkCalcMpu.ZOrder" xml:space="preserve">
+    <value>0</value>
+  </data>
+  <data name=">>MetersPerUnit.Name" xml:space="preserve">
+    <value>MetersPerUnit</value>
+  </data>
+  <data name=">>MetersPerUnit.Type" xml:space="preserve">
+    <value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>MetersPerUnit.Parent" xml:space="preserve">
+    <value>OfficialMethodPanel</value>
+  </data>
+  <data name=">>MetersPerUnit.ZOrder" xml:space="preserve">
+    <value>0</value>
+  </data>
+  <data name=">>label8.Name" xml:space="preserve">
+    <value>label8</value>
+  </data>
+  <data name=">>label8.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>label8.Parent" xml:space="preserve">
+    <value>OfficialMethodPanel</value>
+  </data>
+  <data name=">>label8.ZOrder" xml:space="preserve">
+    <value>1</value>
+  </data>
+  <data name="OfficialMethodPanel.Location" type="System.Drawing.Point, System.Drawing">
+    <value>14, 97</value>
+  </data>
+  <data name="OfficialMethodPanel.Size" type="System.Drawing.Size, System.Drawing">
+    <value>216, 24</value>
+  </data>
+  <data name="OfficialMethodPanel.TabIndex" type="System.Int32, mscorlib">
+    <value>13</value>
+  </data>
+  <data name=">>OfficialMethodPanel.Name" xml:space="preserve">
+    <value>OfficialMethodPanel</value>
+  </data>
+  <data name=">>OfficialMethodPanel.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>OfficialMethodPanel.Parent" xml:space="preserve">
+    <value>grpTileSettings</value>
+  </data>
+  <data name=">>OfficialMethodPanel.ZOrder" xml:space="preserve">
+    <value>1</value>
+  </data>
+  <data name="MetersPerUnit.Location" type="System.Drawing.Point, System.Drawing">
+    <value>104, 0</value>
+  </data>
+  <data name="MetersPerUnit.Size" type="System.Drawing.Size, System.Drawing">
+    <value>104, 20</value>
+  </data>
+  <data name="MetersPerUnit.TabIndex" type="System.Int32, mscorlib">
+    <value>9</value>
+  </data>
+  <data name="MetersPerUnit.ToolTip" xml:space="preserve">
+    <value>The number of meters pr. map unit</value>
+  </data>
+  <data name=">>MetersPerUnit.Name" xml:space="preserve">
+    <value>MetersPerUnit</value>
+  </data>
+  <data name=">>MetersPerUnit.Type" xml:space="preserve">
+    <value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>MetersPerUnit.Parent" xml:space="preserve">
+    <value>OfficialMethodPanel</value>
+  </data>
+  <data name=">>MetersPerUnit.ZOrder" xml:space="preserve">
+    <value>0</value>
+  </data>
+  <data name="label8.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="label8.Location" type="System.Drawing.Point, System.Drawing">
+    <value>16, 0</value>
+  </data>
+  <data name="label8.Size" type="System.Drawing.Size, System.Drawing">
+    <value>74, 13</value>
+  </data>
+  <data name="label8.TabIndex" type="System.Int32, mscorlib">
+    <value>8</value>
+  </data>
+  <data name="label8.Text" xml:space="preserve">
+    <value>Meters pr. unit</value>
+  </data>
+  <data name=">>label8.Name" xml:space="preserve">
+    <value>label8</value>
+  </data>
+  <data name=">>label8.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>label8.Parent" xml:space="preserve">
+    <value>OfficialMethodPanel</value>
+  </data>
+  <data name=">>label8.ZOrder" xml:space="preserve">
+    <value>1</value>
+  </data>
+  <data name="LimitTileset.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="LimitTileset.Location" type="System.Drawing.Point, System.Drawing">
+    <value>14, 19</value>
+  </data>
+  <data name="LimitTileset.Size" type="System.Drawing.Size, System.Drawing">
+    <value>118, 17</value>
+  </data>
+  <data name="LimitTileset.TabIndex" type="System.Int32, mscorlib">
+    <value>11</value>
+  </data>
+  <data name="LimitTileset.Text" xml:space="preserve">
+    <value>Limit number of tiles</value>
+  </data>
+  <data name="LimitTileset.ToolTip" xml:space="preserve">
+    <value>Set a limit on the number of tiles generated, note that this may prevent all tiles from being created</value>
+  </data>
+  <data name=">>LimitTileset.Name" xml:space="preserve">
+    <value>LimitTileset</value>
+  </data>
+  <data name=">>LimitTileset.Type" xml:space="preserve">
+    <value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>LimitTileset.Parent" xml:space="preserve">
+    <value>grpTileSettings</value>
+  </data>
+  <data name=">>LimitTileset.ZOrder" xml:space="preserve">
+    <value>2</value>
+  </data>
+  <data name=">>MaxRowLimit.Name" xml:space="preserve">
+    <value>MaxRowLimit</value>
+  </data>
+  <data name=">>MaxRowLimit.Type" xml:space="preserve">
+    <value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>MaxRowLimit.Parent" xml:space="preserve">
+    <value>TilesetLimitPanel</value>
+  </data>
+  <data name=">>MaxRowLimit.ZOrder" xml:space="preserve">
+    <value>0</value>
+  </data>
+  <data name=">>label6.Name" xml:space="preserve">
+    <value>label6</value>
+  </data>
+  <data name=">>label6.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>label6.Parent" xml:space="preserve">
+    <value>TilesetLimitPanel</value>
+  </data>
+  <data name=">>label6.ZOrder" xml:space="preserve">
+    <value>1</value>
+  </data>
+  <data name=">>MaxColLimit.Name" xml:space="preserve">
+    <value>MaxColLimit</value>
+  </data>
+  <data name=">>MaxColLimit.Type" xml:space="preserve">
+    <value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>MaxColLimit.Parent" xml:space="preserve">
+    <value>TilesetLimitPanel</value>
+  </data>
+  <data name=">>MaxColLimit.ZOrder" xml:space="preserve">
+    <value>2</value>
+  </data>
+  <data name=">>label7.Name" xml:space="preserve">
+    <value>label7</value>
+  </data>
+  <data name=">>label7.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>label7.Parent" xml:space="preserve">
+    <value>TilesetLimitPanel</value>
+  </data>
+  <data name=">>label7.ZOrder" xml:space="preserve">
+    <value>3</value>
+  </data>
+  <data name="TilesetLimitPanel.Enabled" type="System.Boolean, mscorlib">
+    <value>False</value>
+  </data>
+  <data name="TilesetLimitPanel.Location" type="System.Drawing.Point, System.Drawing">
+    <value>14, 43</value>
+  </data>
+  <data name="TilesetLimitPanel.Size" type="System.Drawing.Size, System.Drawing">
+    <value>216, 48</value>
+  </data>
+  <data name="TilesetLimitPanel.TabIndex" type="System.Int32, mscorlib">
+    <value>12</value>
+  </data>
+  <data name=">>TilesetLimitPanel.Name" xml:space="preserve">
+    <value>TilesetLimitPanel</value>
+  </data>
+  <data name=">>TilesetLimitPanel.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>TilesetLimitPanel.Parent" xml:space="preserve">
+    <value>grpTileSettings</value>
+  </data>
+  <data name=">>TilesetLimitPanel.ZOrder" xml:space="preserve">
+    <value>3</value>
+  </data>
   <data name="MaxRowLimit.Location" type="System.Drawing.Point, System.Drawing">
     <value>104, 0</value>
   </data>

Modified: trunk/Tools/Maestro/MgCooker/Strings.Designer.cs
===================================================================
--- trunk/Tools/Maestro/MgCooker/Strings.Designer.cs	2017-01-25 13:28:11 UTC (rev 9123)
+++ trunk/Tools/Maestro/MgCooker/Strings.Designer.cs	2017-01-25 14:01:47 UTC (rev 9124)
@@ -8,10 +8,10 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace MgCooker
-{
-
-
+namespace MgCooker {
+    using System;
+    
+    
     /// <summary>
     ///   A strongly-typed resource class, for looking up localized strings, etc.
     /// </summary>
@@ -360,6 +360,15 @@
         }
         
         /// <summary>
+        ///   Looks up a localized string similar to Preparing Map.
+        /// </summary>
+        internal static string PreparingMap {
+            get {
+                return ResourceManager.GetString("PreparingMap", resourceCulture);
+            }
+        }
+        
+        /// <summary>
         ///   Looks up a localized string similar to {0}, remaining time: {1}.
         /// </summary>
         internal static string RemainingTime {

Modified: trunk/Tools/Maestro/MgCooker/Strings.resx
===================================================================
--- trunk/Tools/Maestro/MgCooker/Strings.resx	2017-01-25 13:28:11 UTC (rev 9123)
+++ trunk/Tools/Maestro/MgCooker/Strings.resx	2017-01-25 14:01:47 UTC (rev 9124)
@@ -243,6 +243,9 @@
     <value>MgCooker is now paused, click OK to resume rendering</value>
     <comment>A text message displayed when MgCooker is paused</comment>
   </data>
+  <data name="PreparingMap" xml:space="preserve">
+    <value>Preparing Map</value>
+  </data>
   <data name="RemainingTime" xml:space="preserve">
     <value>{0}, remaining time: {1}</value>
     <comment>Label that displays the remaining time</comment>



More information about the mapguide-commits mailing list