[Mapbender-commits] r8052 - branches/mobile/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Aug 3 07:30:44 EDT 2011


Author: pschmidt
Date: 2011-08-03 04:30:44 -0700 (Wed, 03 Aug 2011)
New Revision: 8052

Modified:
   branches/mobile/http/javascripts/mod_coords_div.php
   branches/mobile/http/javascripts/mod_featureInfo.php
   branches/mobile/http/javascripts/mod_measure.php
Log:
Module f?\195?\188r iPad

Modified: branches/mobile/http/javascripts/mod_coords_div.php
===================================================================
--- branches/mobile/http/javascripts/mod_coords_div.php	2011-08-03 09:44:06 UTC (rev 8051)
+++ branches/mobile/http/javascripts/mod_coords_div.php	2011-08-03 11:30:44 UTC (rev 8052)
@@ -43,6 +43,9 @@
 	mb_button[ind].status = 0;
 	mb_button[ind].elName = mod_showCoords_div_elName;
 	mb_button[ind].fName = mod_showCoords_div_frameName;
+        if ($.extend(mod_showCoords_div_mapObj).defaultTouch) {
+            $.extend(mod_showCoords_div_mapObj).defaultTouch.deactivate();
+        }
 	mb_button[ind].go = mod_showCoords_div_run;
 	mb_button[ind].stop = mod_showCoords_div_disable;   
 }
@@ -58,6 +61,9 @@
 	if(document.getElementById(displayTarget)){
 		writeTag("",displayTarget,"");
 	}
+        if ($.extend(mod_showCoords_div_mapObj).defaultTouch) {
+            $.extend(mod_showCoords_div_mapObj).defaultTouch.activate();
+        }
 }
 function mod_showCoords_div_click(e){
 	var click = mod_showCoords_div_mapObj.getMousePosition(e);

Modified: branches/mobile/http/javascripts/mod_featureInfo.php
===================================================================
--- branches/mobile/http/javascripts/mod_featureInfo.php	2011-08-03 09:44:06 UTC (rev 8051)
+++ branches/mobile/http/javascripts/mod_featureInfo.php	2011-08-03 11:30:44 UTC (rev 8052)
@@ -53,10 +53,16 @@
 		mb_button[ind].elName = mod_featureInfo_elName;
 		mb_button[ind].fName = mod_featureInfo_frameName;
 		mb_button[ind].go = function () {
+                        if ($.extend(mod_featureInfo_mapObj).defaultTouch) {
+                            $.extend(mod_featureInfo_mapObj).defaultTouch.deactivate();
+                        }
 			mod_featureInfo_click();
 		};
 		mb_button[ind].stop = function () {
 			mod_featureInfo_disable();
+                        if ($.extend(mod_featureInfo_mapObj).defaultTouch) {
+                            $.extend(mod_featureInfo_mapObj).defaultTouch.activate();
+                        }
 		};
 	});
 });

Modified: branches/mobile/http/javascripts/mod_measure.php
===================================================================
--- branches/mobile/http/javascripts/mod_measure.php	2011-08-03 09:44:06 UTC (rev 8051)
+++ branches/mobile/http/javascripts/mod_measure.php	2011-08-03 11:30:44 UTC (rev 8052)
@@ -86,10 +86,16 @@
 	mb_button[ind].elName = mod_measure_elName;
 	mb_button[ind].fName = mod_measure_frameName;
 	mb_button[ind].go = function () {
+                if ($.extend(mod_measure_mapObj).defaultTouch) {
+                    $.extend(mod_measure_mapObj).defaultTouch.deactivate();
+                }
 		mod_measure_go();
 	};
 	mb_button[ind].stop = function () {
 		mod_measure_disable();
+                if ($.extend(mod_measure_mapObj).defaultTouch) {
+                    $.extend(mod_measure_mapObj).defaultTouch.activate();
+                }
 	};
 	mod_measure_width = mod_measure_mapObj.width;
 	mod_measure_height = mod_measure_mapObj.height;



More information about the Mapbender_commits mailing list