Commit cff2ac659420d5a6bfc3a253b011dff416a0e53e
1 parent
4f0aa518
Exists in
master
and in
7 other branches
-
Showing
1 changed file
with
6 additions
and
8 deletions
Show diff stats
classesjs/classe_eventos.js
@@ -529,18 +529,16 @@ i3GEO.eventos = | @@ -529,18 +529,16 @@ i3GEO.eventos = | ||
529 | docMapa.onmouseup = function(exy) { | 529 | docMapa.onmouseup = function(exy) { |
530 | i3GEO.eventos.mouseupMapa(exy); | 530 | i3GEO.eventos.mouseupMapa(exy); |
531 | }; | 531 | }; |
532 | - /* | ||
533 | docMapa.ontouchend = function(exy) { | 532 | docMapa.ontouchend = function(exy) { |
534 | - if (i3GEO.eventos.cliquePerm.status === true) { | ||
535 | - i3GEO.eventos.mouseupMapa(exy); | 533 | + if(i3GEO.Interface.ATUAL === "googlemaps"){ |
534 | + if (i3GEO.eventos.cliquePerm.status === true) { | ||
535 | + i3GEO.eventos.mouseupMapa(exy); | ||
536 | + } | ||
537 | + i3GEO.eventos.cliquePerm.status = true; | ||
536 | } | 538 | } |
537 | - i3GEO.eventos.cliquePerm.status = true; | ||
538 | }; | 539 | }; |
539 | - */ | ||
540 | docMapa.ontouchmove = function(exy) { | 540 | docMapa.ontouchmove = function(exy) { |
541 | - if(i3GEO.Interface.ATUAL === "openlayers"){ | ||
542 | - i3GEO.eventos.cliquePerm.status = false; | ||
543 | - } | 541 | + i3GEO.eventos.cliquePerm.status = false; |
544 | }; | 542 | }; |
545 | }, | 543 | }, |
546 | /** | 544 | /** |