[mapguide-commits] r6629 - trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI.Http

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed May 9 07:36:53 EDT 2012


Author: jng
Date: 2012-05-09 04:36:53 -0700 (Wed, 09 May 2012)
New Revision: 6629

Modified:
   trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI.Http/RequestBuilder.cs
Log:
#1997: Fix row/col mismatch in GetTile API

Modified: trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI.Http/RequestBuilder.cs
===================================================================
--- trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI.Http/RequestBuilder.cs	2012-05-08 17:53:51 UTC (rev 6628)
+++ trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI.Http/RequestBuilder.cs	2012-05-09 11:36:53 UTC (rev 6629)
@@ -1173,8 +1173,8 @@
             param.Add("MAPDEFINITION", mapdefinition);
             param.Add("FORMAT", format);
             param.Add("BASEMAPLAYERGROUPNAME", groupname);
-            param.Add("TILECOL", row.ToString());
-            param.Add("TILEROW", col.ToString());
+            param.Add("TILECOL", col.ToString());
+            param.Add("TILEROW", row.ToString());
             param.Add("CLIENTAGENT", m_userAgent);
 
             return m_hosturi + "?" + EncodeParameters(param);
@@ -1191,8 +1191,8 @@
             param.Add("MAPDEFINITION", mapdefinition);
             param.Add("FORMAT", format);
             param.Add("BASEMAPLAYERGROUPNAME", groupname);
-            param.Add("TILECOL", row.ToString());
-            param.Add("TILEROW", col.ToString());
+            param.Add("TILECOL", col.ToString());
+            param.Add("TILEROW", row.ToString());
             param.Add("CLIENTAGENT", m_userAgent);
 
             return m_hosturi + "?" + EncodeParameters(param);



More information about the mapguide-commits mailing list