[Mapbender-commits] r3254 - branches/testbaudson_dev/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Nov 21 09:39:17 EST 2008
Author: christoph
Date: 2008-11-21 09:39:17 -0500 (Fri, 21 Nov 2008)
New Revision: 3254
Modified:
branches/testbaudson_dev/http/php/mod_map1.php
Log:
bug fix for iframe usage of Mapbender
Modified: branches/testbaudson_dev/http/php/mod_map1.php
===================================================================
--- branches/testbaudson_dev/http/php/mod_map1.php 2008-11-20 22:32:20 UTC (rev 3253)
+++ branches/testbaudson_dev/http/php/mod_map1.php 2008-11-21 14:39:17 UTC (rev 3254)
@@ -100,8 +100,8 @@
parent.zoom("mapframe1", false, Math.pow(parent.mapbender.zoomMousewheel, -sum_delta), pos[0], pos[1]);
}
- var newPosX = parent.parent.mb_mapObj[ind].width - lastScrollPositionX;
- var newPosY = parent.parent.mb_mapObj[ind].height - lastScrollPositionY;
+ var newPosX = parent.mb_mapObj[ind].width - lastScrollPositionX;
+ var newPosY = parent.mb_mapObj[ind].height - lastScrollPositionY;
var posAfterZoom = parent.makeClickPos2RealWorldPos("mapframe1", newPosX, newPosY);
parent.zoom('mapframe1', false, 1.0, posAfterZoom[0], posAfterZoom[1]);
More information about the Mapbender_commits
mailing list