[Commits] r1556 - sandbox/cmoullet/ux/GoogleEarthPanel/examples
commits at geoext.org
commits at geoext.org
Fri Dec 4 21:44:44 CET 2009
Author: cmoullet
Date: 2009-12-04 21:44:43 +0100 (Fri, 04 Dec 2009)
New Revision: 1556
Modified:
sandbox/cmoullet/ux/GoogleEarthPanel/examples/GoogleEarthPanelWmsExample.js
Log:
Better example of WMS integration
Modified: sandbox/cmoullet/ux/GoogleEarthPanel/examples/GoogleEarthPanelWmsExample.js
===================================================================
--- sandbox/cmoullet/ux/GoogleEarthPanel/examples/GoogleEarthPanelWmsExample.js 2009-12-04 20:27:10 UTC (rev 1555)
+++ sandbox/cmoullet/ux/GoogleEarthPanel/examples/GoogleEarthPanelWmsExample.js 2009-12-04 20:44:43 UTC (rev 1556)
@@ -13,14 +13,14 @@
layer = new OpenLayers.Layer.WMS(
"GeoServer WMS",
"http://sigma.openplans.org/geoserver/wms?",
- {layers: 'za:za_vegetation'},
+ {layers: 'topp:states'},
{singleTile: true}
);
var map = new OpenLayers.Map();
- var center = new OpenLayers.LonLat(25.01,-32.675);
+ var center = new OpenLayers.LonLat(-98.3,39.9);
var mouse = new OpenLayers.Control.MousePosition();
@@ -70,9 +70,9 @@
id: 'googleEarthPanelItem',
map: map,
altitude: 50,
- heading: -60,
+ heading: 21.5,
tilt: 70,
- range: 700
+ range: 1485370
};
viewport = new Ext.Viewport({
@@ -87,7 +87,7 @@
map: map,
layers: [layer],
center: center,
- zoom: 15,
+ zoom: 3,
split: true,
tbar: toolbar
},
More information about the Commits
mailing list