From ada8b17b40001cb00ed85f0097b643a453c7c8de Mon Sep 17 00:00:00 2001 From: crschmidt Date: Tue, 13 Jun 2006 23:57:58 +0000 Subject: [PATCH] CIESIN second layer. These are from http://beta.sedac.ciesin.columbia.edu/mapserver/ , btw. git-svn-id: http://svn.openlayers.org/trunk/openlayers@583 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/ciesin.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/ciesin.html b/examples/ciesin.html index 10b304da90..05a6824119 100644 --- a/examples/ciesin.html +++ b/examples/ciesin.html @@ -19,10 +19,13 @@ var jpl_wms = new OpenLayers.Layer.WMS( "Population Density 2000", "http://beta.sedac.ciesin.columbia.edu/mapserver/wms/gpw2000", {layers: "gpw"}); + var cie_wms = new OpenLayers.Layer.WMS( "Human Footprint", + "http://beta.sedac.ciesin.columbia.edu/mapserver/wms/hfoot", + {layers: "hfoot"}); + jpl_wms.setVisibility(false); - - map.addLayers([ol_wms, jpl_wms]); + map.addLayers([ol_wms, jpl_wms, cie_wms]); map.addControl(new OpenLayers.Control.LayerSwitcher()); map.setCenter(new OpenLayers.LonLat(0, 0), 0); }