Commit 1704f0886c71e2fe9dde94d658f9a03f8819843a
1 parent
1002048f
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
5 additions
and
2 deletions
Show diff stats
classesjs/classe_eventos.js
| @@ -271,7 +271,6 @@ i3GEO.eventos = | @@ -271,7 +271,6 @@ i3GEO.eventos = | ||
| 271 | * Executa as funções armazenadas em MOUSEUP. | 271 | * Executa as funções armazenadas em MOUSEUP. |
| 272 | */ | 272 | */ |
| 273 | mouseupMapa : function(exy) { | 273 | mouseupMapa : function(exy) { |
| 274 | - console.info("mouseup") | ||
| 275 | if (!exy) { | 274 | if (!exy) { |
| 276 | i3GEO.eventos.executaEventos(this.MOUSEUP); | 275 | i3GEO.eventos.executaEventos(this.MOUSEUP); |
| 277 | } else { | 276 | } else { |
| @@ -326,7 +325,6 @@ i3GEO.eventos = | @@ -326,7 +325,6 @@ i3GEO.eventos = | ||
| 326 | * Executa as funções armazenadas em MOUSECLIQUE. | 325 | * Executa as funções armazenadas em MOUSECLIQUE. |
| 327 | */ | 326 | */ |
| 328 | mousecliqueMapa : function() { | 327 | mousecliqueMapa : function() { |
| 329 | - console.info("mouseclique") | ||
| 330 | i3GEO.eventos.executaEventos(this.MOUSECLIQUE); | 328 | i3GEO.eventos.executaEventos(this.MOUSECLIQUE); |
| 331 | }, | 329 | }, |
| 332 | /** | 330 | /** |
| @@ -527,6 +525,7 @@ i3GEO.eventos = | @@ -527,6 +525,7 @@ i3GEO.eventos = | ||
| 527 | docMapa.onmouseover = function() { | 525 | docMapa.onmouseover = function() { |
| 528 | objposicaocursor.dentroDomapa = true; | 526 | objposicaocursor.dentroDomapa = true; |
| 529 | this.onmousemove = function(exy) { | 527 | this.onmousemove = function(exy) { |
| 528 | + console.info("mousemove") | ||
| 530 | // var executar = new Function("i3GEO.eventos.mouseParado().call"); | 529 | // var executar = new Function("i3GEO.eventos.mouseParado().call"); |
| 531 | // ativa o clique sobre o mapa (o evento click e desativado no evento moveend da interface | 530 | // ativa o clique sobre o mapa (o evento click e desativado no evento moveend da interface |
| 532 | i3GEO.eventos.cliquePerm.status = true; | 531 | i3GEO.eventos.cliquePerm.status = true; |
| @@ -551,18 +550,21 @@ i3GEO.eventos = | @@ -551,18 +550,21 @@ i3GEO.eventos = | ||
| 551 | } catch (e) {} | 550 | } catch (e) {} |
| 552 | }; | 551 | }; |
| 553 | docMapa.onmousedown = function(exy) { | 552 | docMapa.onmousedown = function(exy) { |
| 553 | + console.info("mousedown") | ||
| 554 | if(objposicaocursor.dentroDomapa === false){ | 554 | if(objposicaocursor.dentroDomapa === false){ |
| 555 | return; | 555 | return; |
| 556 | } | 556 | } |
| 557 | i3GEO.eventos.mousedownMapa(); | 557 | i3GEO.eventos.mousedownMapa(); |
| 558 | }; | 558 | }; |
| 559 | docMapa.onclick = function(exy) { | 559 | docMapa.onclick = function(exy) { |
| 560 | + console.info("click") | ||
| 560 | if(objposicaocursor.dentroDomapa === false){ | 561 | if(objposicaocursor.dentroDomapa === false){ |
| 561 | return; | 562 | return; |
| 562 | } | 563 | } |
| 563 | i3GEO.eventos.mousecliqueMapa(exy); | 564 | i3GEO.eventos.mousecliqueMapa(exy); |
| 564 | }; | 565 | }; |
| 565 | docMapa.onmouseup = function(exy) { | 566 | docMapa.onmouseup = function(exy) { |
| 567 | + console.info("mouseup") | ||
| 566 | if(objposicaocursor.dentroDomapa === false){ | 568 | if(objposicaocursor.dentroDomapa === false){ |
| 567 | return; | 569 | return; |
| 568 | } | 570 | } |
| @@ -577,6 +579,7 @@ i3GEO.eventos = | @@ -577,6 +579,7 @@ i3GEO.eventos = | ||
| 577 | i3GEO.eventos.mouseupMapa(exy); | 579 | i3GEO.eventos.mouseupMapa(exy); |
| 578 | }; | 580 | }; |
| 579 | docMapa.ontouchmove = function(exy) { | 581 | docMapa.ontouchmove = function(exy) { |
| 582 | + console.info("touchmove") | ||
| 580 | i3GEO.eventos.cliquePerm.status = false; | 583 | i3GEO.eventos.cliquePerm.status = false; |
| 581 | }; | 584 | }; |
| 582 | }, | 585 | }, |