[Mapbender-commits] r6644 - trunk/mapbender/http/print
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jul 27 03:09:37 EDT 2010
Author: tbaschetti
Date: 2010-07-27 07:09:37 +0000 (Tue, 27 Jul 2010)
New Revision: 6644
Modified:
trunk/mapbender/http/print/mod_printPDF.php
Log:
added missing var prevscale
Modified: trunk/mapbender/http/print/mod_printPDF.php
===================================================================
--- trunk/mapbender/http/print/mod_printPDF.php 2010-07-26 18:03:12 UTC (rev 6643)
+++ trunk/mapbender/http/print/mod_printPDF.php 2010-07-27 07:09:37 UTC (rev 6644)
@@ -249,6 +249,7 @@
var centerY = parseFloat(coord[1]) + (parseFloat(coord[3]) - parseFloat(coord[1]))/2
var pos = pt.makeClickPos2RealWorldPos(target, map_width , map_height);
+ var prevscale= pt.mb_getScale(target);
pt.mb_mapObj[ind].extent = new pt.Mapbender.Extent(
coord[0],
pos[1],
More information about the Mapbender_commits
mailing list