[mapserver-commits] r9665 - in trunk/mapserver: . mapscript/php3
svn at osgeo.org
svn at osgeo.org
Mon Jan 4 14:33:50 EST 2010
Author: aboudreault
Date: 2010-01-04 14:33:47 -0500 (Mon, 04 Jan 2010)
New Revision: 9665
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapscript/php3/php_mapscript.c
Log:
PHP/Mapscript: added layerObj units property (#3249)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2010-01-04 17:10:19 UTC (rev 9664)
+++ trunk/mapserver/HISTORY.TXT 2010-01-04 19:33:47 UTC (rev 9665)
@@ -14,6 +14,8 @@
Current Version (SVN trunk):
----------------------------
+- PHP/Mapscript: added layerObj units property (#3249)
+
- Changed the query map rendering implementation without adding extra layers to the map (#3069)
- SQL Server 2008 plugin is not handling null field values correctly (#2893)
Modified: trunk/mapserver/mapscript/php3/php_mapscript.c
===================================================================
--- trunk/mapserver/mapscript/php3/php_mapscript.c 2010-01-04 17:10:19 UTC (rev 9664)
+++ trunk/mapserver/mapscript/php3/php_mapscript.c 2010-01-04 19:33:47 UTC (rev 9665)
@@ -6772,7 +6772,7 @@
add_property_double(return_value, "tolerance", player->tolerance);
add_property_long(return_value, "toleranceunits",player->toleranceunits);
add_property_long(return_value, "sizeunits", player->sizeunits);
-
+ add_property_long(return_value, "units", player->units);
add_property_double(return_value, "symbolscaledenom",player->symbolscaledenom);
add_property_double(return_value, "minscaledenom", player->minscaledenom);
add_property_double(return_value, "maxscaledenom", player->maxscaledenom);
@@ -6988,6 +6988,7 @@
else IF_SET_DOUBLE("tolerance", self->tolerance)
else IF_SET_LONG( "toleranceunits",self->toleranceunits)
else IF_SET_LONG( "sizeunits", self->sizeunits)
+ else IF_SET_LONG( "units", self->units)
else IF_SET_DOUBLE("symbolscaledenom",self->symbolscaledenom)
else IF_SET_DOUBLE("minscaledenom", self->minscaledenom)
else IF_SET_DOUBLE("maxscaledenom", self->maxscaledenom)
More information about the mapserver-commits
mailing list