[mapguide-commits] r7726 - branches/2.5/MgDev/Web/src/viewerfiles

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Aug 2 06:13:12 PDT 2013


Author: jng
Date: 2013-08-02 06:13:11 -0700 (Fri, 02 Aug 2013)
New Revision: 7726

Modified:
   branches/2.5/MgDev/Web/src/viewerfiles/ajaxmappane.templ
Log:
#2331: Backport to 2.5

Modified: branches/2.5/MgDev/Web/src/viewerfiles/ajaxmappane.templ
===================================================================
--- branches/2.5/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2013-08-02 13:10:16 UTC (rev 7725)
+++ branches/2.5/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2013-08-02 13:13:11 UTC (rev 7726)
@@ -2999,6 +2999,9 @@
 
 function RequestPolygonSelection(xs, ys, append)
 {
+    if (xs.length <= 3)
+        return;
+
     var wkt = "POLYGON((";
     for(var i=0; i < xs.length; i++)
     {



More information about the mapguide-commits mailing list