[mapguide-commits] r6934 - branches/2.4/MgDev/Web/src/HttpHandler

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Aug 6 07:01:30 PDT 2012


Author: jng
Date: 2012-08-06 07:01:29 -0700 (Mon, 06 Aug 2012)
New Revision: 6934

Modified:
   branches/2.4/MgDev/Web/src/HttpHandler/HttpQueryMapFeatures.cpp
Log:
#2090: Support JSON output in QUERYMAPFEATURES

Modified: branches/2.4/MgDev/Web/src/HttpHandler/HttpQueryMapFeatures.cpp
===================================================================
--- branches/2.4/MgDev/Web/src/HttpHandler/HttpQueryMapFeatures.cpp	2012-08-02 15:56:12 UTC (rev 6933)
+++ branches/2.4/MgDev/Web/src/HttpHandler/HttpQueryMapFeatures.cpp	2012-08-06 14:01:29 UTC (rev 6934)
@@ -123,6 +123,9 @@
     Ptr<MgByteReader> featureDescriptionInfo = controller.QueryMapFeatures(
         m_mapName, layerNames, filterGeometry, selectionVariant, m_featureFilter, m_maxFeatures, m_persist, m_layerAttributeFilter);
 
+    //Convert to alternate response format, if necessary
+    ProcessFormatConversion(featureDescriptionInfo);
+
     // Set the result
     hResult->SetResultObject(featureDescriptionInfo, featureDescriptionInfo->GetMimeType());
 



More information about the mapguide-commits mailing list