[mapguide-commits] r7725 - branches/2.4/MgDev/Web/src/viewerfiles

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Aug 2 06:10:16 PDT 2013


Author: jng
Date: 2013-08-02 06:10:16 -0700 (Fri, 02 Aug 2013)
New Revision: 7725

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

Modified: branches/2.4/MgDev/Web/src/viewerfiles/ajaxmappane.templ
===================================================================
--- branches/2.4/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2013-08-02 12:47:19 UTC (rev 7724)
+++ branches/2.4/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2013-08-02 13:10:16 UTC (rev 7725)
@@ -2986,6 +2986,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