Commit ef94694fffae80674d28b8f6855a9b6a78043ff5

Authored by Edmar Moretti
1 parent e1800f06

-

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
classesjs/classe_interface.js
@@ -1954,6 +1954,7 @@ i3GEO.Interface = { @@ -1954,6 +1954,7 @@ i3GEO.Interface = {
1954 "movestart", 1954 "movestart",
1955 i3geoOL, 1955 i3geoOL,
1956 function(e) { 1956 function(e) {
  1957 + alert("movestart")
1957 i3GEO.Interface.STATUS.pan = true; 1958 i3GEO.Interface.STATUS.pan = true;
1958 var xy; 1959 var xy;
1959 modoAtual = "move"; 1960 modoAtual = "move";
@@ -1965,8 +1966,8 @@ i3GEO.Interface = { @@ -1965,8 +1966,8 @@ i3GEO.Interface = {
1965 "moveend", 1966 "moveend",
1966 i3geoOL, 1967 i3geoOL,
1967 function(e) { 1968 function(e) {
  1969 + alert("moveend")
1968 var xy; 1970 var xy;
1969 -  
1970 modoAtual = ""; 1971 modoAtual = "";
1971 i3GEO.Interface.openlayers.recalcPar(); 1972 i3GEO.Interface.openlayers.recalcPar();
1972 i3GEO.Interface.STATUS.pan = false; 1973 i3GEO.Interface.STATUS.pan = false;
@@ -1992,6 +1993,7 @@ i3GEO.Interface = { @@ -1992,6 +1993,7 @@ i3GEO.Interface = {
1992 "mousemove", 1993 "mousemove",
1993 i3geoOL, 1994 i3geoOL,
1994 function(e) { 1995 function(e) {
  1996 + alert("mousemove")
1995 if (modoAtual === "move") { 1997 if (modoAtual === "move") {
1996 return; 1998 return;
1997 } 1999 }
@@ -2005,6 +2007,7 @@ i3GEO.Interface = { @@ -2005,6 +2007,7 @@ i3GEO.Interface = {
2005 return; 2007 return;
2006 } 2008 }
2007 calcCoord(e); 2009 calcCoord(e);
  2010 + e.preventDefault();
2008 }); 2011 });
2009 }, 2012 },
2010 /** 2013 /**