[Commits] r2257 - sandbox/foss4g2010/src/doc/layout

commits at geoext.org commits at geoext.org
Tue Aug 3 11:33:29 CEST 2010


Author: yjacolin
Date: 2010-08-03 11:33:29 +0200 (Tue, 03 Aug 2010)
New Revision: 2257

Modified:
   sandbox/foss4g2010/src/doc/layout/layout.rst
   sandbox/foss4g2010/src/doc/layout/legend.rst
   sandbox/foss4g2010/src/doc/layout/tree.rst
Log:
add last text update

Modified: sandbox/foss4g2010/src/doc/layout/layout.rst
===================================================================
--- sandbox/foss4g2010/src/doc/layout/layout.rst	2010-08-03 08:49:14 UTC (rev 2256)
+++ sandbox/foss4g2010/src/doc/layout/layout.rst	2010-08-03 09:33:29 UTC (rev 2257)
@@ -7,7 +7,7 @@
 
 A viewport is split in several part called center, east, west, north and south.
 
-Now we built our 3 panels (legend, tree and map) we need to join all together to get a nice interface! This is what layout are used for.
+Now we have built our 3 panels (legend, tree and map) we need to join all together to get a nice interface! This is what layout are used for.
 
 .. code-block:: javascript
 
@@ -96,9 +96,9 @@
             });
         });
 
-The MapPanel is now an instance like LegendPanel and TreePanel, we added a `region` property to setup the location in the viewport.
+The `MapPanel` is now an instance like `LegendPanel` and `TreePanel`, we added a `region` property to setup the location in the viewport.
 
-You can add panel in the viewport instead instance. Add this tab panel in the viewport:
+You can add panel in the viewport instance. Add this tab panel in the viewport:
 
 .. code-block:: javascript
 

Modified: sandbox/foss4g2010/src/doc/layout/legend.rst
===================================================================
--- sandbox/foss4g2010/src/doc/layout/legend.rst	2010-08-03 08:49:14 UTC (rev 2256)
+++ sandbox/foss4g2010/src/doc/layout/legend.rst	2010-08-03 09:33:29 UTC (rev 2257)
@@ -18,4 +18,4 @@
 
 The LegendPanel instance will change any time you load or unload layers.
 
-As for the treePanel instance the last line render the legend panel inside the body tag ofthe page. You can use the `render` property as well. The three properties in the LegendPanel instance allow you to setup style via CSS in three different ways.
\ No newline at end of file
+As for the `treePanel` instance the last line render the legend panel inside the body tag of the page. You can use the `render` property as well. The three properties in the LegendPanel instance allow you to setup style via CSS in three different ways: class reference for labelCls or css code for the others.
\ No newline at end of file

Modified: sandbox/foss4g2010/src/doc/layout/tree.rst
===================================================================
--- sandbox/foss4g2010/src/doc/layout/tree.rst	2010-08-03 08:49:14 UTC (rev 2256)
+++ sandbox/foss4g2010/src/doc/layout/tree.rst	2010-08-03 09:33:29 UTC (rev 2257)
@@ -3,8 +3,7 @@
 Add a Tree to Manage the Map Layers
 ===================================
 
-We want several layers: base and overlay layers.
-Add a ``layers`` array to match the following.
+We want several layers: base and overlay layers. Add a ``layers`` array to match the following. Note that it is pure OpenLayers code.
 
 .. code-block:: javascript
 
@@ -121,7 +120,7 @@
 Don't forget to add a title to the tree panel.
 
 .. note::
-  the `treeConfig` instance don't refer to the mapPanel instance. A method is used to find a MapPanel instance (the first MapPanel instance find actually).
+  the `treeConfig` instance don't refer to the mapPanel instance. An internal method is used to find a MapPanel instance (the first MapPanel instance find actually).
 
 The treeConfig array allow to configure the layer tree. You have two layer container: baselayercontainer and overlaylayercontainer. The first one will contains base layer and the latter one overlays. The expand parameter allow you to expand tree when loaded. 
 



More information about the Commits mailing list