[Mapbender-commits] r8062 - branches/mobile/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Aug 15 11:05:26 EDT 2011
Author: pschmidt
Date: 2011-08-15 08:05:26 -0700 (Mon, 15 Aug 2011)
New Revision: 8062
Modified:
branches/mobile/http/javascripts/mod_coords_div.php
branches/mobile/http/javascripts/mod_featureInfoTunnel.php
Log:
Mobile Fehlerbeseitigung: GetFeatureInfoTunnel, ShowCoordinates
Modified: branches/mobile/http/javascripts/mod_coords_div.php
===================================================================
--- branches/mobile/http/javascripts/mod_coords_div.php 2011-08-12 12:49:00 UTC (rev 8061)
+++ branches/mobile/http/javascripts/mod_coords_div.php 2011-08-15 15:05:26 UTC (rev 8062)
@@ -43,13 +43,13 @@
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;
}
function mod_showCoords_div_run(){
+ if ($.extend(mod_showCoords_div_mapObj).defaultTouch) {
+ $.extend(mod_showCoords_div_mapObj).defaultTouch.deactivate();
+ }
var $map = $(mod_showCoords_div_mapObj.getDomElement());
$map.bind("mousemove", mod_showCoords_div_display);
$map.bind("click", mod_showCoords_div_click);
Modified: branches/mobile/http/javascripts/mod_featureInfoTunnel.php
===================================================================
--- branches/mobile/http/javascripts/mod_featureInfoTunnel.php 2011-08-12 12:49:00 UTC (rev 8061)
+++ branches/mobile/http/javascripts/mod_featureInfoTunnel.php 2011-08-15 15:05:26 UTC (rev 8062)
@@ -44,9 +44,6 @@
function init_featureInfoTunnel(ind){
mod_featureInfoTunnel_map = getMapObjByName(mod_featureInfoTunnel_target);
- if ($.extend(mod_featureInfoTunnel_map).defaultTouch) {
- $.extend(mod_featureInfoTunnel_map).defaultTouch.deactivate();
- }
mb_button[ind] = document.getElementById(mod_featureInfoTunnel_elName);
mb_button[ind].img_over = mod_featureInfoTunnel_img_over.src;
mb_button[ind].img_on = mod_featureInfoTunnel_img_on.src;
@@ -59,6 +56,9 @@
}
function mod_featureInfoTunnel_click(){
+ if ($.extend(mod_featureInfoTunnel_map).defaultTouch) {
+ $.extend(mod_featureInfoTunnel_map).defaultTouch.deactivate();
+ }
var domNode = mod_featureInfoTunnel_map.getDomElement();
if (domNode) {
$(domNode).bind("click", mod_featureInfoTunnel_event);
More information about the Mapbender_commits
mailing list