[fusion-commits] r1250 - in trunk: MapServer
templates/mapguide/standard
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Mar 13 13:25:47 EDT 2008
Author: pagameba
Date: 2008-03-13 13:25:47 -0400 (Thu, 13 Mar 2008)
New Revision: 1250
Modified:
trunk/MapServer/MapServer.js
trunk/templates/mapguide/standard/ApplicationDefinition.xml
Log:
Re #23. Bring patch for missing functions into trunk. Still need to actually do an implementation before closing.
Modified: trunk/MapServer/MapServer.js
===================================================================
--- trunk/MapServer/MapServer.js 2008-03-13 16:57:26 UTC (rev 1249)
+++ trunk/MapServer/MapServer.js 2008-03-13 17:25:47 UTC (rev 1250)
@@ -215,8 +215,9 @@
this.layerRoot.legendLabel = this._sMapTitle;
this.parseMapLayersAndGroups(o);
- var minScale = 1.0e10;
- var maxScale = 0;
+
+ var minScale = 1.0e10;
+ var maxScale = 0;
for (var i=0; i<this.aLayers.length; i++) {
if (this.aLayers[i].visible) {
this.aVisibleLayers.push(this.aLayers[i].layerName);
@@ -675,7 +676,16 @@
var params = {};
params.parameters = 'session='+this.getSessionID();
Fusion.ajaxRequest(s, params);
- }
+ },
+
+ getGroupInfoUrl: function(groupName) {
+ return null;
+ },
+
+ getLayerInfoUrl: function(layerName) {
+ return null;
+ }
+
};
Modified: trunk/templates/mapguide/standard/ApplicationDefinition.xml
===================================================================
--- trunk/templates/mapguide/standard/ApplicationDefinition.xml 2008-03-13 16:57:26 UTC (rev 1249)
+++ trunk/templates/mapguide/standard/ApplicationDefinition.xml 2008-03-13 17:25:47 UTC (rev 1250)
@@ -277,28 +277,7 @@
</Item>
</Container>
-
<!-- ******************************************
-* Placeholder Widget
- ****************************************** -->
-
- <Widget xsi:type="WidgetType">
- <Name>menuPlaceholder</Name>
- <Type>InvokeScript</Type>
- <StatusItem/>
- <Extension>
- <Script>return true</Script>
- </Extension>
- <ImageUrl/>
- <ImageClass/>
- <Tooltip/>
- <Label>menu item</Label>
- <Disabled/>
- </Widget>
-
-
-
-<!-- ******************************************
* Context Menu - Widgets
*
* Widgets belonging to the map context menu
@@ -597,25 +576,6 @@
<Disabled/>
</Widget>
-
-<!-- FILE MENU LAUNCH NAVIGATOR -->
-
- <Widget xsi:type="WidgetType">
- <Name>showOverviewMap</Name>
- <Type>InvokeScript</Type>
- <StatusItem/>
- <Extension>
- <Script>showOverviewMap()</Script>
- </Extension>
- <ImageUrl>images/icons/navigator.png</ImageUrl>
- <ImageClass/>
- <Tooltip>Launch Overview Map</Tooltip>
- <Label>Launch Overview Map</Label>
- <Disabled/>
- </Widget>
-
-
-
<!-- ******************************************
* Toolbar - Widgets
*
@@ -698,7 +658,7 @@
<ImageUrl>images/icons/help.png</ImageUrl>
<ImageClass/>
<Tooltip/>
- <Label>Help</Label>
+ <Label></Label>
<Disabled/>
</Widget>
@@ -724,7 +684,7 @@
<ImageUrl>images/icons/select-clear.png</ImageUrl>
<ImageClass/>
<Tooltip/>
- <Label>Clear Selection</Label>
+ <Label></Label>
<Disabled/>
</Widget>
@@ -737,7 +697,7 @@
<ImageUrl>images/icons/select-radius.png</ImageUrl>
<ImageClass/>
<Tooltip>Select Radius</Tooltip>
- <Label>Select Radius</Label>
+ <Label></Label>
<Disabled/>
</Widget>
@@ -750,7 +710,7 @@
<ImageUrl>images/icons/select-polygon.png</ImageUrl>
<ImageClass/>
<Tooltip>Select Polygon</Tooltip>
- <Label>Select Polygon</Label>
+ <Label></Label>
<Disabled/>
</Widget>
@@ -832,7 +792,7 @@
<ImageUrl>images/icons/select-features.png</ImageUrl>
<ImageClass/>
<Tooltip>Select Within</Tooltip>
- <Label>Select Within</Label>
+ <Label></Label>
<Disabled/>
</Widget>
@@ -888,24 +848,6 @@
</Extension>
</Widget>
-<!-- STATUS NAVIGATOR -->
-
- <Widget xsi:type="WidgetType">
- <Name>StatusNavigator</Name>
- <Type>InvokeScript</Type>
- <StatusItem/>
- <Extension>
- <Script>showOverviewMap()</Script>
- </Extension>
- <ImageUrl>images/icons/navigator.png</ImageUrl>
- <ImageClass/>
- <Tooltip>Launch Overview Map</Tooltip>
- <Label/>
- <Disabled/>
- </Widget>
-
-
-
<!-- ******************************************
* Panels - Widgets
*
@@ -1070,7 +1012,7 @@
<ImageUrl>images/icons/file-print.png</ImageUrl>
<ImageClass/>
<Tooltip>Get printable page.</Tooltip>
- <Label>Print</Label>
+ <Label></Label>
<Disabled/>
</Widget>
More information about the fusion-commits
mailing list