[mapserver-commits] r9158 - trunk/docs/en/mapscript/php

svn at osgeo.org svn at osgeo.org
Thu Jul 9 15:17:13 EDT 2009


Author: aboudreault
Date: 2009-07-09 15:17:12 -0400 (Thu, 09 Jul 2009)
New Revision: 9158

Modified:
   trunk/docs/en/mapscript/php/index.txt
Log:
Updating php/mapscript doc (#2460)

Modified: trunk/docs/en/mapscript/php/index.txt
===================================================================
--- trunk/docs/en/mapscript/php/index.txt	2009-07-09 18:34:37 UTC (rev 9157)
+++ trunk/docs/en/mapscript/php/index.txt	2009-07-09 19:17:12 UTC (rev 9158)
@@ -307,8 +307,21 @@
 Returns a colorObj corresponding to the color index in the palette
 
 void setExtent(double minx, double miny, double maxx, double maxy)
-Set the map extents using the georef extents passed in argument.
+    Set the map extents using the georef extents passed in argument.
 
+int setCenter(pointObj center)
+    Set the map center to the given map point. 
+    Returns MS_SUCCESS or MS_FAILURE. 
+
+int offsetExtent(double x, double y)
+    Offset the map extent based on the given distances in map coordinates. 
+    Returns MS_SUCCESS or MS_FAILURE. 
+
+int scaleExtent(double zoomfactor, double minscaledenom, double maxscaledenom)
+    Scale the map extent using the zoomfactor and ensure the extent within the minscaledenom and maxscaledenom domain. 
+    If minscaledenom and/or maxscaledenom is 0 then the parameter is not taken into account. 
+    Returns MS_SUCCESS or MS_FAILURE.
+
 int setRotation(double rotation_angle)
     Set map rotation angle. The map view rectangle (specified in 
     EXTENTS) will be rotated by the indicated angle in the counter-



More information about the mapserver-commits mailing list