[mapguide-commits] r6339 - in trunk/Tools/Maestro: MaestroAPITests
OSGeo.MapGuide.MaestroAPI OSGeo.MapGuide.MaestroAPI/ObjectModels
OSGeo.MapGuide.MaestroAPI/Properties
OSGeo.MapGuide.MaestroAPI/Resources
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Thu Dec 15 08:15:28 EST 2011
Author: jng
Date: 2011-12-15 05:15:28 -0800 (Thu, 15 Dec 2011)
New Revision: 6339
Added:
trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Resources/BaseTemplate.ApplicationDefinition1.xml
Modified:
trunk/Tools/Maestro/MaestroAPITests/ResourceTests.cs
trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/OSGeo.MapGuide.MaestroAPI.csproj
trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/ObjectFactory.cs
trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Properties/Resources.Designer.cs
trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Properties/Resources.resx
Log:
#1883: Add support for new maptip widget in Fusion editor, which is a UI-based toggler. This is needed for the next release of MapGuide because otherwise map tooltips will not work.
Modified: trunk/Tools/Maestro/MaestroAPITests/ResourceTests.cs
===================================================================
--- trunk/Tools/Maestro/MaestroAPITests/ResourceTests.cs 2011-12-15 12:10:42 UTC (rev 6338)
+++ trunk/Tools/Maestro/MaestroAPITests/ResourceTests.cs 2011-12-15 13:15:28 UTC (rev 6339)
@@ -56,6 +56,7 @@
//Generated classes have built in Clone() methods. Verify they check out
_mocks = new Mockery();
var conn = _mocks.NewMock<IServerConnection>();
+ Stub.On(conn).GetProperty("SiteVersion").Will(Return.Value(new Version(2, 2, 0, 0)));
var caps = _mocks.NewMock<IConnectionCapabilities>();
Stub.On(conn).GetProperty("Capabilities").Will(Return.Value(caps));
foreach (var rt in Enum.GetValues(typeof(ResourceTypes)))
@@ -63,7 +64,7 @@
Stub.On(caps).Method("GetMaxSupportedResourceVersion").With(rt).Will(Return.Value(new Version(1, 0, 0)));
}
- var app = ObjectFactory.DeserializeEmbeddedFlexLayout();
+ var app = ObjectFactory.DeserializeEmbeddedFlexLayout(conn);
var app2 = app.Clone();
Assert.AreNotSame(app, app2);
@@ -104,6 +105,7 @@
public void TestValidResourceIdentifiers()
{
var conn = _mocks.NewMock<IServerConnection>();
+ Stub.On(conn).GetProperty("SiteVersion").Will(Return.Value(new Version(2, 2, 0, 0)));
var caps = _mocks.NewMock<IConnectionCapabilities>();
Stub.On(conn).GetProperty("Capabilities").Will(Return.Value(caps));
foreach (var rt in Enum.GetValues(typeof(ResourceTypes)))
@@ -245,7 +247,7 @@
}
#endregion
- res = ObjectFactory.DeserializeEmbeddedFlexLayout();
+ res = ObjectFactory.DeserializeEmbeddedFlexLayout(conn);
#region Application Definition
try
{
Modified: trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/OSGeo.MapGuide.MaestroAPI.csproj
===================================================================
--- trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/OSGeo.MapGuide.MaestroAPI.csproj 2011-12-15 12:10:42 UTC (rev 6338)
+++ trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/OSGeo.MapGuide.MaestroAPI.csproj 2011-12-15 13:15:28 UTC (rev 6339)
@@ -477,6 +477,7 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="ObjectModels\readme.txt" />
+ <None Include="Resources\BaseTemplate.ApplicationDefinition1.xml" />
<None Include="CoreTypes.cd" />
<None Include="Resources\BaseTemplate.ApplicationDefinition.xml" />
</ItemGroup>
Modified: trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/ObjectFactory.cs
===================================================================
--- trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/ObjectFactory.cs 2011-12-15 12:10:42 UTC (rev 6338)
+++ trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/ObjectFactory.cs 2011-12-15 13:15:28 UTC (rev 6339)
@@ -563,6 +563,8 @@
return vert;
}
+ static Version VER_240 = new Version(2, 4);
+
/// <summary>
/// Creates a fusion flexible layout
/// </summary>
@@ -618,7 +620,7 @@
{
//NOTE: Depending on MapGuide Server version, this document may be
//invalid (eg. References to widgets not available in that version)
- return DeserializeEmbeddedFlexLayout();
+ return DeserializeEmbeddedFlexLayout(owner);
}
//Toolbars, every template has them
@@ -776,6 +778,11 @@
toolbar.AddItem(appDef.CreateSeparator());
toolbar.AddItem(appDef.CreateWidgetReference(KnownWidgetNames.RefreshMap));
+ //2.4 requires maptips to be a toggle widget
+ if (owner.SiteVersion >= VER_240)
+ {
+ toolbar.AddItem(appDef.CreateWidgetReference(KnownWidgetNames.Maptip));
+ }
toolbar.AddItem(appDef.CreateWidgetReference(KnownWidgetNames.SelectRadius));
toolbar.AddItem(appDef.CreateWidgetReference(KnownWidgetNames.SelectPolygon));
toolbar.AddItem(appDef.CreateWidgetReference(KnownWidgetNames.ClearSelection));
@@ -913,9 +920,12 @@
return appDef;
}
- internal static IApplicationDefinition DeserializeEmbeddedFlexLayout()
+ internal static IApplicationDefinition DeserializeEmbeddedFlexLayout(IServerConnection owner)
{
- return (IApplicationDefinition)ResourceTypeRegistry.Deserialize(OSGeo.MapGuide.MaestroAPI.Properties.Resources.BaseTemplate_ApplicationDefinition);
+ if (owner.SiteVersion >= VER_240)
+ return (IApplicationDefinition)ResourceTypeRegistry.Deserialize(OSGeo.MapGuide.MaestroAPI.Properties.Resources.BaseTemplate240_ApplicationDefinition);
+ else
+ return (IApplicationDefinition)ResourceTypeRegistry.Deserialize(OSGeo.MapGuide.MaestroAPI.Properties.Resources.BaseTemplate_ApplicationDefinition);
}
/// <summary>
Modified: trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Properties/Resources.Designer.cs
===================================================================
--- trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Properties/Resources.Designer.cs 2011-12-15 12:10:42 UTC (rev 6338)
+++ trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Properties/Resources.Designer.cs 2011-12-15 13:15:28 UTC (rev 6339)
@@ -260,6 +260,25 @@
}
/// <summary>
+ /// Looks up a localized string similar to <?xml version="1.0"?>
+ ///<ApplicationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd">
+ /// <TemplateUrl>fusion/templates/mapguide/slate/index.html</TemplateUrl>
+ /// <MapSet>
+ /// <MapGroup id="MgMainMapId">
+ /// <Map>
+ /// <Type>MapGuide</Type>
+ /// <SingleTile>true</SingleTile>
+ /// <Extension>
+ /// <ResourceId />
+ /// <SelectionAsOverlay>true</SelectionAsOverla [rest of string was truncated]";.
+ /// </summary>
+ internal static string BaseTemplate240_ApplicationDefinition {
+ get {
+ return ResourceManager.GetString("BaseTemplate240_ApplicationDefinition", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Could not create load procedure of type: .
/// </summary>
internal static string CannotCreateLoadProcedureSubType {
Modified: trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Properties/Resources.resx
===================================================================
--- trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Properties/Resources.resx 2011-12-15 12:10:42 UTC (rev 6338)
+++ trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Properties/Resources.resx 2011-12-15 13:15:28 UTC (rev 6339)
@@ -480,7 +480,7 @@
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="BaseTemplate_ApplicationDefinition" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>..\Resources\BaseTemplate.ApplicationDefinition.xml;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
+ <value>..\Resources\BaseTemplate.ApplicationDefinition.xml;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;iso-8859-1</value>
</data>
<data name="UnknownSymbolDefVersion" xml:space="preserve">
<value>Unknown Symbol Definition version: </value>
@@ -545,4 +545,7 @@
<data name="Infinity" xml:space="preserve">
<value>Infinity</value>
</data>
+ <data name="BaseTemplate240_ApplicationDefinition" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\BaseTemplate.ApplicationDefinition1.xml;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
+ </data>
</root>
\ No newline at end of file
Added: trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Resources/BaseTemplate.ApplicationDefinition1.xml
===================================================================
--- trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Resources/BaseTemplate.ApplicationDefinition1.xml (rev 0)
+++ trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Resources/BaseTemplate.ApplicationDefinition1.xml 2011-12-15 13:15:28 UTC (rev 6339)
@@ -0,0 +1,1128 @@
+<?xml version="1.0"?>
+<ApplicationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd">
+ <TemplateUrl>fusion/templates/mapguide/slate/index.html</TemplateUrl>
+ <MapSet>
+ <MapGroup id="MgMainMapId">
+ <Map>
+ <Type>MapGuide</Type>
+ <SingleTile>true</SingleTile>
+ <Extension>
+ <ResourceId />
+ <SelectionAsOverlay>true</SelectionAsOverlay>
+ <SelectionColor>0x0000FFA0</SelectionColor>
+ </Extension>
+ </Map>
+ <Extension />
+ </MapGroup>
+ </MapSet>
+ <WidgetSet>
+ <Container xsi:type="UiItemContainerType">
+ <Name>Toolbar</Name>
+ <Type>Toolbar</Type>
+ <Position>top</Position>
+ <Extension />
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>RefreshMap</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Maptip</Widget>
+ </Item>
+ <Item xsi:type="SeparatorItemType">
+ <Function>Separator</Function>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>SelectRadius</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>SelectPolygon</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ClearSelection</Widget>
+ </Item>
+ <Item xsi:type="SeparatorItemType">
+ <Function>Separator</Function>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>BufferPanel</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Measure</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>FeatureInfo</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Query</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Theme</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Redline</Widget>
+ </Item>
+ <Item xsi:type="SeparatorItemType">
+ <Function>Separator</Function>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Print</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ViewOptions</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>About</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Help</Widget>
+ </Item>
+ </Container>
+ <Container xsi:type="UiItemContainerType">
+ <Name>ToolbarSecondary</Name>
+ <Type>Toolbar</Type>
+ <Position>top</Position>
+ <Extension />
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Select</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Pan</Widget>
+ </Item>
+ <Item xsi:type="SeparatorItemType">
+ <Function>Separator</Function>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Zoom</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ZoomIn</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ZoomOut</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>InitialMapView</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ZoomToSelection</Widget>
+ </Item>
+ <Item xsi:type="SeparatorItemType">
+ <Function>Separator</Function>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>PreviousView</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>NextView</Widget>
+ </Item>
+ </Container>
+ <Container xsi:type="UiItemContainerType">
+ <Name>ToolbarVertical</Name>
+ <Type>Toolbar</Type>
+ <Position>left</Position>
+ <Extension />
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>SelectNoLabel</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>PanNoLabel</Widget>
+ </Item>
+ <Item xsi:type="SeparatorItemType">
+ <Function>Separator</Function>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ZoomNoLabel</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ZoomInNoLabel</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ZoomOutNoLabel</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>InitialMapViewNoLabel</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ZoomToSelectionNoLabel</Widget>
+ </Item>
+ <Item xsi:type="SeparatorItemType">
+ <Function>Separator</Function>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>PreviousViewNoLabel</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>NextViewNoLabel</Widget>
+ </Item>
+ </Container>
+ <Container xsi:type="UiItemContainerType">
+ <Name>Statusbar</Name>
+ <Type>Splitterbar</Type>
+ <Position>bottom</Position>
+ <Extension />
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>StatusCoords</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>StatusSelection</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>StatusScale</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>StatusViewSize</Widget>
+ </Item>
+ </Container>
+ <Container xsi:type="UiItemContainerType">
+ <Name>FileMenu</Name>
+ <Type>Toolbar</Type>
+ <Position>top</Position>
+ <Extension />
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>MapMenu</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>BasemapSwitcher</Widget>
+ </Item>
+ <Item xsi:type="FlyoutItemType">
+ <Function>Flyout</Function>
+ <Label>View</Label>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ShowOverviewMap</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ShowTaskWindow</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ShowLegendWindow</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ShowSelectionWindow</Widget>
+ </Item>
+ </Item>
+ </Container>
+ <Container xsi:type="UiItemContainerType">
+ <Name>MapRightClickMenu</Name>
+ <Type>ContextMenu</Type>
+ <Position>top</Position>
+ <Extension />
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>RefreshMap</Widget>
+ </Item>
+ <Item xsi:type="SeparatorItemType">
+ <Function>Separator</Function>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Pan</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Zoom</Widget>
+ </Item>
+ <Item xsi:type="SeparatorItemType">
+ <Function>Separator</Function>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ZoomIn</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ZoomOut</Widget>
+ </Item>
+ <Item xsi:type="SeparatorItemType">
+ <Function>Separator</Function>
+ </Item>
+ <Item xsi:type="FlyoutItemType">
+ <Function>Flyout</Function>
+ <Label>Zoom</Label>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>InitialMapView</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>PreviousView</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>NextView</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ZoomToSelection</Widget>
+ </Item>
+ </Item>
+ <Item xsi:type="SeparatorItemType">
+ <Function>Separator</Function>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Select</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ClearSelection</Widget>
+ </Item>
+ <Item xsi:type="FlyoutItemType">
+ <Function>Flyout</Function>
+ <Label>Select More</Label>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>SelectRadius</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>SelectPolygon</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>SelectWithin</Widget>
+ </Item>
+ </Item>
+ <Item xsi:type="SeparatorItemType">
+ <Function>Separator</Function>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>BufferPanel</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Measure</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>FeatureInfo</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Query</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Theme</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Redline</Widget>
+ </Item>
+ <Item xsi:type="SeparatorItemType">
+ <Function>Separator</Function>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>ViewOptions</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Help</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>About</Widget>
+ </Item>
+ </Container>
+ <Container xsi:type="UiItemContainerType">
+ <Name>TaskMenu</Name>
+ <Type>ContextMenu</Type>
+ <Position>top</Position>
+ <Extension />
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>BufferPanel</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Measure</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>FeatureInfo</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Query</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Theme</Widget>
+ </Item>
+ <Item xsi:type="WidgetItemType">
+ <Function>Widget</Function>
+ <Widget>Redline</Widget>
+ </Item>
+ </Container>
+ <MapWidget>
+ <Name>Map</Name>
+ <Type>Map</Type>
+ <Extension>
+ <MenuContainer>MapRightClickMenu</MenuContainer>
+ </Extension>
+ <MapId>MgMainMapId</MapId>
+ </MapWidget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>About</Name>
+ <Type>About</Type>
+ <Location />
+ <Extension>
+ <AboutURL>widgets/About/About.html</AboutURL>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>about</ImageClass>
+ <Label>About</Label>
+ <Tooltip>Click to show information about this application</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget>
+ <Name>ActivityIndicator</Name>
+ <Type>ActivityIndicator</Type>
+ <Location />
+ <Extension>
+ <ElementId />
+ </Extension>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>BasemapSwitcher</Name>
+ <Type>BasemapSwitcher</Type>
+ <Location />
+ <Extension />
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>options</ImageClass>
+ <Label>External Providers</Label>
+ <Tooltip>Click to change the basemap</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>BufferPanel</Name>
+ <Type>BufferPanel</Type>
+ <Extension>
+ <Target>TaskPane</Target>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>buffer</ImageClass>
+ <Label>Buffer</Label>
+ <Tooltip>Click to create a buffer</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>ClearSelection</Name>
+ <Type>ClearSelection</Type>
+ <Extension />
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>select-clear</ImageClass>
+ <Label>Clear Selection</Label>
+ <Tooltip>Click to clear the current selection</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>PreviousView</Name>
+ <Type>ExtentHistory</Type>
+ <Extension>
+ <Direction>Previous</Direction>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>view-back</ImageClass>
+ <Label>Previous</Label>
+ <Tooltip>Zoom to previous extents</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>NextView</Name>
+ <Type>ExtentHistory</Type>
+ <Extension>
+ <Direction>Next</Direction>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>view-forward</ImageClass>
+ <Label>Next</Label>
+ <Tooltip>Zoom to next extents</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>Help</Name>
+ <Type>Help</Type>
+ <Location />
+ <Extension>
+ <Target>HelpWindow</Target>
+ <Url>widgets/Help/Help.html</Url>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>help</ImageClass>
+ <Label>Help</Label>
+ <Tooltip>Click to get help</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>InitialMapView</Name>
+ <Type>InitialMapView</Type>
+ <Location />
+ <Extension>
+ <ViewType>initial</ViewType>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>zoom-full</ImageClass>
+ <Label>Zoom Extents</Label>
+ <Tooltip>Click to zoom to the full map extents</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget>
+ <Name>Legend</Name>
+ <Type>Legend</Type>
+ <Location />
+ <Extension>
+ <HideInvisibleLayers>true</HideInvisibleLayers>
+ <ShowRootFolder>false</ShowRootFolder>
+ <DisabledLayerIcon>images/icons/legend-layer.png</DisabledLayerIcon>
+ <RootFolderIcon>images/icons/legend-map.png</RootFolderIcon>
+ <ShowMapFolder>false</ShowMapFolder>
+ <LayerThemeIcon>images/icons/legend-theme.png</LayerThemeIcon>
+ <LayerRasterIcon>images/icons/legend-raster.png</LayerRasterIcon>
+ <LayerInfoIcon>images/icons/tree_layer_info.png</LayerInfoIcon>
+ <LayerDWFIcon>images/icons/legend-DWF.png</LayerDWFIcon>
+ <GroupInfoIcon>images/icons/tree_group_info.png</GroupInfoIcon>
+ </Extension>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>MapMenu</Name>
+ <Type>MapMenu</Type>
+ <Location />
+ <Extension>
+ <Folder />
+ </Extension>
+ <ImageUrl />
+ <ImageClass />
+ <Label>Maps</Label>
+ <Tooltip>Choose a map theme</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>Maptip</Name>
+ <Type>Maptip</Type>
+ <Location />
+ <Extension>
+ <Tolerance>2</Tolerance>
+ <Target>MaptipWindow</Target>
+ <WinFeatures>menubar=no,location=no,resizable=no,status=no</WinFeatures>
+ <Delay>350</Delay>
+ <Layer />
+ </Extension>
+ <ImageUrl />
+ <ImageClass />
+ <Label>Maptip</Label>
+ <Tooltip>Click to Enable/Disable get information about features from Server</Tooltip>
+ <StatusText>Click to Enable/Disable get information about features from Server</StatusText>
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>Measure</Name>
+ <Type>Measure</Type>
+ <Location />
+ <Extension>
+ <DistancePrecision>4</DistancePrecision>
+ <MeasureTooltipContainer>MeasureContainerBox</MeasureTooltipContainer>
+ <MeasureTooltipType>static</MeasureTooltipType>
+ <MeasureTipPositionLeft>15</MeasureTipPositionLeft>
+ <Units>none</Units>
+ <LineStyleWidth>2</LineStyleWidth>
+ <MeasureTipPositionTop>100</MeasureTipPositionTop>
+ <LineStyleColor>rgba(0,0,255,0.3)</LineStyleColor>
+ <FillStyle>rgba(0,0,255, 0.3)</FillStyle>
+ <Target>TaskPane</Target>
+ <AreaPrecision>4</AreaPrecision>
+ <Type>Both</Type>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>measure</ImageClass>
+ <Label>Measure</Label>
+ <Tooltip>Measure distances and areas on the map</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>FeatureInfo</Name>
+ <Type>FeatureInfo</Type>
+ <Location />
+ <Extension>
+ <Target>TaskPane</Target>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>featureinfo</ImageClass>
+ <Label>Feature Info</Label>
+ <Tooltip>Click to display selected feature info</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>Query</Name>
+ <Type>Query</Type>
+ <Location />
+ <Extension>
+ <Target>TaskPane</Target>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>query</ImageClass>
+ <Label>Query</Label>
+ <Tooltip>Click to execute a custom query</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>Theme</Name>
+ <Type>Theme</Type>
+ <Location />
+ <Extension>
+ <Target>TaskPane</Target>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>theme</ImageClass>
+ <Label>Theme</Label>
+ <Tooltip>Click to create a themed layer</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>Redline</Name>
+ <Type>Redline</Type>
+ <Location />
+ <Extension>
+ <FeatureStyle />
+ <Target>TaskPane</Target>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>redline</ImageClass>
+ <Label>Redline</Label>
+ <Tooltip>Click to draw redline features</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget>
+ <Name>Navigator</Name>
+ <Type>Navigator</Type>
+ <Location />
+ <Extension />
+ </Widget>
+ <Widget>
+ <Name>OverviewMap</Name>
+ <Type>OverviewMap</Type>
+ <Location />
+ <Extension>
+ <MinRatio>32</MinRatio>
+ <MapId />
+ <MaxRatio>128</MaxRatio>
+ </Extension>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>Pan</Name>
+ <Type>Pan</Type>
+ <Location />
+ <Extension />
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>pan</ImageClass>
+ <Label>Pan</Label>
+ <Tooltip>Click and drag to pan the map</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>Print</Name>
+ <Type>Print</Type>
+ <Extension>
+ <ShowPrintUI>true</ShowPrintUI>
+ <ShowNorthArrow>false</ShowNorthArrow>
+ <PageTitle />
+ <ImageBaseUrl />
+ <ShowLegend>false</ShowLegend>
+ <ShowTitle>false</ShowTitle>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>file-print</ImageClass>
+ <Label>Print</Label>
+ <Tooltip>Print the current map view</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>RefreshMap</Name>
+ <Type>RefreshMap</Type>
+ <Location />
+ <Extension />
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>view-refresh</ImageClass>
+ <Label>Refresh</Label>
+ <Tooltip>Click to redraw the map</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>SaveMap</Name>
+ <Type>SaveMap</Type>
+ <Extension>
+ <Format>png</Format>
+ <Scale />
+ <ResourceId />
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>file-save</ImageClass>
+ <Label>Save map</Label>
+ <Tooltip>Click to save the map as an image</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>Select</Name>
+ <Type>Select</Type>
+ <Location />
+ <Extension>
+ <Tolerance>3</Tolerance>
+ <SelectionType>INTERSECTS</SelectionType>
+ <QueryActiveLayer>false</QueryActiveLayer>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>select</ImageClass>
+ <Label>Select</Label>
+ <Tooltip>Click to select features</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget>
+ <Name>SelectionPanel</Name>
+ <Type>SelectionPanel</Type>
+ <Location />
+ <Extension />
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>SelectPolygon</Name>
+ <Type>SelectPolygon</Type>
+ <Location />
+ <Extension>
+ <Tolerance>3</Tolerance>
+ <SelectionType>INTERSECTS</SelectionType>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>select-polygon</ImageClass>
+ <Label>Select Polygon</Label>
+ <Tooltip>Draw a polygon to perform a selection</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>SelectRadius</Name>
+ <Type>SelectRadius</Type>
+ <Extension>
+ <Tolerance>3</Tolerance>
+ <RadiusTooltipType>dynamic</RadiusTooltipType>
+ <RadiusTooltipContainer />
+ <SelectionType>INTERSECTS</SelectionType>
+ <DefaultRadius>20</DefaultRadius>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>select-radius</ImageClass>
+ <Label>Select Radius</Label>
+ <Tooltip>Click to select within a radius</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>SelectWithin</Name>
+ <Type>SelectWithin</Type>
+ <Location />
+ <Extension>
+ <Target>TaskPane</Target>
+ <DisableIfSelectionEmpty>true</DisableIfSelectionEmpty>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>select-features</ImageClass>
+ <Label>Select within</Label>
+ <Tooltip>Click to select features within this selection</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget>
+ <Name>TaskPane</Name>
+ <Type>TaskPane</Type>
+ <Location />
+ <Extension>
+ <MenuContainer>TaskMenu</MenuContainer>
+ <InitialTask />
+ </Extension>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>ViewOptions</Name>
+ <Type>ViewOptions</Type>
+ <Location />
+ <Extension>
+ <DisplayUnits />
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>options</ImageClass>
+ <Label>Options</Label>
+ <Tooltip>Click to change the units displayed</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>Zoom</Name>
+ <Type>Zoom</Type>
+ <Extension>
+ <Tolerance>5</Tolerance>
+ <Factor>2</Factor>
+ <Direction>in</Direction>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>zoom-in</ImageClass>
+ <Label>Zoom Rectangle</Label>
+ <Tooltip>Click or click and drag on the map to zoom in</Tooltip>
+ <StatusText>Click or click and drag on the map to zoom in</StatusText>
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>ZoomOut</Name>
+ <Type>ZoomOnClick</Type>
+ <Location />
+ <Extension>
+ <Factor>0.5</Factor>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>zoom-out-fixed</ImageClass>
+ <Label>Zoom Out</Label>
+ <Tooltip>Zoom out to display a larger area</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>ZoomIn</Name>
+ <Type>ZoomOnClick</Type>
+ <Location />
+ <Extension>
+ <Factor>2.0</Factor>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>zoom-in-fixed</ImageClass>
+ <Label>Zoom In</Label>
+ <Tooltip>Zoom in to display more detail</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>ZoomToSelection</Name>
+ <Type>ZoomToSelection</Type>
+ <Location />
+ <Extension>
+ <MaximumZoomDimension>-1</MaximumZoomDimension>
+ <ZoomFactor>2</ZoomFactor>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>select-zoom</ImageClass>
+ <Label>Zoom Selection</Label>
+ <Tooltip>Click to zoom to the selection</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>InitialMapViewNoLabel</Name>
+ <Type>InitialMapView</Type>
+ <Location />
+ <Extension>
+ <ViewType>initial</ViewType>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>zoom-full</ImageClass>
+ <Label />
+ <Tooltip>Click to zoom to the full map extents</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>NextViewNoLabel</Name>
+ <Type>ExtentHistory</Type>
+ <Extension>
+ <Direction>Next</Direction>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>view-forward</ImageClass>
+ <Label />
+ <Tooltip>Zoom to next extents</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>PanNoLabel</Name>
+ <Type>Pan</Type>
+ <Location />
+ <Extension />
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>pan</ImageClass>
+ <Label />
+ <Tooltip>Click and drag to pan the map</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>PreviousViewNoLabel</Name>
+ <Type>ExtentHistory</Type>
+ <Extension>
+ <Direction>Previous</Direction>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>view-back</ImageClass>
+ <Label />
+ <Tooltip>Zoom to previous extents</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>SelectNoLabel</Name>
+ <Type>Select</Type>
+ <Location />
+ <Extension>
+ <Tolerance>3</Tolerance>
+ <SelectionType>INTERSECTS</SelectionType>
+ <QueryActiveLayer>false</QueryActiveLayer>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>select</ImageClass>
+ <Label />
+ <Tooltip>Click to select features</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>ZoomNoLabel</Name>
+ <Type>Zoom</Type>
+ <Extension>
+ <Tolerance>5</Tolerance>
+ <Factor>2</Factor>
+ <Direction>in</Direction>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>zoom-in</ImageClass>
+ <Label />
+ <Tooltip>Click or click and drag on the map to zoom in</Tooltip>
+ <StatusText>Click or click and drag on the map to zoom in</StatusText>
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>ZoomInNoLabel</Name>
+ <Type>ZoomOnClick</Type>
+ <Location />
+ <Extension>
+ <Factor>2.0</Factor>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>zoom-in-fixed</ImageClass>
+ <Label />
+ <Tooltip>Zoom in to display more detail</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>ZoomOutNoLabel</Name>
+ <Type>ZoomOnClick</Type>
+ <Location />
+ <Extension>
+ <Factor>0.5</Factor>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>zoom-out-fixed</ImageClass>
+ <Label />
+ <Tooltip>Zoom out to display a larger area</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>ZoomToSelectionNoLabel</Name>
+ <Type>ZoomToSelection</Type>
+ <Location />
+ <Extension>
+ <MaximumZoomDimension>-1</MaximumZoomDimension>
+ <ZoomFactor>2</ZoomFactor>
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>select-zoom</ImageClass>
+ <Label />
+ <Tooltip>Click to zoom to the selection</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>ShowOverviewMap</Name>
+ <Type>InvokeScript</Type>
+ <Location />
+ <Extension>
+ <Script>showOverviewMap()</Script>
+ <Target />
+ </Extension>
+ <ImageUrl />
+ <ImageClass />
+ <Label>Show Overview Map</Label>
+ <Tooltip>Display the overview map window</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>ShowTaskWindow</Name>
+ <Type>InvokeScript</Type>
+ <Location />
+ <Extension>
+ <Script>showTaskPane()</Script>
+ <Target />
+ </Extension>
+ <ImageUrl />
+ <ImageClass />
+ <Label>Show Task Pane</Label>
+ <Tooltip>Display the task pane window</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>ShowLegendWindow</Name>
+ <Type>InvokeScript</Type>
+ <Location />
+ <Extension>
+ <Script>showLegend()</Script>
+ <Target />
+ </Extension>
+ <ImageUrl />
+ <ImageClass />
+ <Label>Show Legend</Label>
+ <Tooltip>Display the legend window</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>ShowSelectionWindow</Name>
+ <Type>InvokeScript</Type>
+ <Location />
+ <Extension>
+ <Script>showSelectionPanel()</Script>
+ <Target />
+ </Extension>
+ <ImageUrl />
+ <ImageClass />
+ <Label>Show Selection Panel</Label>
+ <Tooltip>Display the selection window</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget>
+ <Name>StatusCoords</Name>
+ <Type>CursorPosition</Type>
+ <Extension>
+ <Precision>4</Precision>
+ <Template>x: {x}, y: {y}</Template>
+ <Units>dd</Units>
+ </Extension>
+ </Widget>
+ <Widget>
+ <Name>StatusSelection</Name>
+ <Type>SelectionInfo</Type>
+ <Location />
+ <Extension>
+ <EmptyText>No features selected</EmptyText>
+ <Template>{0} feature(s) selected on {1} layer(s)</Template>
+ </Extension>
+ </Widget>
+ <Widget>
+ <Name>StatusScale</Name>
+ <Type>EditableScale</Type>
+ <Extension>
+ <Precision>4</Precision>
+ </Extension>
+ </Widget>
+ <Widget>
+ <Name>StatusViewSize</Name>
+ <Type>ViewSize</Type>
+ <Location />
+ <Extension>
+ <Precision>2</Precision>
+ <Template>{w} x {h} {units}</Template>
+ <Units>Meters</Units>
+ </Extension>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>StatusOverviewMap</Name>
+ <Type>InvokeScript</Type>
+ <Location />
+ <Extension>
+ <Script>showOverviewMap()</Script>
+ <Target />
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>iconNavigator</ImageClass>
+ <Label />
+ <Tooltip>Display the overview map window</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ <Widget xsi:type="UiWidgetType">
+ <Name>StatusNavigator</Name>
+ <Type>InvokeScript</Type>
+ <Location />
+ <Extension>
+ <Script>showOverviewMap()</Script>
+ <Target />
+ </Extension>
+ <ImageUrl>images/icons.png</ImageUrl>
+ <ImageClass>iconNavigator</ImageClass>
+ <Label />
+ <Tooltip>Display the overview map window</Tooltip>
+ <StatusText />
+ <Disabled>false</Disabled>
+ </Widget>
+ </WidgetSet>
+ <Extension />
+</ApplicationDefinition>
\ No newline at end of file
More information about the mapguide-commits
mailing list