Commit 91637c32bb693614f4461ddc5e8143217923bf18
1 parent
2beb0698
Exists in
master
and in
7 other branches
-
Showing
2 changed files
with
8 additions
and
7 deletions
Show diff stats
classesjs/classe_interface.js
@@ -1908,7 +1908,7 @@ i3GEO.Interface = { | @@ -1908,7 +1908,7 @@ i3GEO.Interface = { | ||
1908 | e = null; | 1908 | e = null; |
1909 | } | 1909 | } |
1910 | lonlat = i3geoOL.getLonLatFromPixel(p); | 1910 | lonlat = i3geoOL.getLonLatFromPixel(p); |
1911 | - alert("calcCoord "+objposicaocursor.ddx+" "+objposicaocursor.ddy) | 1911 | + //alert("calcCoord "+objposicaocursor.ddx+" "+objposicaocursor.ddy) |
1912 | if (!lonlat) { | 1912 | if (!lonlat) { |
1913 | return; | 1913 | return; |
1914 | } | 1914 | } |
classesjs/classe_mapa.js
@@ -1498,7 +1498,8 @@ i3GEO.mapa = | @@ -1498,7 +1498,8 @@ i3GEO.mapa = | ||
1498 | && i3GEO.eventos.MOUSECLIQUE.length > 1) { | 1498 | && i3GEO.eventos.MOUSECLIQUE.length > 1) { |
1499 | return; | 1499 | return; |
1500 | } | 1500 | } |
1501 | - var ntemas, etiquetas, j, retorna, targ = ""; | 1501 | + var ntemas, etiquetas, j, retorna, targ = "", |
1502 | + x = objposicaocursor.ddx, y = objposicaocursor.ddy; | ||
1502 | 1503 | ||
1503 | if (!e) { | 1504 | if (!e) { |
1504 | e = window.event; | 1505 | e = window.event; |
@@ -1638,8 +1639,8 @@ i3GEO.mapa = | @@ -1638,8 +1639,8 @@ i3GEO.mapa = | ||
1638 | if (tipotip === "balao") { | 1639 | if (tipotip === "balao") { |
1639 | i3GEO.Interface[i3GEO.Interface.ATUAL].balao( | 1640 | i3GEO.Interface[i3GEO.Interface.ATUAL].balao( |
1640 | res, | 1641 | res, |
1641 | - objposicaocursor.ddx, | ||
1642 | - objposicaocursor.ddy); | 1642 | + x, |
1643 | + y); | ||
1643 | } else { | 1644 | } else { |
1644 | // tipotip pode ser um elemento DOM | 1645 | // tipotip pode ser um elemento DOM |
1645 | n = $i(tipotip); | 1646 | n = $i(tipotip); |
@@ -1664,11 +1665,11 @@ i3GEO.mapa = | @@ -1664,11 +1665,11 @@ i3GEO.mapa = | ||
1664 | configura.locaplic); | 1665 | configura.locaplic); |
1665 | } | 1666 | } |
1666 | }; | 1667 | }; |
1667 | - alert("identifica "+objposicaocursor.ddx+" "+objposicaocursor.ddy) | 1668 | + //alert("identifica "+objposicaocursor.ddx+" "+objposicaocursor.ddy) |
1668 | i3GEO.php.identifica3( | 1669 | i3GEO.php.identifica3( |
1669 | retorna, | 1670 | retorna, |
1670 | - objposicaocursor.ddx, | ||
1671 | - objposicaocursor.ddy, | 1671 | + x, |
1672 | + y, | ||
1672 | i3GEO.mapa.RESOLUCAOTIP, | 1673 | i3GEO.mapa.RESOLUCAOTIP, |
1673 | "tip", | 1674 | "tip", |
1674 | i3GEO.configura.locaplic, | 1675 | i3GEO.configura.locaplic, |