[Commits] r2184 - in sandbox/camptocamp/extensions/geoext.ux/ux: . GoogleEarthPanel GoogleEarthPanel/examples GoogleEarthPanel/lib GoogleEarthPanel/lib/GeoExt.ux GoogleEarthPanel/tests GoogleEarthPanel/tests/lib GoogleEarthPanel/tests/lib/GeoExt.ux

commits at geoext.org commits at geoext.org
Wed May 12 16:44:47 CEST 2010


Author: aabt
Date: 2010-05-12 16:44:47 +0200 (Wed, 12 May 2010)
New Revision: 2184

Added:
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-synclocation.html
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-synclocation.js
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-viewport.html
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-viewport.js
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-window.html
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-window.js
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/lib/
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/lib/GeoExt.ux/
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/lib/GeoExt.ux/GoogleEarthPanel.js
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/lib/GeoExt.ux/SyncLocation.js
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/index.html
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/lib/
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/lib/GeoExt.ux/
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/lib/GeoExt.ux/GoogleEarthPanel.html
   sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/list-tests.html
Log:
[camptocamp/sandbox] minimal GoogleEarthPanel ux, needs some more work

Added: sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-synclocation.html
===================================================================
--- sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-synclocation.html	                        (rev 0)
+++ sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-synclocation.html	2010-05-12 14:44:47 UTC (rev 2184)
@@ -0,0 +1,39 @@
+<html>
+<head>
+    <title>Google Earth Panel in Viewport Example</title>
+
+    <script type="text/javascript" src="../../../../ext/adapter/ext/ext-base.js"></script>
+    <script type="text/javascript" src="../../../../ext/ext-all.js"></script>
+    <link rel="stylesheet" type="text/css" href="../../../../ext/resources/css/ext-all.css" />
+    <link rel="stylesheet" type="text/css" href="../../../../ext/examples/shared/examples.css" />
+    <script type="text/javascript" src="../../../../openlayers/lib/OpenLayers.js"></script>
+    <script type="text/javascript" src="../../../../geoext/lib/GeoExt.js"></script>
+
+    <!-- localhost -->
+    <!--
+    <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAY-I0w1WyNCVHbxpuwQWMpRTv_-xvSZ6KJmWSkQfCJoxbiB7tyBQ1ey_kgwA_p7sbTQSTOBeMyXtXkA"></script>
+    <script src='http://maps.google.com/maps?file=api&amp;key=ABQIAAAAY-I0w1WyNCVHbxpuwQWMpRTv_-xvSZ6KJmWSkQfCJoxbiB7tyBQ1ey_kgwA_p7sbTQSTOBeMyXtXkA"></script>
+    -->
+    <!-- 192.168.1.15 -->
+    <!--
+    <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAA_5ak-hsiH4j5bQQn7-k66xQ_dAQqo03RS56NMawtmNNQF2tmJBTbdhSnW7wTUVkZRWQ2HIO3IVM40Q"></script>
+    <script src='http://maps.google.com/maps?file=api&amp;key=ABQIAAAA_5ak-hsiH4j5bQQn7-k66xQ_dAQqo03RS56NMawtmNNQF2tmJBTbdhSnW7wTUVkZRWQ2HIO3IVM40Q"></script>
+    -->
+    <!-- http://10.26.10.19 -->
+    <!--
+    <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAKmGT8cJsj5QCxYRmvPQT-BT1Nozxxfz3mwzMcPFcTVbYKL_CQBSWiEGuCP2lF5JhEaKsDWOk55wGBw"></script>
+    <script src='http://maps.google.com/maps?file=api&amp;key=ABQIAAAAKmGT8cJsj5QCxYRmvPQT-BT1Nozxxfz3mwzMcPFcTVbYKL_CQBSWiEGuCP2lF5JhEaKsDWOk55wGBw"></script>
+    -->
+    <!-- dev.geoext.org -->
+    <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAKmGT8cJsj5QCxYRmvPQT-BTWxvN8zH6Ta_pgIhhU0TB7bG8iAhQxdUNgK7BehEXDOaDof-JFltooyA"></script>
+    <script src='http://maps.google.com/maps?file=api&amp;key=ABQIAAAAKmGT8cJsj5QCxYRmvPQT-BTWxvN8zH6Ta_pgIhhU0TB7bG8iAhQxdUNgK7BehEXDOaDof-JFltooyA"></script>
+
+    <script type="text/javascript" src="../lib/GeoExt.ux/GoogleEarthPanel.js"></script>
+    <script type="text/javascript" src="../lib/GeoExt.ux/SyncLocation.js"></script>
+
+    <script type="text/javascript" src="ge-synclocation.js"></script>
+
+</head>
+<body>
+</body>
+</html>

