From def3fbece676eae35c6b96734b0c7c75b3f45491 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Mon, 4 Apr 2011 16:48:55 +0000 Subject: [PATCH] Updating wmc.html example to use a currently working service. git-svn-id: http://svn.openlayers.org/trunk/openlayers@11869 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/wmc.html | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/examples/wmc.html b/examples/wmc.html index d287781859..85830f6a14 100644 --- a/examples/wmc.html +++ b/examples/wmc.html @@ -31,16 +31,11 @@ }; map = new OpenLayers.Map("map", options); - var jpl = new OpenLayers.Layer.WMS( - "NASA Global Mosaic", - "http://t1.hypercube.telascience.org/cgi-bin/landsat7", - {layers: "landsat7"}, - { - maxExtent: new OpenLayers.Bounds(-130, 14, -60, 55), - maxResolution: 0.1, - numZoomLevels: 4, - minResolution: 0.02 - } + var gwc = new OpenLayers.Layer.WMS( + "Global Imagery", + "http://maps.opengeo.org/geowebcache/service/wms", + {layers: "bluemarble"}, + {tileOrigin: new OpenLayers.LonLat(-180, -90)} ); var vmap = new OpenLayers.Layer.WMS( @@ -90,9 +85,9 @@ } ); - map.addLayers([jpl, vmap, roads, nexrad]); + map.addLayers([gwc, vmap, roads, nexrad]); map.addControl(new OpenLayers.Control.LayerSwitcher()); - map.setCenter(new OpenLayers.LonLat(-95, 34.5), 1); + map.setCenter(new OpenLayers.LonLat(-95, 34.5), 4); }; function readWMC(merge) {