[Commits] r1997 - in sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples: . data

commits at geoext.org commits at geoext.org
Wed Mar 17 15:50:57 CET 2010


Author: adube
Date: 2010-03-17 15:50:57 +0100 (Wed, 17 Mar 2010)
New Revision: 1997

Added:
   sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/data/dev4g.mapgears.com_cgi-bin_mswms_gmap.xml
Modified:
   sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserExample.html
   sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserExample.js
   sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserInWindowExample.html
   sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserInWindowExample.js
   sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/store.js
Log:
wmsbrowser - example not using proxy anymore (xml instead), example comments, new xmlcap added

Modified: sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserExample.html
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserExample.html	2010-03-17 14:30:11 UTC (rev 1996)
+++ sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserExample.html	2010-03-17 14:50:57 UTC (rev 1997)
@@ -23,15 +23,30 @@
     </head>
     <body>
         <h1>WMSBrowser example</h1>
+                
+        <p>
+          Select an url (currently xml files) from the list then click
+          'connect'.  A list of layers appears on the left grid.  Selecting one
+          parse some more information in the form to the right.  Double-clicking
+          on one shows a preview of the layer in a small popup.  After
+          selecting a layer, click on the 'Add Layer' button below to add it
+          to the map.
+        </p>
         
-        <p></p>
+        <p>
+          Please, note that the current example use xml files stored locally
+          in ./data/.  In order to be able to use external WMS urls, you must 
+          use a proxy because of the 'Same origin policy' of ajax requests in 
+          javascript.  One is included in this folder.  Simply go to the js file
+          below and uncomment the 'OpenLayers.ProxyURL' line to use it.
+        </p>
         
-        <p></p>
+        <p>
+          See
+          <a href="WMSBrowserExample.js">WMSBrowserExample.js</a>
+          for the source code.
+        </p>
         
-        <p></p>
-        
-        <p>See <a href="WMSBrowserExample.js">WMSBrowserExample.js</a> for the source code.</p>
-        
         <div id="content"></div>
     </body>
 </html>

Modified: sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserExample.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserExample.js	2010-03-17 14:30:11 UTC (rev 1996)
+++ sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserExample.js	2010-03-17 14:50:57 UTC (rev 1997)
@@ -1,6 +1,6 @@
 var WMSBrowser, mapPanel;
 
