Change examples from using OnEarth WMS because it no longer support 512px tiles.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5117 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -18,8 +18,8 @@
|
|||||||
{'attribution': 'Provided by <a href="http://labs.metacarta.com/">MetaCarta</a>'});
|
{'attribution': 'Provided by <a href="http://labs.metacarta.com/">MetaCarta</a>'});
|
||||||
|
|
||||||
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
||||||
"http://wms.jpl.nasa.gov/wms.cgi",
|
"http://t1.hypercube.telascience.org/cgi-bin/landsat7",
|
||||||
{layers: "modis,global_mosaic"},{attribution:"Provided by NASA"});
|
{layers: "landsat7"},{attribution:"Provided by Telascience"});
|
||||||
|
|
||||||
map.addLayers([ol_wms, jpl_wms]);
|
map.addLayers([ol_wms, jpl_wms]);
|
||||||
map.addControl(new OpenLayers.Control.LayerSwitcher());
|
map.addControl(new OpenLayers.Control.LayerSwitcher());
|
||||||
|
|||||||
+2
-2
@@ -17,8 +17,8 @@
|
|||||||
"http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} );
|
"http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} );
|
||||||
|
|
||||||
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
||||||
"http://wms.jpl.nasa.gov/wms.cgi",
|
"http://t1.hypercube.telascience.org/tiles/landsat7",
|
||||||
{layers: "modis,global_mosaic"});
|
{layers: "landsat7"});
|
||||||
|
|
||||||
jpl_wms.setVisibility(false);
|
jpl_wms.setVisibility(false);
|
||||||
|
|
||||||
|
|||||||
@@ -27,8 +27,8 @@
|
|||||||
{layers: 'basic'} );
|
{layers: 'basic'} );
|
||||||
|
|
||||||
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
||||||
"http://wms.jpl.nasa.gov/wms.cgi",
|
"http://t1.hypercube.telascience.org/tiles/landsat7",
|
||||||
{layers: "modis,global_mosaic"});
|
{layers: "landsat7"});
|
||||||
|
|
||||||
var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo",
|
var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo",
|
||||||
"http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",
|
"http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",
|
||||||
|
|||||||
@@ -59,8 +59,8 @@
|
|||||||
resolutions: [0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.00137329101]
|
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",
|
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
||||||
"http://wms.jpl.nasa.gov/wms.cgi",
|
"http://t1.hypercube.telascience.org/tiles/landsat7",
|
||||||
{layers: "modis,global_mosaic"}, options2);
|
{layers: "landsat7"}, options2);
|
||||||
|
|
||||||
var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo",
|
var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo",
|
||||||
"http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",
|
"http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
"http://labs.metacarta.com:80/wms/vmap0?", {layers: 'basic'});
|
"http://labs.metacarta.com:80/wms/vmap0?", {layers: 'basic'});
|
||||||
|
|
||||||
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
||||||
"http://wms.jpl.nasa.gov/wms.cgi",
|
"http://t1.hypercube.telascience.org/tiles/landsat7",
|
||||||
{layers: "modis,global_mosaic"});
|
{layers: "landsat7"});
|
||||||
|
|
||||||
var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo",
|
var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo",
|
||||||
"http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",
|
"http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",
|
||||||
|
|||||||
@@ -26,8 +26,8 @@
|
|||||||
options);
|
options);
|
||||||
|
|
||||||
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
||||||
"http://wms.jpl.nasa.gov/wms.cgi",
|
"http://t1.hypercube.telascience.org/tiles/landsat7",
|
||||||
{layers: "modis,global_mosaic"}, options);
|
{layers: "landsat7"}, options);
|
||||||
|
|
||||||
map.addLayers([graphic, jpl_wms]);
|
map.addLayers([graphic, jpl_wms]);
|
||||||
map.addControl(new OpenLayers.Control.LayerSwitcher());
|
map.addControl(new OpenLayers.Control.LayerSwitcher());
|
||||||
|
|||||||
@@ -20,8 +20,8 @@
|
|||||||
{layers: 'basic'}, {'displayInLayerSwitcher':false} );
|
{layers: 'basic'}, {'displayInLayerSwitcher':false} );
|
||||||
|
|
||||||
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
||||||
"http://wms.jpl.nasa.gov/wms.cgi",
|
"http://t1.hypercube.telascience.org/tiles/landsat7",
|
||||||
{layers: "modis,global_mosaic"}, {'isBaseLayer': false});
|
{layers: "landsat7"}, {'isBaseLayer': false});
|
||||||
|
|
||||||
var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo",
|
var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo",
|
||||||
"http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",
|
"http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",
|
||||||
|
|||||||
+2
-2
@@ -88,10 +88,10 @@ function runMVS() {
|
|||||||
case 'nasa':
|
case 'nasa':
|
||||||
theMVS.addLayer(
|
theMVS.addLayer(
|
||||||
new OpenLayers.Layer.WMS("NASA Mosaic",
|
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",
|
{"EXCEPTIONS" : "application/vnd.ogc.se_inimage",
|
||||||
"format" : "image/jpeg",
|
"format" : "image/jpeg",
|
||||||
layers:"modis,global_mosaic"}
|
layers:"landsat7"}
|
||||||
));
|
));
|
||||||
break;
|
break;
|
||||||
case 'gmaps':
|
case 'gmaps':
|
||||||
|
|||||||
@@ -39,8 +39,8 @@
|
|||||||
|
|
||||||
var jpl = new OpenLayers.Layer.WMS(
|
var jpl = new OpenLayers.Layer.WMS(
|
||||||
"NASA Global Mosaic",
|
"NASA Global Mosaic",
|
||||||
"http://wms..nasa.gov/wms.cgi",
|
"http://t1.hypercube.telascience.org/tiles/landsat7",
|
||||||
{layers: "modis,global_mosaic"}
|
{layers: "landsat7"}
|
||||||
);
|
);
|
||||||
|
|
||||||
map1.addLayers([ol, jpl]);
|
map1.addLayers([ol, jpl]);
|
||||||
|
|||||||
+2
-2
@@ -17,8 +17,8 @@
|
|||||||
"http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} );
|
"http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} );
|
||||||
|
|
||||||
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
|
||||||
"http://wms.jpl.nasa.gov/wms.cgi",
|
"http://t1.hypercube.telascience.org/tiles/landsat7",
|
||||||
{layers: "modis,global_mosaic"});
|
{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"});
|
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"});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user