[Commits] r2682 - sandbox/mapgears/geoext.ux/ux/WFSTFeatureEditing/examples

commits at geoext.org commits at geoext.org
Thu May 12 20:55:26 CEST 2011


Author: adube
Date: 2011-05-12 20:55:26 +0200 (Thu, 12 May 2011)
New Revision: 2682

Modified:
   sandbox/mapgears/geoext.ux/ux/WFSTFeatureEditing/examples/WFSTFeatureEditing.html
   sandbox/mapgears/geoext.ux/ux/WFSTFeatureEditing/examples/WFSTFeatureEditingFR.html
Log:
WFSTFeatureEditing - example documentation

Modified: sandbox/mapgears/geoext.ux/ux/WFSTFeatureEditing/examples/WFSTFeatureEditing.html
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WFSTFeatureEditing/examples/WFSTFeatureEditing.html	2011-05-12 18:23:07 UTC (rev 2681)
+++ sandbox/mapgears/geoext.ux/ux/WFSTFeatureEditing/examples/WFSTFeatureEditing.html	2011-05-12 18:55:26 UTC (rev 2682)
@@ -24,9 +24,50 @@
     <div id="content"></div>
     <br />
     <p>
-      More details to come.
+      Most of the components are created asynchronously using WFS requests.
+      A GetCapabilities request is used to create the vector layers and
+      a DescribeFeatureType one is used to get the fields and the geometry type.
+      From there, DrawFeature, SelectFeature and many other controls and widgets
+      are automatically create for each layer.
     </p>
-
+    <p>
+      One layer can be edited at a time in one of the following mode : draw and
+      edit.
+    </p>
+    <p>
+      The edit mode can either use a 'filter' mode or not.  In this demo, it
+      uses it.  Enabling the 'edit' mode on a layer doesn't show the features
+      yet.  You need to draw a box on the map to get the features first, then
+      click on the feature to edit or select it from the grid on the left.  The
+      "Return to selection" button clear the feature that were selected with the
+      box and reenable the box selection.
+    </p>
+    <p>
+      If WMS layers with the same name are present in the map, they are
+      automatically refresh on modifications.
+    </p>
+    <p>
+      The demo also available in <a href="WFSTFeatureEditingFR.html">French</a>.
+    </p>
+    <h2>External components used</h2>
+    <p>
+      Here's the list of components that are not in GeoExt that are used by this
+      widget.
+    </p>
+    <ul>
+      <li>
+        <b>GeoExt.ux.FeatureEditorGrid</b> from the GeoExt.ux (user extension)
+        library, see the
+        <a target="_blank" href="http://trac.geoext.org/wiki/ux/FeatureEditing">
+          widget wiki page</a>.  It's the component drawn on the right of the
+          window.
+      </li>
+      <li>
+        <b>gpx.grid.FeatureGrid</b>, from the gpx library.  See the
+        <a target="_blank" href="http://trac.geoext.org/wiki/ux/FeatureEditing">
+          github page</a>.  It's the component drawn on the left of the window.
+      </li>
+    </ul>
     <script type="text/javascript"
             src="../../../../ext/adapter/ext/ext-base.js"></script>
     <script type="text/javascript"

Modified: sandbox/mapgears/geoext.ux/ux/WFSTFeatureEditing/examples/WFSTFeatureEditingFR.html
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WFSTFeatureEditing/examples/WFSTFeatureEditingFR.html	2011-05-12 18:23:07 UTC (rev 2681)
+++ sandbox/mapgears/geoext.ux/ux/WFSTFeatureEditing/examples/WFSTFeatureEditingFR.html	2011-05-12 18:55:26 UTC (rev 2682)
@@ -16,17 +16,17 @@
   <body>
     <h1>WFSTFeatureEditing ux</h1>
     <p>
-      This widget automatically create all the tools required to accomplish WFST
-      editing using GeoExt. See
-      <a href="WFSTFeatureEditing.js">WFSTFeatureEditing.js</a> for the source
-      code.
+      Ce widget crée automatiquement tous les outils nécéssaire pour être en
+      mesure de faire de l'édition en WFST utilisant la librairie GeoExt.  Voir
+      <a href="WFSTFeatureEditing.js">WFSTFeatureEditing.js</a> pour le code
+      source de l'exemple.
     </p>
     <div id="content"></div>
     <br />
     <p>
-      More details to come.
+      Pour plus de détails à propos de ce widget et de ses composantes, visitez
+      le <a href="WFSTFeatureEditing.html">démo en anglais</a>.
     </p>
-
     <script type="text/javascript"
             src="../../../../ext/adapter/ext/ext-base.js"></script>
     <script type="text/javascript"



More information about the Commits mailing list