Added: sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-synclocation.js
===================================================================
--- sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-synclocation.js	                        (rev 0)
+++ sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-synclocation.js	2010-05-12 14:44:47 UTC (rev 2184)
@@ -0,0 +1,42 @@
+google.load("earth", "1");
+
+Ext.onReady(function() {
+
+    var map = new OpenLayers.Map({
+        projection: new OpenLayers.Projection("EPSG:900913"),
+        units: "m",
+        numZoomLevels: 18,
+        maxResolution: 156543.0339,
+        maxExtent: new OpenLayers.Bounds(
+            -20037508, -20037508, 20037508, 20037508.34)
+    });
+
+    new Ext.Viewport({
+        layout: "border",
+        items: [{
+            region: "center",
+            title: "3D",
+            xtype: "gxux_googleearthpanel",
+            plugins: [
+                new GeoExt.ux.SyncLocation({map: map})
+            ],
+            listeners: {
+                "pluginready": function(plugin) {
+                    plugin.getNavigationControl().setVisibility(
+                        plugin.VISIBILITY_SHOW);
+                }
+            }
+        }, {
+            region: "west",
+            title: "2D",
+            width: "50%",
+            xtype: "gx_mappanel",
+            map: map,
+            layers: [
+                new OpenLayers.Layer.Google("google", {
+                    sphericalMercator: true
+                })
+            ]
+        }]
+    });
+});

Added: sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-viewport.html
===================================================================
--- sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-viewport.html	                        (rev 0)
+++ sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-viewport.html	2010-05-12 14:44:47 UTC (rev 2184)
@@ -0,0 +1,29 @@
+<html>
+<head>
+    <title>Google Earth Panel in Viewport Example</title>
+
+    <script type="text/javascript" src="../../../../ext/adapter/ext/ext-base.js"></script>
+    <script type="text/javascript" src="../../../../ext/ext-all.js"></script>
+    <link rel="stylesheet" type="text/css" href="../../../../ext/resources/css/ext-all.css" />
+    <link rel="stylesheet" type="text/css" href="../../../../ext/examples/shared/examples.css" />
+    <script type="text/javascript" src="../../../../openlayers/lib/OpenLayers.js"></script>
+    <script type="text/javascript" src="../../../../geoext/lib/GeoExt.js"></script>
+
+    <!-- localhost -->
+    <!--
+    <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAY-I0w1WyNCVHbxpuwQWMpRTv_-xvSZ6KJmWSkQfCJoxbiB7tyBQ1ey_kgwA_p7sbTQSTOBeMyXtXkA"></script>
+    -->
+    <!-- 192.168.1.15 -->
+    <!--
+    <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAA_5ak-hsiH4j5bQQn7-k66xQ_dAQqo03RS56NMawtmNNQF2tmJBTbdhSnW7wTUVkZRWQ2HIO3IVM40Q"></script>
+    -->
+    <!-- dev.geoext.org -->
+    <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAKmGT8cJsj5QCxYRmvPQT-BTWxvN8zH6Ta_pgIhhU0TB7bG8iAhQxdUNgK7BehEXDOaDof-JFltooyA"></script>
+
+    <script type="text/javascript" src="../lib/GeoExt.ux/GoogleEarthPanel.js"></script>
+    <script type="text/javascript" src="ge-viewport.js"></script>
+
+</head>
+<body>
+</body>
+</html>

