[Mapbender-commits] r9098 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Oct 16 01:27:26 PDT 2014


Author: armin11
Date: 2014-10-16 01:27:26 -0700 (Thu, 16 Oct 2014)
New Revision: 9098

Modified:
   trunk/mapbender/http/php/mod_exportWmc2Json.php
Log:
New parameter from wmc - querylayer -> queryLayer for mobilemap exporthandler

Modified: trunk/mapbender/http/php/mod_exportWmc2Json.php
===================================================================
--- trunk/mapbender/http/php/mod_exportWmc2Json.php	2014-10-16 05:54:02 UTC (rev 9097)
+++ trunk/mapbender/http/php/mod_exportWmc2Json.php	2014-10-16 08:27:26 UTC (rev 9098)
@@ -280,6 +280,7 @@
 				$wmcObject->layerList[$layerCount]->layerTitle = (string)$layerArray[$i]->Title;
 				$wmcObject->layerList[$layerCount]->layerAbstract = (string)$layerArray[$i]->Abstract;
 				$wmcObject->layerList[$layerCount]->layerQueryable = $layerQueryable;
+				$wmcObject->layerList[$layerCount]->queryLayer = (integer)$mbExtensions->querylayer;
 				//layerBbox - TODO
 				$layerCount++;
 			} else {
@@ -290,6 +291,7 @@
 					$wmcObject->layerList[$layerCount]->active = $layerActive;
 					$wmcObject->layerList[$layerCount]->currentFormat = (string)$layerArray[$i]->FormatList->Format[0];
 					$wmcObject->layerList[$layerCount]->layerQueryable = $layerQueryable;
+					$wmcObject->layerList[$layerCount]->queryLayer = (integer)$mbExtensions->querylayer;
 					//$wmcObject->layerList[$layerCount]->hidden = $layerHidden;
 					//$wmcObject->layerList[$i]->layerHidden = $layerHidden;
 					//$wmcObject->layerList[$layerCount]->layerParent = $layerParent;



More information about the Mapbender_commits mailing list