Commit a149eea7c76c7f491fcc25683367ff9846f51f81

Authored by Edmar Moretti
1 parent 1704f088

--no commit message

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
classesjs/classe_eventos.js
... ... @@ -525,7 +525,6 @@ i3GEO.eventos =
525 525 docMapa.onmouseover = function() {
526 526 objposicaocursor.dentroDomapa = true;
527 527 this.onmousemove = function(exy) {
528   - console.info("mousemove")
529 528 // var executar = new Function("i3GEO.eventos.mouseParado().call");
530 529 // ativa o clique sobre o mapa (o evento click e desativado no evento moveend da interface
531 530 i3GEO.eventos.cliquePerm.status = true;
... ... @@ -550,21 +549,18 @@ i3GEO.eventos =
550 549 } catch (e) {}
551 550 };
552 551 docMapa.onmousedown = function(exy) {
553   - console.info("mousedown")
554 552 if(objposicaocursor.dentroDomapa === false){
555 553 return;
556 554 }
557 555 i3GEO.eventos.mousedownMapa();
558 556 };
559 557 docMapa.onclick = function(exy) {
560   - console.info("click")
561 558 if(objposicaocursor.dentroDomapa === false){
562 559 return;
563 560 }
564 561 i3GEO.eventos.mousecliqueMapa(exy);
565 562 };
566 563 docMapa.onmouseup = function(exy) {
567   - console.info("mouseup")
568 564 if(objposicaocursor.dentroDomapa === false){
569 565 return;
570 566 }
... ... @@ -582,6 +578,10 @@ i3GEO.eventos =
582 578 console.info("touchmove")
583 579 i3GEO.eventos.cliquePerm.status = false;
584 580 };
  581 + docMapa.ontouchclick = function(exy) {
  582 + console.info("touchclick")
  583 + i3GEO.eventos.cliquePerm.status = true;
  584 + };
585 585 },
586 586 /**
587 587 * Retorna true se o botão da direita foi utilizado no evento do mouse
... ...