Added: sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-viewport.js
===================================================================
--- sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-viewport.js	                        (rev 0)
+++ sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-viewport.js	2010-05-12 14:44:47 UTC (rev 2184)
@@ -0,0 +1,28 @@
+google.load("earth", "1");
+
+Ext.onReady(function() {
+
+    function initPlugin(plugin) {
+        // show navigation control
+        plugin.getNavigationControl().setVisibility(plugin.VISIBILITY_SHOW);
+    }
+
+    new Ext.Viewport({
+        layout: "border",
+        items: [
+            {
+                region: "center",
+                title: "Google Earth Panel",
+                xtype: "gxux_googleearthpanel",
+                listeners: {
+                    "pluginready": initPlugin
+                }
+            },
+            {
+                region: "west",
+                split: true,
+                width: 200
+            }
+        ]
+    });
+});

Added: sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-window.html
===================================================================
--- sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-window.html	                        (rev 0)
+++ sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-window.html	2010-05-12 14:44:47 UTC (rev 2184)
@@ -0,0 +1,29 @@
+<html>
+<head>
+    <title>Google Earth Panel in Window Example</title>
+
+    <script type="text/javascript" src="../../../../ext/adapter/ext/ext-base.js"></script>
+    <script type="text/javascript" src="../../../../ext/ext-all.js"></script>
+    <link rel="stylesheet" type="text/css" href="../../../../ext/resources/css/ext-all.css" />
+    <link rel="stylesheet" type="text/css" href="../../../../ext/examples/shared/examples.css" />
+    <script type="text/javascript" src="../../../../openlayers/lib/OpenLayers.js"></script>
+    <script type="text/javascript" src="../../../../geoext/lib/GeoExt.js"></script>
+
+    <!-- localhost -->
+    <!--
+    <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAY-I0w1WyNCVHbxpuwQWMpRTv_-xvSZ6KJmWSkQfCJoxbiB7tyBQ1ey_kgwA_p7sbTQSTOBeMyXtXkA"></script>
+    -->
+    <!-- 192.168.1.15 -->
+    <!--
+    <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAA_5ak-hsiH4j5bQQn7-k66xQ_dAQqo03RS56NMawtmNNQF2tmJBTbdhSnW7wTUVkZRWQ2HIO3IVM40Q"></script>
+    -->
+    <!-- dev.geoext.org -->
+    <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAKmGT8cJsj5QCxYRmvPQT-BTWxvN8zH6Ta_pgIhhU0TB7bG8iAhQxdUNgK7BehEXDOaDof-JFltooyA"></script>
+
+    <script type="text/javascript" src="../lib/GeoExt.ux/GoogleEarthPanel.js"></script>
+    <script type="text/javascript" src="ge-window.js"></script>
+
+</head>
+<body>
+</body>
+</html>

Added: sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-window.js
===================================================================
--- sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-window.js	                        (rev 0)
+++ sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/examples/ge-window.js	2010-05-12 14:44:47 UTC (rev 2184)
@@ -0,0 +1,22 @@
+google.load("earth", "1");
+
+Ext.onReady(function() {
+
+    function initPlugin(plugin) {
+        // show navigation control
+        plugin.getNavigationControl().setVisibility(plugin.VISIBILITY_SHOW);
+    }
+
+    new Ext.Window({
+        title: "Google Earth Panel Window",
+        height: 400,
+        width: 600,
+        layout: "fit",
+        items: {
+            xtype: "gxux_googleearthpanel",
+            listeners: {
+                "pluginready": initPlugin
+            }
+        }
+    }).show();
+});

