[fusion-commits] r1433 - sandbox/legendImage/MapServer/php

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Jul 4 10:14:10 EDT 2008


Author: pagameba
Date: 2008-07-04 10:14:09 -0400 (Fri, 04 Jul 2008)
New Revision: 1433

Modified:
   sandbox/legendImage/MapServer/php/LoadMap.php
Log:
add width and height of icons to output

Modified: sandbox/legendImage/MapServer/php/LoadMap.php
===================================================================
--- sandbox/legendImage/MapServer/php/LoadMap.php	2008-07-03 23:51:00 UTC (rev 1432)
+++ sandbox/legendImage/MapServer/php/LoadMap.php	2008-07-04 14:14:09 UTC (rev 1433)
@@ -326,7 +326,8 @@
     for ($i=0; $i<$nTotalClasses;$i++)
       $oImage->pasteImage($aIcons[$i], -1, $i*$nIconWidth, 0);
     $mapObj->icons_url = $oImage->saveWebImage();
-   
+    $mapObj->icons_width = $nIconWidth;
+    $mapObj->icons_height = $nIconHeight;
 
     echo var2json($mapObj);
 }



More information about the fusion-commits mailing list