svn commit: r708 - trunk/mapbender/http/classes/class_wmc.php
astrid_emde at osgeo.org
astrid_emde at osgeo.org
Thu Jul 27 10:47:09 EDT 2006
Author: astrid_emde
Date: 2006-07-27 14:47:09+0000
New Revision: 708
Modified:
trunk/mapbender/http/classes/class_wmc.php
Log:
mb_calculateExtent
and setMaprequest to draw the overview with the right extent and not squeezed
Modified: trunk/mapbender/http/classes/class_wmc.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/classes/class_wmc.php?view=diff&rev=708&p1=trunk/mapbender/http/classes/class_wmc.php&p2=trunk/mapbender/http/classes/class_wmc.php&r1=707&r2=708
==============================================================================
--- trunk/mapbender/http/classes/class_wmc.php (original)
+++ trunk/mapbender/http/classes/class_wmc.php 2006-07-27 14:47:09+0000
@@ -766,9 +766,10 @@
$wmc_string .= $target . "mb_execloadWmsSubFunctions();\n";
// $wmc_string .= $target . "setMapRequest('" . $mapObj . "');\n";
$wmc_string .= "for (var i=0; i<old_mapObj.length; i++) {\n";
- $wmc_string .= "\t" . $target . "mb_repaint(old_mapObj[i].frameName, ";
+ $wmc_string .= "\t".$target."mb_calculateExtent(old_mapObj[i].frameName, ";
$wmc_string .= $this->wmc_bBox_minx .",".$this->wmc_bBox_miny .",";
$wmc_string .= $this->wmc_bBox_maxx .",".$this->wmc_bBox_maxy.");\n";
+ $wmc_string .= "\t". $target . "setMapRequest(old_mapObj[i].frameName);\n";
$wmc_string .= "}\n";
}
More information about the Mapbender_commits
mailing list