[mapguide-commits] r6794 - branches/2.4/MgDev/Web/src/mapviewernet
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue Jun 19 04:41:52 PDT 2012
Author: jng
Date: 2012-06-19 04:41:51 -0700 (Tue, 19 Jun 2012)
New Revision: 6794
Modified:
branches/2.4/MgDev/Web/src/mapviewernet/mapframe.aspx
Log:
#1263: Force the use of . as the decimal separator when emitting out finite display scales to ajaxmappane.templ. This is for the .net viewer
Modified: branches/2.4/MgDev/Web/src/mapviewernet/mapframe.aspx
===================================================================
--- branches/2.4/MgDev/Web/src/mapviewernet/mapframe.aspx 2012-06-19 11:34:59 UTC (rev 6793)
+++ branches/2.4/MgDev/Web/src/mapviewernet/mapframe.aspx 2012-06-19 11:41:51 UTC (rev 6794)
@@ -149,7 +149,7 @@
scales.Sort();
for(int i = 0; i < scales.Count; i++)
{
- scaleCreationCode = scaleCreationCode + "scales[" + i + "]=" + scales[i] + "; ";
+ scaleCreationCode = scaleCreationCode + "scales[" + i + "]=" + scales[i].ToString().Replace(',','.') + "; ";
}
MgResourceIdentifier mapStateId = new MgResourceIdentifier("Session:" + sessionId + "//" + mapName + "." + MgResourceType.Map);
map.Save(resourceSrvc, mapStateId);
More information about the mapguide-commits
mailing list