[Commits] r1555 - sandbox/cmoullet/ux/GoogleEarthPanel/examples

commits at geoext.org commits at geoext.org
Fri Dec 4 21:27:10 CET 2009


Author: cmoullet
Date: 2009-12-04 21:27:10 +0100 (Fri, 04 Dec 2009)
New Revision: 1555

Modified:
   sandbox/cmoullet/ux/GoogleEarthPanel/examples/GoogleEarthPanelWmsExample.js
Log:
WMS support V0.1

Modified: sandbox/cmoullet/ux/GoogleEarthPanel/examples/GoogleEarthPanelWmsExample.js
===================================================================
--- sandbox/cmoullet/ux/GoogleEarthPanel/examples/GoogleEarthPanelWmsExample.js	2009-12-04 19:48:56 UTC (rev 1554)
+++ sandbox/cmoullet/ux/GoogleEarthPanel/examples/GoogleEarthPanelWmsExample.js	2009-12-04 20:27:10 UTC (rev 1555)
@@ -12,15 +12,15 @@
 
     layer = new OpenLayers.Layer.WMS(
             "GeoServer WMS",
-            "http://sigma.openplans.org/geoserver/ows?",
-    {layers: 'bluemarble'},
+            "http://sigma.openplans.org/geoserver/wms?",
+    {layers: 'za:za_vegetation'},
     {singleTile: true}
             );
 
 
     var map = new OpenLayers.Map();
 
-    var center = new OpenLayers.LonLat(6.25, 46.38);
+    var center = new OpenLayers.LonLat(25.01,-32.675);
 
     var mouse = new OpenLayers.Control.MousePosition();
 
@@ -87,7 +87,7 @@
                 map: map,
                 layers: [layer],
                 center: center,
-                zoom: 12,
+                zoom: 15,
                 split: true,
                 tbar: toolbar
             },



More information about the Commits mailing list