Added: sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/lib/GeoExt.ux/GoogleEarthPanel.js
===================================================================
--- sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/lib/GeoExt.ux/GoogleEarthPanel.js	                        (rev 0)
+++ sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/lib/GeoExt.ux/GoogleEarthPanel.js	2010-05-12 14:44:47 UTC (rev 2184)
@@ -0,0 +1,99 @@
+/**
+ * Copyright (c) 2008-2009 The Open Source Geospatial Foundation
+ *
+ * Published under the BSD license.
+ * See http://svn.geoext.org/core/trunk/geoext/license.txt for the full text
+ * of the license.
+ */
+
+/** api: (define)
+ *  module = GeoExt.ux
+ *  class = GoogleEarthPanel
+ *  base_link = `Ext.Panel <http://extjs.com/deploy/dev/docs/?class=Ext.Panel>`_
+ */
+Ext.namespace('GeoExt.ux');
+
+/*
+ */
+
+GeoExt.ux.GoogleEarthPanel = Ext.extend(Ext.Panel, {
+
+    /** api: property[gePlugin]
+     *  ``GEPlugin`` The Google Earth plugin object.
+     *  Read-only.
+     */
+    gePlugin: null,
+
+    /**
+     */
+    createGEPluginOptions: null,
+
+    /**
+     */
+    createGEPluginFailureCallback: function() {},
+
+    /**
+     * If null the panel won't set the initial visibility of the plugin
+     * window.
+     */
+    gePluginWindowVisibility: true,
+
+    /** private: method[initComponent]
+     */
+    initComponent: function() {
+        GeoExt.ux.GoogleEarthPanel.superclass.initComponent.apply(
+            this, arguments);
+        this.addEvents(
+            /** api: event[pluginready]
+             *  Fires when the Google Earth Plugin is ready.
+             *
+             *  Listener arguments:
+             *
+             *  * plugin - ``GEPlugin`` The GEPlugin instance.
+             *  * panel - :class:`GeoExt.ux.GoogleEarchPanel` This panel.
+             */
+            "pluginready"
+        );
+    },
+
+    /** private: method[afterRender]
+     */
+    afterRender: function() {
+        GeoExt.ux.GoogleEarthPanel.superclass.afterRender.apply(
+            this, arguments);
+        if(!this.ownerCt) {
+            this.createGEPlugin();
+        } else {
+            this.ownerCt.on({
+                "afterlayout": {
+                    fn: this.createGEPlugin,
+                    scope: this,
+                    single: true
+                }
+            });
+        }
+    },
+
+    /**
+     */
+    createGEPlugin: function() {
+        google.earth.createInstance(
+            this.body.dom,
+            this.createGEPluginSuccessCallback.createDelegate(this),
+            this.createGEPluginFailureCallback,
+            this.createGEPluginOptions || {});
+    },
+
+    /**
+     */
+    createGEPluginSuccessCallback: function(gePlugin) {
+        this.gePlugin = gePlugin;
+        if(typeof this.gePluginWindowVisibility === "boolean") {
+            gePlugin.getWindow().setVisibility(this.gePluginWindowVisibility);
+        }
+        this.fireEvent("pluginready", gePlugin, this);
+    }
+});
+
+/** api: xtype = gxux_googleearthpanel */
+Ext.reg('gxux_googleearthpanel', GeoExt.ux.GoogleEarthPanel);

Added: sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/lib/GeoExt.ux/SyncLocation.js
===================================================================
--- sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/lib/GeoExt.ux/SyncLocation.js	                        (rev 0)
+++ sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/lib/GeoExt.ux/SyncLocation.js	2010-05-12 14:44:47 UTC (rev 2184)
@@ -0,0 +1,100 @@
+/**
+ * Copyright (c) 2008-2009 The Open Source Geospatial Foundation
+ *
+ * Published under the BSD license.
+ * See http://svn.geoext.org/core/trunk/geoext/license.txt for the full text
+ * of the license.
+ */
+
+Ext.namespace('GeoExt.ux');
+
+/**
+ */
+GeoExt.ux.SyncLocation = function(options) {
+    Ext.apply(this, options);
+};
+
+GeoExt.ux.SyncLocation.prototype = {
+    /**
+     */
+    map: null,
+
+    /**
+     *
+     */
+    gePlugin: null,
+
+    /**
+     */
+    updateMapDelegate: null,
+
+    /**
+     */
+    init: function(panel) {
+        panel.on("pluginready", this.deferredInit, this);
+    },
+
+    /**
+     */
+    deferredInit: function(gePlugin, panel) {
+        this.gePlugin = gePlugin;
+
+        this.updateMapDelegate = this.updateMap.createDelegate(this);
+        google.earth.addEventListener(
+            gePlugin, "frameend", this.updateMapDelegate);
+
+        this.map.events.on({
+            "moveend": this.updateGlobe,
+            scope: this
+        });
+
+        panel.on("destroy", this.onPanelDestroy, this);
+    },
+
+    /**
+     */
+    updateMap: function() {
+        if(!this._updating) {
+            var geView = this.gePlugin.getView();
+            var lookAt = geView.copyAsLookAt(this.gePlugin.ALTITUDE_ABSOLUTE);
+            var lonlat = new OpenLayers.LonLat(
+                lookAt.getLongitude(), lookAt.getLatitude());
+            lonlat.transform(
+                new OpenLayers.Projection("EPSG:4326"),
+                new OpenLayers.Projection("EPSG:900913"));
+
+            this._updating = true;
+            this.map.setCenter(lonlat);
+            delete this._updating;
+        }
+    },
+
+    /**
+     */
+    updateGlobe: function() {
+        if(!this._updating) {
+            var geView = this.gePlugin.getView();
+            var center = this.map.getCenter();
+            center.transform(
+                new OpenLayers.Projection("EPSG:900913"),
+                new OpenLayers.Projection("EPSG:4326"));
+            var lookAt = geView.copyAsLookAt(this.gePlugin.ALTITUDE_ABSOLUTE);
+            lookAt.setLongitude(center.lon);
+            lookAt.setLatitude(center.lat);
+
+            this._updating = true;
+            geView.setAbstractView(lookAt);
+            delete this._updating;
+        }
+    },
+
+    onPanelDestroy: function(panel) {
+        this.map.events.un({
+            "moveend": this.updateGlobe,
+            scope: this
+        });
+
+        google.earth.removeEventListener(
+            panel.gePlugin, "frameend", this.updateMapDelegate);
+    }
+};

