[mapserver-commits] r11144 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Mar 10 17:13:18 EST 2011


Author: jmckenna
Date: 2011-03-10 14:13:18 -0800 (Thu, 10 Mar 2011)
New Revision: 11144

Modified:
   trunk/mapserver/MIGRATION_GUIDE.TXT
Log:
second attempt at improving examples

Modified: trunk/mapserver/MIGRATION_GUIDE.TXT
===================================================================
--- trunk/mapserver/MIGRATION_GUIDE.TXT	2011-03-10 22:10:03 UTC (rev 11143)
+++ trunk/mapserver/MIGRATION_GUIDE.TXT	2011-03-10 22:13:18 UTC (rev 11144)
@@ -47,7 +47,8 @@
 As a result the parameters BACKGROUNDCOLOR, BACKGROUNDSHADOWCOLOR, BACKGROUNDSHADOWSIZE
 are no more. To draw a label "box" in 6.0 you'd do:
 
-{{{
+::
+
   LABEL
     ...
     STYLE # a shadow
@@ -61,7 +62,6 @@
       OUTLINECOLOR 0 0 0
     END
   END
-}}}
 
 More verbose but *much* more flexible in the long run.
 
@@ -169,7 +169,8 @@
 refactored getShape method to access layer shapes. That method takes a resultObj and returns
 a shapeObj. Typical use would be (in Perl):
 
-{{{
+::
+
   $layer->queryByRect($map, $map->{extent}); # layer is still open                                                                             
 
   for($i=0; $i<$layer->getNumResults(); $i++) {
@@ -178,8 +179,8 @@
   }
 
   $layer->close();
-}}}
 
+
 A resultObj encapsulates the data used to manage a result set.
 
 To access shapes independently of a query use the new resultObj class:



More information about the mapserver-commits mailing list