[Commits] r2615 - sandbox/cmoullet/ux/GoogleEarthPanel/ux/widgets

commits at geoext.org commits at geoext.org
Wed Mar 2 17:06:42 CET 2011


Author: pgiraud
Date: 2011-03-02 17:06:42 +0100 (Wed, 02 Mar 2011)
New Revision: 2615

Modified:
   sandbox/cmoullet/ux/GoogleEarthPanel/ux/widgets/GoogleEarthPanel.js
Log:
Set displayInLayerSwitcher for the vector layers

Modified: sandbox/cmoullet/ux/GoogleEarthPanel/ux/widgets/GoogleEarthPanel.js
===================================================================
--- sandbox/cmoullet/ux/GoogleEarthPanel/ux/widgets/GoogleEarthPanel.js	2011-03-02 16:03:27 UTC (rev 2614)
+++ sandbox/cmoullet/ux/GoogleEarthPanel/ux/widgets/GoogleEarthPanel.js	2011-03-02 16:06:42 UTC (rev 2615)
@@ -437,7 +437,9 @@
         if (state) {
             if (this.map) {
                 // Vector layer
-                this.earthLayer = new OpenLayers.Layer.Vector("Google Earth Navigation");
+                this.earthLayer = new OpenLayers.Layer.Vector("Google Earth Navigation", {
+                    displayInLayerSwitcher: false
+                });
                 this.map.addLayer(this.earthLayer);
                 // Camera and lookAt points to display
                 this.features = [



More information about the Commits mailing list