Commit 4f0aa51848ae89af2dc2667320b41958fa9f97f2
1 parent
026600a0
Exists in
master
and in
7 other branches
-
Showing
2 changed files
with
19 additions
and
2 deletions
Show diff stats
classesjs/classe_eventos.js
@@ -538,7 +538,9 @@ i3GEO.eventos = | @@ -538,7 +538,9 @@ i3GEO.eventos = | ||
538 | }; | 538 | }; |
539 | */ | 539 | */ |
540 | docMapa.ontouchmove = function(exy) { | 540 | docMapa.ontouchmove = function(exy) { |
541 | - i3GEO.eventos.cliquePerm.status = false; | 541 | + if(i3GEO.Interface.ATUAL === "openlayers"){ |
542 | + i3GEO.eventos.cliquePerm.status = false; | ||
543 | + } | ||
542 | }; | 544 | }; |
543 | }, | 545 | }, |
544 | /** | 546 | /** |
classesjs/classe_interface.js
@@ -2915,7 +2915,22 @@ i3GEO.Interface = { | @@ -2915,7 +2915,22 @@ i3GEO.Interface = { | ||
2915 | telay : tela.y | 2915 | telay : tela.y |
2916 | + pos[1] | 2916 | + pos[1] |
2917 | }; | 2917 | }; |
2918 | - }); | 2918 | + } |
2919 | + ); | ||
2920 | + /* | ||
2921 | + google.maps.event.addListener( | ||
2922 | + i3GeoMap, | ||
2923 | + "touchend", | ||
2924 | + function(e) { | ||
2925 | + e.preventDefault(); | ||
2926 | + //calcCoord(e); | ||
2927 | + if (i3GEO.eventos.cliquePerm.status === true) { | ||
2928 | + i3GEO.eventos.mouseupMapa(e); | ||
2929 | + } | ||
2930 | + i3GEO.eventos.cliquePerm.status = true; | ||
2931 | + } | ||
2932 | + ); | ||
2933 | + */ | ||
2919 | }, | 2934 | }, |
2920 | retornaIndiceLayer : function(nomeLayer) { | 2935 | retornaIndiceLayer : function(nomeLayer) { |
2921 | var i = false; | 2936 | var i = false; |