[Mapbender-commits] r7008 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Oct 4 03:27:05 EDT 2010


Author: christoph
Date: 2010-10-04 07:27:05 +0000 (Mon, 04 Oct 2010)
New Revision: 7008

Modified:
   trunk/mapbender/http/classes/class_wmc.php
Log:
unset unused extension data

Modified: trunk/mapbender/http/classes/class_wmc.php
===================================================================
--- trunk/mapbender/http/classes/class_wmc.php	2010-10-03 18:19:20 UTC (rev 7007)
+++ trunk/mapbender/http/classes/class_wmc.php	2010-10-04 07:27:05 UTC (rev 7008)
@@ -1758,6 +1758,20 @@
 		else {
 			$this->mainMap->setFrameName("mapframe1");
 		}
+		unset($this->generalExtensionArray["OV_WIDTH"]);
+		unset($this->generalExtensionArray["OV_HEIGHT"]);
+		unset($this->generalExtensionArray["OV_MINX"]);
+		unset($this->generalExtensionArray["OV_MINY"]);
+		unset($this->generalExtensionArray["OV_MAXX"]);
+		unset($this->generalExtensionArray["OV_MAXY"]);
+		unset($this->generalExtensionArray["OV_SRS"]);
+		unset($this->generalExtensionArray["OV_FRAMENAME"]);
+		unset($this->generalExtensionArray["MINX"]);
+		unset($this->generalExtensionArray["MINY"]);
+		unset($this->generalExtensionArray["MAXX"]);
+		unset($this->generalExtensionArray["MAXY"]);
+		unset($this->generalExtensionArray["EPSG"]);
+		unset($this->generalExtensionArray["MAIN_FRAMENAME"]);
 		return true;
 	}
 



More information about the Mapbender_commits mailing list