[OpenLayers-Commits] r5117 - trunk/openlayers/examples

commits at openlayers.org commits at openlayers.org
Tue Nov 6 06:24:22 EST 2007


Author: sderle
Date: 2007-11-06 06:24:21 -0500 (Tue, 06 Nov 2007)
New Revision: 5117

Modified:
   trunk/openlayers/examples/attribution.html
   trunk/openlayers/examples/click.html
   trunk/openlayers/examples/controls.html
   trunk/openlayers/examples/example.html
   trunk/openlayers/examples/fullScreen.html
   trunk/openlayers/examples/image-layer.html
   trunk/openlayers/examples/layerswitcher.html
   trunk/openlayers/examples/mvs.html
   trunk/openlayers/examples/overviewmap.html
   trunk/openlayers/examples/wmst.html
Log:
Change examples from using OnEarth WMS because it no longer support 512px tiles.


Modified: trunk/openlayers/examples/attribution.html
===================================================================
--- trunk/openlayers/examples/attribution.html	2007-11-06 09:08:05 UTC (rev 5116)
+++ trunk/openlayers/examples/attribution.html	2007-11-06 11:24:21 UTC (rev 5117)
@@ -18,8 +18,8 @@
                 {'attribution': 'Provided by <a href="http://labs.metacarta.com/">MetaCarta</a>'}); 
 
             var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
-                "http://wms.jpl.nasa.gov/wms.cgi", 
-                {layers: "modis,global_mosaic"},{attribution:"Provided by NASA"});
+                "http://t1.hypercube.telascience.org/cgi-bin/landsat7", 
+                {layers: "landsat7"},{attribution:"Provided by Telascience"});
 
             map.addLayers([ol_wms, jpl_wms]);
             map.addControl(new OpenLayers.Control.LayerSwitcher());

Modified: trunk/openlayers/examples/click.html
===================================================================
--- trunk/openlayers/examples/click.html	2007-11-06 09:08:05 UTC (rev 5116)
+++ trunk/openlayers/examples/click.html	2007-11-06 11:24:21 UTC (rev 5117)
@@ -17,8 +17,8 @@
                 "http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} );
 
             var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
-                "http://wms.jpl.nasa.gov/wms.cgi", 
-                {layers: "modis,global_mosaic"});
+                "http://t1.hypercube.telascience.org/tiles/landsat7", 
+                {layers: "landsat7"});
 
             jpl_wms.setVisibility(false);
 

Modified: trunk/openlayers/examples/controls.html
===================================================================
--- trunk/openlayers/examples/controls.html	2007-11-06 09:08:05 UTC (rev 5116)
+++ trunk/openlayers/examples/controls.html	2007-11-06 11:24:21 UTC (rev 5117)
@@ -27,8 +27,8 @@
                 {layers: 'basic'} );
 
             var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
-                "http://wms.jpl.nasa.gov/wms.cgi", 
-                {layers: "modis,global_mosaic"});
+                "http://t1.hypercube.telascience.org/tiles/landsat7", 
+                {layers: "landsat7"});
 
             var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo",
                 "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",

Modified: trunk/openlayers/examples/example.html
===================================================================
--- trunk/openlayers/examples/example.html	2007-11-06 09:08:05 UTC (rev 5116)
+++ trunk/openlayers/examples/example.html	2007-11-06 11:24:21 UTC (rev 5117)
@@ -59,8 +59,8 @@
                             resolutions: [0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.00137329101]
             };
             var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
-                "http://wms.jpl.nasa.gov/wms.cgi", 
-                {layers: "modis,global_mosaic"}, options2);
+                "http://t1.hypercube.telascience.org/tiles/landsat7", 
+                {layers: "landsat7"}, options2);
 
             var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo",
                 "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",

Modified: trunk/openlayers/examples/fullScreen.html
===================================================================
--- trunk/openlayers/examples/fullScreen.html	2007-11-06 09:08:05 UTC (rev 5116)
+++ trunk/openlayers/examples/fullScreen.html	2007-11-06 11:24:21 UTC (rev 5117)
@@ -17,8 +17,8 @@
                 "http://labs.metacarta.com:80/wms/vmap0?", {layers: 'basic'}); 
 
             var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
