From svn_fusion at osgeo.org Mon May 5 06:44:03 2025 From: svn_fusion at osgeo.org (svn_fusion at osgeo.org) Date: Mon, 5 May 2025 06:44:03 -0700 Subject: [fusion-commits] r3065 - trunk/layers/MapGuide Message-ID: <20250505134403.6F91B1E4627@trac.osgeo.org> 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();