[mapserver-commits] r10674 - in trunk/docs/en/mapscript: . php
svn at osgeo.org
svn at osgeo.org
Tue Oct 26 10:11:02 EDT 2010
Author: aboudreault
Date: 2010-10-26 07:11:02 -0700 (Tue, 26 Oct 2010)
New Revision: 10674
Modified:
trunk/docs/en/mapscript/mapscript.txt
trunk/docs/en/mapscript/php/index.txt
Log:
Modified wrong note about the ZoomRectangle method in swig/php mapscript
Modified: trunk/docs/en/mapscript/mapscript.txt
===================================================================
--- trunk/docs/en/mapscript/mapscript.txt 2010-10-26 13:51:18 UTC (rev 10673)
+++ trunk/docs/en/mapscript/mapscript.txt 2010-10-26 14:11:02 UTC (rev 10674)
@@ -1815,11 +1815,23 @@
can be constrained to a maximum *maxextent*. Returns MS_SUCCESS or
MS_FAILURE.
-zoomRectangle( rectObj_ imgrect, int width, int height, rectObj_ extent, rectObj_ maxextent ) : int
- Zoom to a pixel coordinate rectangle in the image of *width* and *height*
- dimensions and georeferencing *extent*. Zooming can be constrained to a
- maximum *maxextent*. Returns MS_SUCCESS or MS_FAILURE.
+zoomRectangle( rectObj_ imgrect, int width, int height, rectObj_ extent,
+ rectObj_ maxextent ) : int Zoom to a pixel coordinate rectangle in the
+ image of *width* and *height* dimensions and georeferencing
+ *extent*. Zooming can be constrained to a maximum *maxextent*. The
+ *imgrect* rectangle contains the coordinates of the LL and UR
+ coordinates in pixel: the maxy in the rect object should be < miny
+ value. Returns MS_SUCCESS or MS_FAILURE.
+ ::
+
+ ------- UR (values in the rect object : maxx, maxy)
+ | |
+ | |
+ | |
+ ------
+ LL (values in the rectobject minx, miny)
+
zoomScale( float scale, pointObj_ imgpoint, int width, int height, rectObj_ extent, rectObj_ maxextent) : int
Like the previous methods, but zooms to the point at a specified scale.
Modified: trunk/docs/en/mapscript/php/index.txt
===================================================================
--- trunk/docs/en/mapscript/php/index.txt 2010-10-26 13:51:18 UTC (rev 10673)
+++ trunk/docs/en/mapscript/php/index.txt 2010-10-26 14:11:02 UTC (rev 10674)
@@ -1315,19 +1315,7 @@
Set the map extents to a given extents. Returns MS_SUCCESS or MS_FAILURE on error.
Parameters are :
- - oPixelExt (rect object) : Pixel Extents, with (0,0) at the top-left
- The rectangle contains the coordinates of the LL and UR coordinates
- in pixel. (the maxy in the rect object should be < miny value)
-
- ::
-
- ------- UR (values in the rect object : maxx, maxy)
- | |
- | |
- | |
- ------
- LL (values in the rectobject minx, miny)
-
+ - oPixelExt (rect object) : Pixel Extents
- Width : width in pixel of the current image.
- Height : Height in pixel of the current image.
- Georef extent (rectObj) : current georef extents.
More information about the mapserver-commits
mailing list