-OpenLayers.ProxyHost = "./proxy.php?url=";
+//OpenLayers.ProxyHost = "./proxy.php?url=";
 
 Ext.onReady(function() {
 

Modified: sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserInWindowExample.html
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserInWindowExample.html	2010-03-17 14:30:11 UTC (rev 1996)
+++ sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserInWindowExample.html	2010-03-17 14:50:57 UTC (rev 1997)
@@ -24,14 +24,35 @@
     <body>
         <h1>WMSBrowser (in Window) example</h1>
         
-        <p></p>
+        <p>
+          Click on the 'WMSBrowser' button to open the widget in a window.
+        </p>
+
+        <p>
+          Select an url (currently xml files) from the list then click
+          'connect'.  A list of layers appears on the left grid.  Selecting one
+          parse some more information in the form to the right.  Double-clicking
+          on one shows a preview of the layer in a small popup.  After
+          selecting a layer, click on the 'Add Layer' button below to add it
+          to the map.
+        </p>
         
-        <p></p>
+        <p>
+          Please, note that the current example use xml files stored locally
+          in ./data/.  In order to be able to use external WMS urls, you must 
+          use a proxy because of the 'Same origin policy' of ajax requests in 
+          javascript.  One is included in this folder.  Simply go to the js file
+          below and uncomment the 'OpenLayers.ProxyURL' line to use it.
+        </p>
         
-        <p></p>
+        <p>
+          See
+          <a href="WMSBrowserInWindowExample.js">
+            WMSBrowserInWindowExample.js
+          </a>
+          for the source code.
+        </p>
         
-        <p>See <a href="WMSBrowserInWindowExample.js">WMSBrowserInWindowExample.js</a> for the source code.</p>
-        
         <div id="content"></div>
     </body>
 </html>

Modified: sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserInWindowExample.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserInWindowExample.js	2010-03-17 14:30:11 UTC (rev 1996)
+++ sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/WMSBrowserInWindowExample.js	2010-03-17 14:50:57 UTC (rev 1997)
@@ -1,6 +1,6 @@
 var WMSBrowser, mapPanel, browserWindow, tree;
 
-OpenLayers.ProxyHost = "./proxy.php?url=";
+//OpenLayers.ProxyHost = "./proxy.php?url=";
 
 Ext.onReady(function() {
 

Added: sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/data/dev4g.mapgears.com_cgi-bin_mswms_gmap.xml
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/data/dev4g.mapgears.com_cgi-bin_mswms_gmap.xml	                        (rev 0)
+++ sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/data/dev4g.mapgears.com_cgi-bin_mswms_gmap.xml	2010-03-17 14:50:57 UTC (rev 1997)
@@ -0,0 +1,285 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
+<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd" [
+ <!ELEMENT VendorSpecificCapabilities EMPTY>
+ ]>
+<!-- end of DOCTYPE declaration -->
+<WMT_MS_Capabilities version="1.1.1">
+
+<!-- MapServer version 5.4.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
+
+<Service>
+  <Name>OGC:WMS</Name>
+  <Title>GMap WMS Demo Server</Title>
+  <Abstract>This demonstration server was setup by DM Solutions Group (http://www.dmsolutions.ca/) and is powered by the UMN MapServer (http://mapserver.org/).  This server uses Canadian source data (c)2000, Government of Canada with permission from Natural Resources Canada from NRCan's GeoGratis 
+web site (http://geogratis.cgdi.gc.ca/).</Abstract>
+  <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?"/>
+  <ContactInformation>
+  </ContactInformation>
+</Service>
+
+<Capability>
+  <Request>
+    <GetCapabilities>
+      <Format>application/vnd.ogc.wms_xml</Format>
+      <DCPType>
+        <HTTP>
+          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?"/></Get>
+          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?"/></Post>
+        </HTTP>
+      </DCPType>
+    </GetCapabilities>
+    <GetMap>
+      <Format>image/png</Format>
+      <Format>image/gif</Format>
+      <Format>image/png; mode=24bit</Format>
+      <Format>image/jpeg</Format>
+      <Format>image/vnd.wap.wbmp</Format>
+      <Format>image/tiff</Format>
+      <Format>image/svg+xml</Format>
+      <DCPType>
+        <HTTP>
+          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?"/></Get>
+          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?"/></Post>
+        </HTTP>
+      </DCPType>
+    </GetMap>
+    <GetFeatureInfo>
+      <Format>text/plain</Format>
+      <Format>text/html</Format>
+      <Format>application/vnd.ogc.gml</Format>
+      <DCPType>
+        <HTTP>
+          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?"/></Get>
+          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?"/></Post>
+        </HTTP>
+      </DCPType>
+    </GetFeatureInfo>
+    <DescribeLayer>
+      <Format>text/xml</Format>
+      <DCPType>
+        <HTTP>
+          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?"/></Get>
+          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?"/></Post>
+        </HTTP>
+      </DCPType>
+    </DescribeLayer>
+    <GetLegendGraphic>
+      <Format>image/png</Format>
+      <Format>image/gif</Format>
+      <Format>image/png; mode=24bit</Format>
+      <Format>image/jpeg</Format>
+      <Format>image/vnd.wap.wbmp</Format>
+      <DCPType>
+        <HTTP>
+          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?"/></Get>
+          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?"/></Post>
+        </HTTP>
+      </DCPType>
+    </GetLegendGraphic>
+    <GetStyles>
+      <Format>text/xml</Format>
+      <DCPType>
+        <HTTP>
+          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?"/></Get>
+          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?"/></Post>
+        </HTTP>
+      </DCPType>
+    </GetStyles>
+  </Request>
+  <Exception>
+    <Format>application/vnd.ogc.se_xml</Format>
+    <Format>application/vnd.ogc.se_inimage</Format>
+    <Format>application/vnd.ogc.se_blank</Format>
+  </Exception>
+  <VendorSpecificCapabilities/>
+  <UserDefinedSymbolization SupportSLD="1" UserLayer="0" UserStyle="1" RemoteWFS="0"/>
+  <Layer>
+    <Name>DEMO</Name>
+    <Title>GMap WMS Demo Server</Title>
+    <SRS>EPSG:42304</SRS>
+    <SRS>EPSG:42101</SRS>
+    <SRS>EPSG:4269</SRS>
+    <SRS>EPSG:4326</SRS>
+    <SRS>EPSG:900913</SRS>
+    <LatLonBoundingBox minx="-178.864" miny="31.8948" maxx="179.914" maxy="89.8172"/>
+    <BoundingBox SRS="EPSG:42304" minx="-2.75155e+06" miny="-935783" maxx="3.58285e+06" maxy="4.67412e+06"/>
+    <Layer>
+      <Name>base</Name>
+<!-- WARNING: Mandatory metadata '..._GROUP_TITLE' was missing in this context. -->
+      <Title>base</Title>
+      <Abstract>base</Abstract>
+      <Layer queryable="0" opaque="0" cascaded="0">
+        <Name>bathymetry</Name>
+        <Title>Elevation/Bathymetry</Title>
+        <SRS>EPSG:42304</SRS>
+        <!-- WARNING: Optional LatLonBoundingBox could not be established for this layer.  Consider setting LAYER.EXTENT or wms_extent metadata. Also check that your data exists in the DATA statement -->
+      </Layer>
+      <Layer queryable="0" opaque="0" cascaded="0">
+        <Name>land_fn</Name>
+        <Title>Foreign Lands</Title>
+        <SRS>EPSG:42304</SRS>
+        <LatLonBoundingBox minx="-178.838" miny="31.8844" maxx="179.94" maxy="89.8254"/>
+        <BoundingBox SRS="EPSG:42304" minx="-2.75056e+06" miny="-936638" maxx="3.58387e+06" maxy="4.67312e+06"/>
+        <Style>
+          <Name>default</Name>
+          <Title>default</Title>
+          <LegendURL width="124" height="23">
+             <Format>image/png</Format>
+             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=land_fn&amp;format=image/png&amp;STYLE=default"/>
+          </LegendURL>
+        </Style>
+      </Layer>
+      <Layer queryable="0" opaque="0" cascaded="0">
+        <Name>drain_fn</Name>
+        <Title>Water</Title>
+        <SRS>EPSG:42304</SRS>
+        <LatLonBoundingBox minx="-179.973" miny="35.2464" maxx="179.92" maxy="88.06"/>
+        <BoundingBox SRS="EPSG:42304" minx="-2.75056e+06" miny="-936638" maxx="2.75882e+06" maxy="4.36727e+06"/>
+        <Style>
+          <Name>default</Name>
+          <Title>default</Title>
+          <LegendURL width="68" height="23">
+             <Format>image/png</Format>
+             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=drain_fn&amp;format=image/png&amp;STYLE=default"/>
+          </LegendURL>
+        </Style>
+      </Layer>
+      <Layer queryable="0" opaque="0" cascaded="0">
+        <Name>drainage</Name>
+        <Title>Drainage</Title>
+        <SRS>EPSG:42304</SRS>
+        <LatLonBoundingBox minx="-169.629" miny="39.2232" maxx="-15.1085" maxy="83.0129"/>
+        <BoundingBox SRS="EPSG:42304" minx="-2.1694e+06" miny="-386968" maxx="2.79747e+06" maxy="3.74336e+06"/>
+        <Style>
+          <Name>default</Name>
+          <Title>default</Title>
+          <LegendURL width="68" height="23">
+             <Format>image/png</Format>
+             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=drainage&amp;format=image/png&amp;STYLE=default"/>
+          </LegendURL>
+        </Style>
+      </Layer>
+    </Layer>
+    <Layer queryable="1" opaque="0" cascaded="0">
+        <Name>park</Name>
+        <Title>Parks</Title>
+        <SRS>EPSG:42304</SRS>
+        <LatLonBoundingBox minx="-173.433" miny="41.4271" maxx="-13.0481" maxy="83.7466"/>
+        <BoundingBox SRS="EPSG:42304" minx="-2.3468e+06" miny="-67422.4" maxx="2.84037e+06" maxy="3.83012e+06"/>
+        <Style>
+          <Name>default</Name>
+          <Title>default</Title>
+          <LegendURL width="68" height="23">
+             <Format>image/png</Format>
+             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=park&amp;format=image/png&amp;STYLE=default"/>
+          </LegendURL>
+        </Style>
+    </Layer>
+    <Layer queryable="0" opaque="0" cascaded="0">
+        <Name>prov_bound</Name>
+        <Title>Province</Title>
+        <SRS>EPSG:42304</SRS>
+        <LatLonBoundingBox minx="-173.537" miny="35.8775" maxx="-11.9603" maxy="83.8009"/>
+        <BoundingBox SRS="EPSG:42304" minx="-2.3406e+06" miny="-719746" maxx="3.00943e+06" maxy="3.83661e+06"/>
+        <Style>
+          <Name>default</Name>
+          <Title>default</Title>
+          <LegendURL width="89" height="23">
+             <Format>image/png</Format>
+             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=prov_bound&amp;format=image/png&amp;STYLE=default"/>
+          </LegendURL>
+        </Style>
+    </Layer>
+    <Layer queryable="1" opaque="0" cascaded="0">
+        <Name>prov_bound_poly</Name>
+        <Title>Province</Title>
+        <SRS>EPSG:42304</SRS>
+        <LatLonBoundingBox minx="-173.537" miny="35.8775" maxx="-11.9603" maxy="83.8009"/>
+        <BoundingBox SRS="EPSG:42304" minx="-2.3406e+06" miny="-719746" maxx="3.00943e+06" maxy="3.83661e+06"/>
+        <Style>
+          <Name>default</Name>
+          <Title>default</Title>
+          <LegendURL width="138" height="23">
+             <Format>image/png</Format>
+             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=prov_bound_poly&amp;format=image/png&amp;STYLE=default"/>
+          </LegendURL>
+        </Style>
+    </Layer>
+    <Layer queryable="0" opaque="0" cascaded="0">
+        <Name>fedlimit</Name>
+        <Title>Federal Limit</Title>
+        <SRS>EPSG:42304</SRS>
+        <LatLonBoundingBox minx="-179.96" miny="34.2409" maxx="178.833" maxy="89.9051"/>
+        <BoundingBox SRS="EPSG:42304" minx="-2.69358e+06" miny="-724162" maxx="3.38519e+06" maxy="4.6545e+06"/>
+        <Style>
+          <Name>default</Name>
+          <Title>default</Title>
+          <LegendURL width="124" height="23">
+             <Format>image/png</Format>
+             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=fedlimit&amp;format=image/png&amp;STYLE=default"/>
+          </LegendURL>
+        </Style>
+    </Layer>
+    <Layer queryable="0" opaque="0" cascaded="0">
+        <Name>rail</Name>
+        <Title>Railroads</Title>
+        <SRS>EPSG:42304</SRS>
+        <LatLonBoundingBox minx="-137.447" miny="37.7146" maxx="-46.3201" maxy="66.7201"/>
+        <BoundingBox SRS="EPSG:42304" minx="-2.14572e+06" miny="-680853" maxx="2.61606e+06" maxy="1.93097e+06"/>
+        <Style>
+          <Name>default</Name>
+          <Title>default</Title>
+          <LegendURL width="96" height="23">
+             <Format>image/png</Format>
+             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=rail&amp;format=image/png&amp;STYLE=default"/>
+          </LegendURL>
+        </Style>
+    </Layer>
+    <Layer queryable="0" opaque="0" cascaded="0">
+        <Name>road</Name>
+        <Title>Roads</Title>
+        <SRS>EPSG:42304</SRS>
+        <LatLonBoundingBox minx="-179.56" miny="-61.784" maxx="179.235" maxy="-35.4622"/>
+        <BoundingBox SRS="EPSG:42304" minx="-2.5e+07" miny="-2.5e+07" maxx="2.5e+07" maxy="2.5e+07"/>
+        <Style>
+          <Name>default</Name>
+          <Title>default</Title>
+          <LegendURL width="68" height="23">
+             <Format>image/png</Format>
+             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=road&amp;format=image/png&amp;STYLE=default"/>
+          </LegendURL>
+        </Style>
+    </Layer>
+    <Layer queryable="1" opaque="0" cascaded="0">
+        <Name>popplace</Name>
+        <Title>Cities</Title>
+        <SRS>EPSG:42304</SRS>
+        <LatLonBoundingBox minx="-179.56" miny="-61.784" maxx="179.235" maxy="-35.4622"/>
+        <BoundingBox SRS="EPSG:42304" minx="-2.5e+07" miny="-2.5e+07" maxx="2.5e+07" maxy="2.5e+07"/>
+        <Style>
+          <Name>default</Name>
+          <Title>default</Title>
+          <LegendURL width="215" height="77">
+             <Format>image/png</Format>
+             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=popplace&amp;format=image/png&amp;STYLE=default"/>
+          </LegendURL>
+        </Style>
+    </Layer>
+    <Layer queryable="0" opaque="0" cascaded="0">
+        <Name>grid</Name>
+        <Title>Grid</Title>
+        <SRS>EPSG:42304</SRS>
+        <LatLonBoundingBox minx="-178.838" miny="31.8844" maxx="179.94" maxy="89.8254"/>
+        <BoundingBox SRS="EPSG:42304" minx="-2.75056e+06" miny="-936639" maxx="3.58387e+06" maxy="4.67312e+06"/>
+        <Style>
+          <Name>default</Name>
+          <Title>default</Title>
+          <LegendURL width="96" height="23">
+             <Format>image/png</Format>
+             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://dev4g.mapgears.com/cgi-bin/mswms_gmap?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=grid&amp;format=image/png&amp;STYLE=default"/>
+          </LegendURL>
+        </Style>
+    </Layer>
+  </Layer>
+</Capability>
+</WMT_MS_Capabilities>
\ No newline at end of file


Property changes on: sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/data/dev4g.mapgears.com_cgi-bin_mswms_gmap.xml
___________________________________________________________________
Name: svn:mime-type
   + text/xml
Name: svn:eol-style
   + native

Modified: sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/store.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/store.js	2010-03-17 14:30:11 UTC (rev 1996)
+++ sandbox/mapgears/geoext.ux/ux/WMSBrowser/examples/store.js	2010-03-17 14:50:57 UTC (rev 1997)
@@ -1,7 +1,8 @@
 var oServerStore  = new Ext.data.SimpleStore({
     fields: ['url'],
     data : [
-        ['./data/wmscap.xml'],
-        ['http://dev4g.mapgears.com/cgi-bin/mswms_gmap']
+        ['./data/wmscap.xml']
+        ,['./data/dev4g.mapgears.com_cgi-bin_mswms_gmap.xml']
+        //,['http://dev4g.mapgears.com/cgi-bin/mswms_gmap']
     ]
 });



More information about the Commits mailing list