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
This commit is contained in:
+7
-12
@@ -31,16 +31,11 @@
|
|||||||
};
|
};
|
||||||
map = new OpenLayers.Map("map", options);
|
map = new OpenLayers.Map("map", options);
|
||||||
|
|
||||||
var jpl = new OpenLayers.Layer.WMS(
|
var gwc = new OpenLayers.Layer.WMS(
|
||||||
"NASA Global Mosaic",
|
"Global Imagery",
|
||||||
"http://t1.hypercube.telascience.org/cgi-bin/landsat7",
|
"http://maps.opengeo.org/geowebcache/service/wms",
|
||||||
{layers: "landsat7"},
|
{layers: "bluemarble"},
|
||||||
{
|
{tileOrigin: new OpenLayers.LonLat(-180, -90)}
|
||||||
maxExtent: new OpenLayers.Bounds(-130, 14, -60, 55),
|
|
||||||
maxResolution: 0.1,
|
|
||||||
numZoomLevels: 4,
|
|
||||||
minResolution: 0.02
|
|
||||||
}
|
|
||||||
);
|
);
|
||||||
|
|
||||||
var vmap = new OpenLayers.Layer.WMS(
|
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.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) {
|
function readWMC(merge) {
|
||||||
|
|||||||
Reference in New Issue
Block a user