[Mapbender-commits] r2531 -
branches/beck_dev/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Jun 23 10:17:40 EDT 2008
Author: christoph
Date: 2008-06-23 10:17:40 -0400 (Mon, 23 Jun 2008)
New Revision: 2531
Modified:
branches/beck_dev/mapbender/http/javascripts/mod_pan.php
Log:
reverted to older version 2517
Modified: branches/beck_dev/mapbender/http/javascripts/mod_pan.php
===================================================================
--- branches/beck_dev/mapbender/http/javascripts/mod_pan.php 2008-06-22 19:31:26 UTC (rev 2530)
+++ branches/beck_dev/mapbender/http/javascripts/mod_pan.php 2008-06-23 14:17:40 UTC (rev 2531)
@@ -77,13 +77,6 @@
}
}
}
-
-eventAfterMapImagesReady.register(function () {
- mb_arrangeElement(mod_pan_target, "maps", 0, 0);
- for(var i=0; i<mb_PanSubElements.length; i++){
- mb_arrangeElement(mod_pan_target, mb_PanSubElements[i], 0, 0);
- }
-});
function mod_pan_stop(e){
mb_panActive = false;
var dif_x = mb_end_x - mb_start_x;
@@ -97,10 +90,10 @@
var center_x = (width / 2) - dif_x;
var center_y = (height / 2) - dif_y;
var real_center = makeClickPos2RealWorldPos(mod_pan_target,center_x, center_y);
-// mb_arrangeElement(mod_pan_target, "maps", 0, 0);
-// for(var i=0; i<mb_PanSubElements.length; i++){
-// mb_arrangeElement(mod_pan_target, mb_PanSubElements[i], 0, 0);
-// }
+ mb_arrangeElement(mod_pan_target, "maps", 0, 0);
+ for(var i=0; i<mb_PanSubElements.length; i++){
+ mb_arrangeElement(mod_pan_target, mb_PanSubElements[i], 0, 0);
+ }
zoom(mod_pan_target,false, 1.0, real_center[0], real_center[1]);
}
function mod_pan_move_map(){
More information about the Mapbender_commits
mailing list