[fusion-commits] r3065 - trunk/layers/MapGuide

svn_fusion at osgeo.org svn_fusion at osgeo.org
Mon May 5 06:44:03 PDT 2025


Author: jng
Date: 2025-05-05 06:44:02 -0700 (Mon, 05 May 2025)
New Revision: 3065

Modified:
   trunk/layers/MapGuide/MapGuide.js
Log:
Fix reloadMap not using a clean 4.0.0 JSON response

Modified: trunk/layers/MapGuide/MapGuide.js
===================================================================
--- trunk/layers/MapGuide/MapGuide.js	2025-02-24 09:45:05 UTC (rev 3064)
+++ trunk/layers/MapGuide/MapGuide.js	2025-05-05 13:44:02 UTC (rev 3065)
@@ -918,6 +918,9 @@
                 iconFormat: "GIF",
                 session: this.getSessionID()
             });
+            if (this.bHasCleanJsonSupport) { //Clean json means no de-arrayification of responses required
+                r.setParams({ version: "4.0.0", clean: 1 });
+            }
             Fusion.oBroker.dispatchRequest(r, OpenLayers.Function.bind(this.onRuntimeMapReloaded, this, oldLayers));
         } else {
             var sl = Fusion.getScriptLanguage();



More information about the fusion-commits mailing list