-                "http://wms.jpl.nasa.gov/wms.cgi", 
-                {layers: "modis,global_mosaic"});
+                "http://t1.hypercube.telascience.org/tiles/landsat7", 
+                {layers: "landsat7"});
 
             var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo",
                 "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",

Modified: trunk/openlayers/examples/image-layer.html
===================================================================
--- trunk/openlayers/examples/image-layer.html	2007-11-06 09:08:05 UTC (rev 5116)
+++ trunk/openlayers/examples/image-layer.html	2007-11-06 11:24:21 UTC (rev 5117)
@@ -26,8 +26,8 @@
                                 options);
 
             var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
-                "http://wms.jpl.nasa.gov/wms.cgi", 
-                {layers: "modis,global_mosaic"}, options);
+                "http://t1.hypercube.telascience.org/tiles/landsat7", 
+                {layers: "landsat7"}, options);
 
             map.addLayers([graphic, jpl_wms]);
             map.addControl(new OpenLayers.Control.LayerSwitcher());

Modified: trunk/openlayers/examples/layerswitcher.html
===================================================================
--- trunk/openlayers/examples/layerswitcher.html	2007-11-06 09:08:05 UTC (rev 5116)
+++ trunk/openlayers/examples/layerswitcher.html	2007-11-06 11:24:21 UTC (rev 5117)
@@ -20,8 +20,8 @@
                 {layers: 'basic'}, {'displayInLayerSwitcher':false} );
 
             var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
-                "http://wms.jpl.nasa.gov/wms.cgi", 
-                {layers: "modis,global_mosaic"}, {'isBaseLayer': false});
+                "http://t1.hypercube.telascience.org/tiles/landsat7", 
+                {layers: "landsat7"}, {'isBaseLayer': false});
 
             var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo",
                 "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",

Modified: trunk/openlayers/examples/mvs.html
===================================================================
--- trunk/openlayers/examples/mvs.html	2007-11-06 09:08:05 UTC (rev 5116)
+++ trunk/openlayers/examples/mvs.html	2007-11-06 11:24:21 UTC (rev 5117)
@@ -88,10 +88,10 @@
             case 'nasa': 
                 theMVS.addLayer(
                     new OpenLayers.Layer.WMS("NASA Mosaic", 
-                       "http://wms.jpl.nasa.gov/wms.cgi",
+                       "http://t1.hypercube.telascience.org/tiles/landsat7",
                        {"EXCEPTIONS" : "application/vnd.ogc.se_inimage",
                         "format" : "image/jpeg",
-                        layers:"modis,global_mosaic"}
+                        layers:"landsat7"}
                        ));
                 break;
             case 'gmaps':

Modified: trunk/openlayers/examples/overviewmap.html
===================================================================
--- trunk/openlayers/examples/overviewmap.html	2007-11-06 09:08:05 UTC (rev 5116)
+++ trunk/openlayers/examples/overviewmap.html	2007-11-06 11:24:21 UTC (rev 5117)
@@ -39,8 +39,8 @@
         
         var jpl = new OpenLayers.Layer.WMS(
             "NASA Global Mosaic", 
-            "http://wms..nasa.gov/wms.cgi",
-            {layers: "modis,global_mosaic"}
+            "http://t1.hypercube.telascience.org/tiles/landsat7",
+            {layers: "landsat7"}
         );
         
         map1.addLayers([ol, jpl]);

Modified: trunk/openlayers/examples/wmst.html
===================================================================
--- trunk/openlayers/examples/wmst.html	2007-11-06 09:08:05 UTC (rev 5116)
+++ trunk/openlayers/examples/wmst.html	2007-11-06 11:24:21 UTC (rev 5117)
@@ -17,8 +17,8 @@
                 "http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} );
 
             var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
-                "http://wms.jpl.nasa.gov/wms.cgi", 
-                {layers: "modis,global_mosaic"});
+                "http://t1.hypercube.telascience.org/tiles/landsat7", 
+                {layers: "landsat7"});
 
             ia_wms = new OpenLayers.Layer.WMS("Nexrad","http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi?",{layers:"nexrad-n0r-wmst",transparent:true,format:'image/png',time:"2005-08-29T13:00:00Z"});
 



More information about the Commits mailing list