[Commits] r1540 - core/trunk/docsrc/tutorials
commits at geoext.org
commits at geoext.org
Wed Dec 2 19:01:45 CET 2009
Author: tschaub
Date: 2009-12-02 19:01:45 +0100 (Wed, 02 Dec 2009)
New Revision: 1540
Modified:
core/trunk/docsrc/tutorials/quickstart.rst
Log:
Quickstart updates from dwins (closes #183).
Modified: core/trunk/docsrc/tutorials/quickstart.rst
===================================================================
--- core/trunk/docsrc/tutorials/quickstart.rst 2009-12-02 15:32:37 UTC (rev 1539)
+++ core/trunk/docsrc/tutorials/quickstart.rst 2009-12-02 18:01:45 UTC (rev 1540)
@@ -15,19 +15,19 @@
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 the :doc:`downloads page </downloads>`. For the purposes
+#. Download GeoExt from the :doc:`downloads page </downloads>`. For the purposes
of this quickstart, the development version will be fine.
-#. Download OpenLayers 2.8 or later from http://openlayers.org/.
+#. Download OpenLayers 2.8 or later from http://openlayers.org/.
-#. Download ExtJS 2.2 from `the ExtJS website <http://extjs.com/products/extjs/download.php>`_.
+#. Download ExtJS 2.2 from `the ExtJS website <http://extjs.com/products/extjs/download.php>`_.
-#. Place both unpacked libraries in a directory that is published by your web
+#. Place both unpacked libraries in a directory that is published by your web
server. For this tutorial, I will assume that this is the root of your web
server, so that GeoExt.js is at http://localhost/GeoExt/lib/GeoExt.js and
ext-all.js is at http://localhost/ext-2.2/ext-all.js
-#. Now you're ready to use GeoExt in your application!
+#. Now you're ready to use GeoExt in your application!
.. note:: For production environments, the GeoExt team recommends that
you use compressed and minified builds of GeoExt and ExtJS to
@@ -41,10 +41,10 @@
Basic Example
=============
-let's build a simple web page that just embeds a map with interactive
+Let's build a simple web page that just embeds a map with interactive
navigation.
-#. Include the ExtJS libraries in your web page.
+#. Include the ExtJS libraries in your web page.
.. code-block:: html
@@ -55,11 +55,11 @@
<script src="GeoExt/lib/GeoExt.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="GeoExt/resources/geoext-all-debug.css"></link>
-#. Create a ``<div>`` element in your web page with its ``id``
+#. Create a ``<div>`` element in your web page with its ``id``
attribute set to ``gxmap``. We will use the ``id`` to attach a
GeoExt component to the ``div``.
-#. Attach a ``MapPanel`` object to the ``div`` with some JavaScript code:
+#. Attach a ``MapPanel`` object to the ``div`` with some JavaScript code:
.. code-block:: html
More information about the Commits
mailing list