[mapserver-commits] r7472 - trunk/docs/references/templatereference
svn at osgeo.org
svn at osgeo.org
Thu Mar 20 13:42:27 EDT 2008
Author: jmckenna
Date: 2008-03-20 13:42:27 -0400 (Thu, 20 Mar 2008)
New Revision: 7472
Modified:
trunk/docs/references/templatereference/templatereference.txt
Log:
modify example template for 5.0 changes
Modified: trunk/docs/references/templatereference/templatereference.txt
===================================================================
--- trunk/docs/references/templatereference/templatereference.txt 2008-03-20 15:48:23 UTC (rev 7471)
+++ trunk/docs/references/templatereference/templatereference.txt 2008-03-20 17:42:27 UTC (rev 7472)
@@ -137,7 +137,7 @@
Path to the query file (if savequery was set as a `CGI Parameter`_).
[map]
- Path to the map file (if savemap was set as a `CGI Parameter`_).
+ Path to the map file (if savemap was set as a `CGI Parameter`_).
Image Geometry
--------------
@@ -392,7 +392,8 @@
A small example to give an idea how to work with templates. Note that it covers
MapServer specific templates (e.g. the [map], [mapext]) and user defined templates
-(e.g. [htmlroot] or [program]) used to store application settings.
+(e.g. [htmlroot] or [program]) used to store application settings. It also uses the
+new method in MapServer 5.0 to set the map's WEB object values.
::
@@ -411,16 +412,14 @@
<!-- CGI MapServer applications are server stateless in principle,
all information must be "stored" in the client. This includes
- some basic settings as below.
- The example is based on the pan and zoom test suite:
- http://maps.dnr.state.mn.us/mapserver_demos/tests36/ -->
+ some basic settings as below.-->
<input type="hidden" name="map" value="[map]">
<input type="hidden" name="imgext" value="[mapext]">
<input type="hidden" name="imgxy" value="149.5 199.5">
<input type="hidden" name="program" value="[program]">
<input type="hidden" name="htmlroot" value="[htmlroot]">
- <input type="hidden" name="map_web_imagepath" value="[map_web_imagepath]">
- <input type="hidden" name="map_web_imageurl" value="[map_web_imageurl]">
+ <input type="hidden" name="map_size" value="600 400">
+ <input type="hidden" name="map_web" value="imagepath /ms4w/tmp/ms_tmp/ imageurl /ms_tmp/">
<!-- A table for minimal page formatting. -->
<table border=0 cellpadding=5>
More information about the mapserver-commits
mailing list