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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Oct 26 06:48:39 EDT 2007


Author: christoph
Date: 2007-10-26 06:48:39 -0400 (Fri, 26 Oct 2007)
New Revision: 1747

Modified:
   trunk/mapbender/http/php/mod_mapOV.php
Log:
store overview extent in WMC

Modified: trunk/mapbender/http/php/mod_mapOV.php
===================================================================
--- trunk/mapbender/http/php/mod_mapOV.php	2007-10-26 10:32:50 UTC (rev 1746)
+++ trunk/mapbender/http/php/mod_mapOV.php	2007-10-26 10:48:39 UTC (rev 1747)
@@ -69,6 +69,10 @@
 	document.onmousemove = parent.mod_box_run;
 	document.getElementById("maps").style.width = mod_overview_width;
 	document.getElementById("maps").style.height = mod_overview_height;   
+	
+	var ind = parent.getMapObjIndexByName('overview');
+	var ov_extent = parent.mb_mapObj[ind].getExtentInfos();
+	parent.mb_setWmcExtensionData({"ov_minx":ov_extent.minx,"ov_miny":ov_extent.miny,"ov_maxx":ov_extent.maxx,"ov_maxy":ov_extent.maxy});
 }
 function mod_ov_setHandler(e){
    parent.mb_isBF = "overview";



More information about the Mapbender_commits mailing list