[Commits] r778 - in core/trunk/docsrc: primers tutorials

commits at geoext.org commits at geoext.org
Fri May 15 19:55:06 CEST 2009


Author: tschaub
Date: 2009-05-15 19:55:06 +0200 (Fri, 15 May 2009)
New Revision: 778

Modified:
   core/trunk/docsrc/primers/index.rst
   core/trunk/docsrc/tutorials/layertree-tutorial.rst
   core/trunk/docsrc/tutorials/quickstart.rst
Log:
consistentifying

Modified: core/trunk/docsrc/primers/index.rst
===================================================================
--- core/trunk/docsrc/primers/index.rst	2009-05-15 17:43:09 UTC (rev 777)
+++ core/trunk/docsrc/primers/index.rst	2009-05-15 17:55:06 UTC (rev 778)
@@ -2,30 +2,25 @@
 Core Concepts
 =============
 
-:doc:`ext-primer`
-=================
+Ext Primer
+==========
 
+Pointers on getting started with ExtJS with an emphasis on important concepts in GeoExt derived from ExtJS. 
+
 .. toctree::
    :maxdepth: 2
-   :hidden:
 
    ext-primer
 
-Pointers on getting started with ExtJS with an emphasis on important concepts in GeoExt derived from ExtJS. 
 
-- :ref:`ext-basic-layout` (put panels in a viewport)
-- :ref:`ext-trees` 
-- :ref:`ext-grid-store`  (records from reader)
-- :ref:`ext-events` in Ext from a GeoExt perspective
+OpenLayers Primer
+=================
 
-:doc:`openlayers-primer`
-========================
+Essential OpenLayers concepts for working with GeoExt.
 
 .. toctree::
    :maxdepth: 2
-   :hidden:
    
    openlayers-primer
 
-Essential OpenLayers concepts for working with GeoExt.
 

Modified: core/trunk/docsrc/tutorials/layertree-tutorial.rst
===================================================================
--- core/trunk/docsrc/tutorials/layertree-tutorial.rst	2009-05-15 17:43:09 UTC (rev 777)
+++ core/trunk/docsrc/tutorials/layertree-tutorial.rst	2009-05-15 17:55:06 UTC (rev 778)
@@ -11,26 +11,24 @@
 
 Let's assume you already have a :class:`GeoExt.MapPanel` on your page with some layers.  In the :doc:`mappanel-tutorial`\ , we discussed how you can use the ``layers`` property of the ``MapPanel`` to add, remove, and modify the layers of the map as well as monitor the layer list for changes.  This is more than sufficient to display a 'live' list of layers in an ``Ext.grid.GridPanel``\ .  The :class:`GeoExt.tree.LayerContainer` is another component that can listen to changes to the map's layer list.  However, rather than an independent panel, the ``LayerContainer`` is a node that must be contained in an ``Ext.tree.TreePanel`` to be displayed.  Here's an example rendering a layer tree to a ``div``:
 
-    .. code-block::
-       javascript
-       :linenos:
+.. code-block:: javascript
        
-       var mapPanel = new GeoExt.MapPanel({
-          /* Your configuration here */
-       });
+    var mapPanel = new GeoExt.MapPanel({
+        /* Your configuration here */
+    });
 
-       var layerList = new GeoExt.tree.LayerContainer({
-           text: 'All Layers',
-           layerStore: mapPanel.layers,
-           leaf: false, 
-           expanded: true
-       });
+    var layerList = new GeoExt.tree.LayerContainer({
+        text: 'All Layers',
+        layerStore: mapPanel.layers,
+        leaf: false, 
+        expanded: true
+    });
 
-       var layerTree = new Ext.tree.TreePanel({
-           title: 'Map Layers',
-           renderTo: 'layerTree',
-           root: layerList
-       });
+    var layerTree = new Ext.tree.TreePanel({
+        title: 'Map Layers',
+        renderTo: 'layerTree',
+        root: layerList
+    });
 
 ``LayerContainer``\ s automatically add checkboxes that can be used to toggle the visibility of layers.  You can also enable drag-n-drop layer reordering by simply setting the ``enableDD`` property of the ``TreePanel``. 
 

Modified: core/trunk/docsrc/tutorials/quickstart.rst
===================================================================
--- core/trunk/docsrc/tutorials/quickstart.rst	2009-05-15 17:43:09 UTC (rev 777)
+++ core/trunk/docsrc/tutorials/quickstart.rst	2009-05-15 17:55:06 UTC (rev 778)
@@ -15,12 +15,12 @@
 reasons, ExtJS cannot be included in the GeoExt download, so preparing
 GeoExt for use on your own web pages is a multi-step process:
 
-#. Download GeoExt from :doc:`/downloads`.  For the purposes of this
+#. Download GeoExt from the :doc:`downloads page </downloads>`.  For the purposes of this
    quickstart, the development version will be fine.
 
 #. Download OpenLayers from http://openlayers.org/. 
 
-   .. note:: GeoExt 0.1 uses OpenLayers 2.8.  OpenLayers 2.8 has not been released yet. For now, just use the unstable development version (link directly to http://openlayers.org/dev/OpenLayers.js)
+   .. note:: GeoExt 0.1 relies on features from OpenLayers 2.8.  Until OpenLayers 2.8 is released, you can use the latest release candidate (link directly to http://openlayers.org/api/2.8-rc2/OpenLayers.js)
 
 #. Download ExtJS 2.2 from `the ExtJS website <http://extjs.com/products/extjs/download.php>`_.
 
@@ -31,9 +31,9 @@
 .. note:: For production environments, the GeoExt team recommends that
    you use compressed and minified builds of GeoExt and ExtJS to
    optimize the download size of your page.  A generic minified build
-   containing all of GeoExt is available from
-   :doc:`/downloads`, but advanced users can build their
-   own, further ``optimized_builds``.
+   containing all of GeoExt is available from the
+   :doc:`downloads page </downloads>`, but advanced users can build their
+   own.
 
 
 



More information about the Commits mailing list