Added: sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/index.html
===================================================================
--- sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/index.html	                        (rev 0)
+++ sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/index.html	2010-05-12 14:44:47 UTC (rev 2184)
@@ -0,0 +1,4 @@
+<html>
+    <head><meta http-equiv="refresh" content="0;url=../../../../geoext/tests/run-tests.html?testlist=../../geoext.ux/ux/GoogleEarthPanel/tests/list-tests.html"></head>
+    <body></body>
+</html>

Added: sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/lib/GeoExt.ux/GoogleEarthPanel.html
===================================================================
--- sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/lib/GeoExt.ux/GoogleEarthPanel.html	                        (rev 0)
+++ sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/lib/GeoExt.ux/GoogleEarthPanel.html	2010-05-12 14:44:47 UTC (rev 2184)
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html debug="true">
+  <head>
+
+    <script type="text/javascript" src="../../../../../../ext/adapter/ext/ext-base.js"></script>
+    <script type="text/javascript" src="../../../../../../ext/ext-all.js"></script>
+    <link rel="stylesheet" type="text/css" href="../../../../../../ext/resources/css/ext-all.css" />
+    <link rel="stylesheet" type="text/css" href="../../../../../../ext/examples/shared/examples.css" />
+    <script type="text/javascript" src="../../../../../../openlayers/lib/OpenLayers.js"></script>
+    <script type="text/javascript" src="../../../../../../geoext/lib/GeoExt.js"></script>
+
+    <script type="text/javascript" src='http://maps.google.com/maps?file=api&amp;key=ABQIAAAAKmGT8cJsj5QCxYRmvPQT-BTWxvN8zH6Ta_pgIhhU0TB7bG8iAhQxdUNgK7BehEXDOaDof-JFltooyA'></script>
+    <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAKmGT8cJsj5QCxYRmvPQT-BTWxvN8zH6Ta_pgIhhU0TB7bG8iAhQxdUNgK7BehEXDOaDof-JFltooyA"></script>
+    <script type="text/javascript" src="../../../lib/GeoExt.ux/GoogleEarthPanel.js"></script>
+
+    <script type="text/javascript">
+       
+        function test_ctor(t) {
+            t.plan(0);
+        }
+
+    </script>
+  <body>
+    <div id="panel"></div>
+  </body>
+</html>

Added: sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/list-tests.html
===================================================================
--- sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/list-tests.html	                        (rev 0)
+++ sandbox/camptocamp/extensions/geoext.ux/ux/GoogleEarthPanel/tests/list-tests.html	2010-05-12 14:44:47 UTC (rev 2184)
@@ -0,0 +1,3 @@
+<ul id="testlist">
+  <li>../../geoext.ux/ux/GoogleEarthPanel/tests/lib/GeoExt.ux/GoogleEarthPanel.html</li>
+</ul>



More information about the Commits mailing list