[mapserver-commits] r8296 - trunk/docs
svn at osgeo.org
svn at osgeo.org
Sat Dec 27 00:19:28 EST 2008
Author: hobu
Date: 2008-12-27 00:19:28 -0500 (Sat, 27 Dec 2008)
New Revision: 8296
Modified:
trunk/docs/introduction.txt
Log:
use mapfile highlighting
Modified: trunk/docs/introduction.txt
===================================================================
--- trunk/docs/introduction.txt 2008-12-27 05:08:04 UTC (rev 8295)
+++ trunk/docs/introduction.txt 2008-12-27 05:19:28 UTC (rev 8296)
@@ -256,7 +256,7 @@
mapfile example displaying only one layer follows, as well as the map image
output:
-::
+.. code-block:: mapfile
NAME "sample"
STATUS ON
@@ -306,7 +306,7 @@
:ref:`MAP` Object
...............................................................................
-::
+.. code-block:: mapfile
MAP
NAME "sample"
@@ -331,7 +331,7 @@
Raster Layers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-::
+.. code-block:: mapfile
LAYER
NAME bathymetry
@@ -351,7 +351,7 @@
example shows how to display only lines from a TYPE polygon layer, using the
OUTLINECOLOR parameter:
-::
+.. code-block:: mapfile
LAYER
NAME "world_poly"
@@ -385,7 +385,7 @@
* the following example shows how to display a road line with two colors by
using overlayed STYLE objects
-::
+.. code-block:: mapfile
CLASS
NAME "Primary Roads"
@@ -413,7 +413,7 @@
* can be defined directly in the mapfile, or in a separate file
* the separate file method must use the SYMBOLSET parameter in the MAP object:
-::
+.. code-block:: mapfile
MAP
NAME "sample"
@@ -427,7 +427,7 @@
where symbols.txt might contain:
-::
+.. code-block:: mapfile
Symbol
Name 'ski'
@@ -437,7 +437,7 @@
and the mapfile would contain:
-::
+:.. code-block:: mapfile
LAYER
...
@@ -471,7 +471,7 @@
An example :ref:`LABEL` object that references one of the above fonts might
look like:
-::
+.. code-block:: mapfile
LABEL
FONT "sans-bold"
@@ -538,7 +538,7 @@
If 'shadedrelief.lay' contains:
-::
+.. code-block:: mapfile
LAYER
NAME 'shadedrelief'
@@ -549,7 +549,7 @@
therefore the main mapfile would contain:
-::
+.. code-block:: mapfile
MAP
...
@@ -561,7 +561,7 @@
separate .lay files, and all other objects (:ref:`WEB`, :ref:`REFERENCE`,
:ref:`SCALEBAR`, etc.) are stored in a ".ref" file:
-::
+.. code-block:: mapfile
NAME "base"
#
More information about the mapserver-commits
mailing list