Commit b96db1706c09d61b3ce44eca441f11b895826c9f

Authored by Edmar Moretti
1 parent 099bed33

Modificação nos ícones da barra de botões e posicionamento na tela. Criação de n…

…ovo CSS e sprite2.png
classesjs/classe_barradebotoes.js
... ... @@ -511,23 +511,20 @@ i3GEO.barraDeBotoes = {
511 511 inicializaBarra:function(idconteudo,idconteudonovo,barraZoom,x,y,onde){
512 512 if(typeof(console) !== 'undefined'){console.info("i3GEO.barraDeBotoes.inicializaBarra()");}
513 513 if(i3GEO.barraDeBotoes.TEMPLATEBOTAO === "")
514   - {i3GEO.barraDeBotoes.TEMPLATEBOTAO = "<div style='display:inline;background-color:rgb(250,250,250);'><p style='font-size:2px;'>&nbsp;</p><img style='border:0px solid white;' src='"+i3GEO.configura.locaplic+"/imagens/branco.gif' id='$$'/></div>";}
515   - var tipo,mostra,numerobotoes = 0,i,temp,elementos,nelementos = 0,e,wj,recuo,novoel,alturadisponivel,n,chaves,re,estilo;
  514 + {i3GEO.barraDeBotoes.TEMPLATEBOTAO = "<div style='display:inline;background-color:rgb(250,250,250);'><img style='border:0px solid white;' src='"+i3GEO.configura.locaplic+"/imagens/branco.gif' id='$$'/></div>";}
  515 + var falta,ticone,tipo,mostra,numerobotoes = 0,i,temp,elementos,nelementos = 0,e,wj,recuo,novoel,alturadisponivel,n,chaves,re,estilo;
516 516 if(i3GEO.barraDeBotoes.AUTO === true){
517 517 if(idconteudo === "barraDeBotoes1"){
518 518 novoel = document.createElement("div");
519 519 novoel.id = "barraDeBotoes1";
520   - temp = '<table style="width:100%"><caption style="text-align:center">&nbsp;</caption><tr><td style="background-color:rgb(250,250,250);"><div ID="historicozoom" ></div></td></tr><tr><td style=height:5px ></td></tr></table>' +
  520 + temp = '<table style="width:100%"><tr><td style="background-color:rgb(250,250,250);"><div ID="historicozoom" ></div></td></tr><tr><td style=height:5px ></td></tr></table>' +
521 521 "<div style='display:inline;background-color:rgb(250,250,250);'>" +
522   - "<p style='font-size:4px;'>&nbsp;</p>" +
523 522 '<img title="zoom" alt="zoom" src="'+i3GEO.configura.locaplic+'/imagens/branco.gif" id="zoomli"/>' +
524 523 "</div>" +
525 524 "<div style='display:inline;background-color:rgb(250,250,250);'>" +
526   - "<p style='font-size:4px;'>&nbsp;</p>" +
527 525 '<img title="desloca" alt="desloca" src="'+i3GEO.configura.locaplic+'/imagens/branco.gif" id="pan"/>' +
528 526 "</div>" +
529 527 "<div style='display:inline;background-color:rgb(250,250,250);'>" +
530   - "<p style='font-size:4px;'>&nbsp;</p>" +
531 528 '<img title="geral" alt="geral" src="'+i3GEO.configura.locaplic+'/imagens/branco.gif" id="zoomtot"/>' +
532 529 "</div>";
533 530 novoel.innerHTML = temp;
... ... @@ -548,10 +545,10 @@ i3GEO.barraDeBotoes = {
548 545 estilo = "font-size:2px;";
549 546 if(i3GEO.barraDeBotoes.SOICONES === true)
550 547 {estilo = "font-size:0px;";}
551   - novoel.innerHTML = "<table style='width:100%'><caption style='text-align:center'>&nbsp;</caption>"+
  548 + novoel.innerHTML = "<table style='width:100%'>"+
552 549 "<tr><td style='background-color:rgb(250,250,250);'><img title='' alt='sobe' src='"+i3GEO.configura.locaplic+"/imagens/branco.gif' id='sobeferramentas'/></td></tr>"+
553 550 "</table>" +temp+
554   - "<table style='width:100%;'><tr><td style='background-color:rgb(250,250,250);'><p style='"+estilo+"'>&nbsp;</p><img title='desce' alt='' src='"+i3GEO.configura.locaplic+"/imagens/branco.gif' id='desceferramentas'/></td></tr></table>";
  551 + "<table style='width:100%;'><tr><td style='background-color:rgb(250,250,250);'><img title='desce' alt='' src='"+i3GEO.configura.locaplic+"/imagens/branco.gif' id='desceferramentas'/></td></tr></table>";
555 552 document.body.appendChild(novoel);
556 553 }
557 554 else{
... ... @@ -587,7 +584,7 @@ i3GEO.barraDeBotoes = {
587 584 temp = "";
588 585 if (barraZoom === true)
589 586 {temp += i3GEO.navega.barraDeZoom.cria();}
590   - temp += '<div id="'+idconteudonovo+'_" style="left:'+recuo+';top:-6px;" ></div>';
  587 + temp += '<div id="'+idconteudonovo+'_" style="left:'+recuo+';top:0px;" ></div>';
591 588 novoel.innerHTML = temp;
592 589 novoel.onmouseover = function(){
593 590 //objposicaocursor.imgx = 0;
... ... @@ -612,12 +609,14 @@ i3GEO.barraDeBotoes = {
612 609 if(i3GEO.barraDeBotoes.ATIVAMENUCONTEXTO)
613 610 {i3GEO.util.mudaCursor(i3GEO.configura.cursores,"contexto",idconteudonovo,i3GEO.configura.locaplic);}
614 611 //copia os botoes do HTML para a janela
  612 + ticone = 28;
  613 + alturadisponivel = i3GEO.parametros.h - i3GEO.Interface.BARRABOTOESTOP - ticone - 18;
  614 + numerobotoes = parseInt(alturadisponivel / ticone,10);
  615 + falta = alturadisponivel - (ticone * numerobotoes);
615 616 if($i(idconteudo))
616 617 {
617 618 $i(idconteudonovo+"_").innerHTML = $i(idconteudo).innerHTML;
618 619 $i(idconteudo).innerHTML = "";
619   - alturadisponivel = i3GEO.parametros.h - 4;
620   - numerobotoes = parseInt(alturadisponivel / 35,10);
621 620 elementos = $i(idconteudonovo+"_").getElementsByTagName("img");
622 621 nelementos = elementos.length;
623 622 //faz o cálculo do número de botões que devem ficar visíveis em função do tamanho da barra
... ... @@ -651,8 +650,7 @@ i3GEO.barraDeBotoes = {
651 650 YAHOO.namespace("janelaBotoes.xp");
652 651 if(i3GEO.barraDeBotoes.AUTOALTURA === false || barraZoom === true || (elementos.length > numerobotoes))
653 652 {YAHOO.janelaBotoes.xp.panel = new YAHOO.widget.Panel(idconteudonovo, {width:wj, fixedcenter: false, constraintoviewport: false, underlay:"none", close:i3GEO.barraDeBotoes.PERMITEFECHAR, visible:true, draggable:i3GEO.barraDeBotoes.PERMITEDESLOCAR, modal:false,iframe:false } );}
654   - else
655   - {YAHOO.janelaBotoes.xp.panel = new YAHOO.widget.Panel(idconteudonovo, {height:i3GEO.parametros.h - 4,width:wj, fixedcenter: false, constraintoviewport: false, underlay:"none", close:i3GEO.barraDeBotoes.PERMITEFECHAR, visible:true, draggable:i3GEO.barraDeBotoes.PERMITEDESLOCAR, modal:false,iframe:false } );}
  653 +
656 654 if(i3GEO.barraDeBotoes.SOICONES === true){
657 655 temp = $i("i3geo_barra2");
658 656 if(temp)
... ... @@ -665,8 +663,9 @@ i3GEO.barraDeBotoes = {
665 663 {i3GEO.navega.barraDeZoom.ativa();}
666 664 YAHOO.janelaBotoes.xp.panel.render();
667 665 if(i3GEO.barraDeBotoes.AUTOALTURA === true){
668   - y = y - i3GEO.Interface.BARRABOTOESTOP + 2;
669   - x = x - 3;
  666 + temp = $i("i3geo_barra2");
  667 + if(temp)
  668 + {temp.style.height = i3GEO.parametros.h - i3GEO.Interface.BARRABOTOESTOP - 2 + "px";}
670 669 }
671 670 YAHOO.janelaBotoes.xp.panel.moveTo(x,y);
672 671 if($i("sobeferramentas")){
... ...
classesjs/classe_configura.js
... ... @@ -265,7 +265,7 @@ i3GEO.configura = {
265 265 Default:
266 266 {13}
267 267 */
268   - diminuixM: 13,
  268 + diminuixM: 0,
269 269 /*
270 270 Propriedade: diminuixN
271 271  
... ... @@ -278,7 +278,7 @@ i3GEO.configura = {
278 278 Default:
279 279 {11}
280 280 */
281   - diminuixN: 18,
  281 + diminuixN: 0,
282 282 /*
283 283 Propriedade: diminuiyM
284 284  
... ... @@ -291,7 +291,7 @@ i3GEO.configura = {
291 291 Default:
292 292 {106}
293 293 */
294   - diminuiyM: 106,
  294 + diminuiyM: 100,
295 295 /*
296 296 Propriedade: diminuiyN
297 297  
... ... @@ -304,7 +304,7 @@ i3GEO.configura = {
304 304 Default:
305 305 {103}
306 306 */
307   - diminuiyN: 103,
  307 + diminuiyN: 100,
308 308 /*
309 309 Propriedade: map3d
310 310  
... ...
classesjs/classe_i3geo.js
... ... @@ -506,24 +506,20 @@ i3GEO = {
506 506 diminuix = (navm) ? i3GEO.configura.diminuixM : i3GEO.configura.diminuixN;
507 507 diminuiy = (navm) ? i3GEO.configura.diminuiyM : i3GEO.configura.diminuiyN;
508 508 if(chro){
509   - diminuix = diminuix - 10;
510   - diminuiy = diminuiy - 50;
  509 + //diminuix = diminuix - 10;
  510 + //diminuiy = diminuiy - 50;
511 511 }
512   - //
513   - //subtrai barra de rolagem
514   - //
515   - try{diminuiy += i3GEO.util.getScrollerWidth();}
516   - catch(e){
517   - if(typeof(console) !== 'undefined'){console.error(e);}
518   - }
519   - //
520 512 menos = 0;
521 513 if ($i("contemFerramentas"))
522 514 {menos += parseInt($i("contemFerramentas").style.width,10);}
523 515 if ($i("ferramentas"))
524 516 {menos += parseInt($i("ferramentas").style.width,10);}
525   - novow = parseInt(screen.availWidth,10) - diminuix;
526   - novoh = parseInt(screen.availHeight,10) - diminuiy;
  517 +
  518 + //novow = parseInt(screen.availWidth,10) - diminuix;
  519 + novow = YAHOO.util.Dom.getDocumentWidth() - i3GEO.util.getScrollerWidth();
  520 + //novoh = parseInt(screen.availHeight,10) - diminuiy;
  521 + novoh = YAHOO.util.Dom.getDocumentHeight();
  522 +
527 523 if (window.top === window.self){//nao se aplica em iframe
528 524 window.resizeTo(screen.availWidth,screen.availHeight);
529 525 window.moveTo(0,0);
... ... @@ -539,10 +535,11 @@ i3GEO = {
539 535 if(typeof(console) !== 'undefined'){console.error(e);}
540 536 }
541 537 //novoh = 500
542   - document.body.style.width = novow - diminuix;
  538 + document.body.style.width = novow;
543 539 document.body.style.height = novoh;
544 540 w = novow - menos - diminuix;
545 541 h = novoh - diminuiy;
  542 +
546 543 temp = $i("corpoMapa");
547 544 if (temp){
548 545 if(temp.style){
... ...
classesjs/classe_interface.js
... ... @@ -84,7 +84,30 @@ i3GEO.Interface = {
84 84 {3}
85 85 */
86 86 BARRABOTOESLEFT: 3,
87   -
  87 + /*
  88 + Propriedade: BARRAZOOMTOP
  89 +
  90 + Distância da barra de zoom em ralação ao topo do mapa.
  91 +
  92 + Tipo:
  93 + {number}
  94 +
  95 + Default:
  96 + {12}
  97 + */
  98 + BARRAZOOMTOP: 7,
  99 + /*
  100 + Propriedade: BARRAZOOMLEFT
  101 +
  102 + Distância da barra de zoom em ralação ao lado esquerdo do mapa.
  103 +
  104 + Tipo:
  105 + {number}
  106 +
  107 + Default:
  108 + {3}
  109 + */
  110 + BARRAZOOMLEFT: 10,
88 111 /*
89 112 Propriedade: ATUAL
90 113  
... ... @@ -731,7 +754,8 @@ i3GEO.Interface = {
731 754 pz = new OpenLayers.Control.PanZoomBar();
732 755 i3geoOL.addControl(pz);
733 756 pz.div.style.zIndex = 5000;
734   - pz.div.style.top ="7px";
  757 + pz.div.style.top = i3GEO.Interface.BARRADEZOOMTOP+"px";
  758 + pz.div.style.left = i3GEO.Interface.BARRADEZOOMLEFT+"px";
735 759 }
736 760 if(i3GEO.Interface.openlayers.GADGETS.PanZoom == true){
737 761 pz = new OpenLayers.Control.PanZoom();
... ... @@ -759,8 +783,11 @@ i3GEO.Interface = {
759 783 if(i3GEO.Interface.openlayers.GADGETS.LayerSwitcher == true)
760 784 {i3geoOL.addControl(new OpenLayers.Control.LayerSwitcher());}
761 785 }
762   - if(i3GEO.Interface.openlayers.GADGETS.ScaleLine == true)
763   - {i3geoOL.addControl(new OpenLayers.Control.ScaleLine());}
  786 + if(i3GEO.Interface.openlayers.GADGETS.ScaleLine == true){
  787 + pz = new OpenLayers.Control.ScaleLine();
  788 + i3geoOL.addControl(pz);
  789 + pz.div.style.left = i3GEO.Interface.BARRADEZOOMLEFT+5+"px";
  790 + }
764 791 if(i3GEO.Interface.openlayers.GADGETS.OverviewMap == true)
765 792 {i3geoOL.addControl(new OpenLayers.Control.OverviewMap());}
766 793 //i3geoOL.addControl(new OpenLayers.Control.KeyboardDefaults());
... ...
classesjs/compactajs.php
... ... @@ -148,7 +148,7 @@ salvatudojs($jsfiles,$buffer,&quot;i3geo_tudo_compacto45.js&quot;,&quot;js&quot;);
148 148  
149 149 $cssfiles = array(
150 150 "../css/geral.css",
151   -"../css/botoes.css",
  151 +"../css/botoes2.css",
152 152 "../css/documentation.css",
153 153 "../pacotes/yui270/build/logger/assets/skins/sam/logger.css",
154 154 "../pacotes/yui270/build/fonts/fonts-min.css",
... ...
classesjs/i3geonaocompacto.js
... ... @@ -68,7 +68,7 @@ for (i = 0; i &lt; jsfiles.length; i++)
68 68 var allCssTags = "";
69 69 var cssfiles = new Array(
70 70 "../css/geral.css",
71   -"../css/botoes.css",
  71 +"../css/botoes2.css",
72 72 "../css/documentation.css",
73 73 "../pacotes/yui270/build/logger/assets/skins/sam/logger.css",
74 74 "../pacotes/yui270/build/fonts/fonts-min.css",
... ...
css/botoes.css
  1 +/*
  2 +utiliza botões antigos até a versão 4.4 do i3geo
  3 +*/
1 4 #uploadgpx,#metar,#carouselTemas,#identificaBalao,#rota,#buscafotos,#area,#confluence,#scielo,#wiki,#inseregrafico,#realca,#reinicia,#google,#zoomtot,#pan,#zoomli,#zoomlo,#zoomiauto,#zoomoauto,#identifica,#lentei,#reinicia,#exten,#selecao,#inserexy,#textofid,#mede,#perfil,#cruza,#tamanho,#imprimir,#salva,#carrega,#referencia,#pegaimagens,#v3d
2 5 {cursor:pointer;border: 0px solid rgb(50,50,50);border-bottom:1px solid rgb(50,50,50);border-left:1px solid rgb(50,50,50);width:22;height:22;z-index:1000;position:relative;}
3 6 #box1
... ...
css/botoes2.css 0 → 100644
... ... @@ -0,0 +1,719 @@
  1 +#uploadgpx,#metar,#carouselTemas,#identificaBalao,#rota,#buscafotos,#area,#confluence,#scielo,#wiki,#inseregrafico,#realca,#reinicia,#google,#zoomtot,#pan,#zoomli,#zoomlo,#zoomiauto,#zoomoauto,#identifica,#lentei,#reinicia,#exten,#selecao,#inserexy,#textofid,#mede,#perfil,#cruza,#tamanho,#imprimir,#salva,#carrega,#referencia,#pegaimagens,#v3d
  2 +{margin:2px;cursor:pointer;border: 0px solid rgb(50,50,50);border-bottom:1px solid rgb(50,50,50);border-left:1px solid rgb(50,50,50);width:24;height:24;z-index:1000;position:relative;}
  3 +#box1
  4 +{font-size:0px;cursor:crosshair;opacity:.25;background-color: gray;position: absolute;visibility: hidden;width: 0px;height: 0px;border: 2px solid #ff0000;}
  5 +#boxg
  6 +{position: absolute;visibility: visible;width: 20px;height: 20px;border: 2px solid red;display:none;}
  7 +#obj
  8 +{position:absolute;z-index:500;height:0;width: 0}
  9 +#lente
  10 +{z-index:101;top:10px;position: absolute;}
  11 +#boxlente
  12 +{display:none;z-index: 200;border: 2px solid #ff0000;top:10px;position:absolute;width: 80px;height: 80px;}
  13 +#aguarde
  14 +{top:0px;position:absolute;visibility: hidden;}
  15 +#mensagem
  16 +{background-color:white;position:absolute;visibility:hidden}
  17 +.i3geoBotaoAplicar
  18 +{display:none;position:absolute;cursor:pointer;z-index:1000;background-color:#F6F6F6;color:#426252;}
  19 +
  20 +#img,#imgL,#imgO,#imgN,#imgS
  21 +{border: 0px solid black;cursor:crosshair;top:0px;left:0px;}
  22 +#img_d
  23 +{border: 0px solid black;cursor:crosshair;}
  24 +#carrega
  25 +{background-image:URL('../imagens/carrega.gif');}
  26 +#salva
  27 +{background-image:URL('../imagens/salva.gif');}
  28 +#tamanho
  29 +{background-image:URL('../imagens/amp.gif');}
  30 +#cruza
  31 +{background-image:URL('../imagens/cruzapt.png');}
  32 +#perfil
  33 +{background-image:URL('../imagens/perfil.gif');}
  34 +#pegaimagens
  35 +{background-image:URL('../imagens/legend.gif');}
  36 +#realca
  37 +{background-image:URL('../imagens/realca.gif');}
  38 +#zoomlo
  39 +{background-image:URL('../imagens/zoomlo.gif');}
  40 +
  41 +#imprimir
  42 +{
  43 + background-image:URL('../imagens/visual/default/sprite2.png');
  44 + background-repeat: no-repeat;
  45 + background-position: 0px 0px;
  46 +}
  47 +#mede
  48 +{
  49 + background-image:URL('../imagens/visual/default/sprite2.png');
  50 + background-repeat: no-repeat;
  51 + background-position: 0px -24px;
  52 +}
  53 +#textofid
  54 +{
  55 + background-image:URL('../imagens/visual/default/sprite2.png');
  56 + background-repeat: no-repeat;
  57 + background-position: 0px -48px;
  58 +}
  59 +#inserexy
  60 +{
  61 + background-image:URL('../imagens/visual/default/sprite2.png');
  62 + background-repeat: no-repeat;
  63 + background-position: 0px -72px;
  64 +}
  65 +#selecao
  66 +{
  67 + background-image:URL('../imagens/visual/default/sprite2.png');
  68 + background-repeat: no-repeat;
  69 + background-position: 0px -96px;
  70 +}
  71 +#exten
  72 +{
  73 + background-image:URL('../imagens/visual/default/sprite2.png');
  74 + background-repeat: no-repeat;
  75 + background-position: 0px -120px;
  76 +}
  77 +#reinicia
  78 +{
  79 + background-image:URL('../imagens/visual/default/sprite2.png');
  80 + background-repeat: no-repeat;
  81 + background-position: 0px -144px;
  82 +}
  83 +#lentei
  84 +{
  85 + background-image:URL('../imagens/visual/default/sprite2.png');
  86 + background-repeat: no-repeat;
  87 + background-position: 0px -168px;
  88 +}
  89 +#identificaBalao
  90 +{
  91 + background-image:URL('../imagens/visual/default/sprite2.png');
  92 + background-repeat: no-repeat;
  93 + background-position: 0px -192px;
  94 + cursor:pointer;
  95 +}
  96 +#zoomtot
  97 +{
  98 + background-image:URL('../imagens/visual/default/sprite2.png');
  99 + background-repeat: no-repeat;
  100 + background-position: 0px -216px;
  101 +}
  102 +#pan
  103 +{
  104 + background-image:URL('../imagens/visual/default/sprite2.png');
  105 + background-repeat: no-repeat;
  106 + background-position: 0px -240px;
  107 +}
  108 +#google
  109 +{
  110 + background-image:URL('../imagens/visual/default/sprite2.png');
  111 + background-repeat: no-repeat;
  112 + background-position: 0px -264px;
  113 +}
  114 +#referencia
  115 +{
  116 + background-image:URL('../imagens/visual/default/sprite2.png');
  117 + background-repeat: no-repeat;
  118 + background-position: 0px -288px;
  119 +}
  120 +#inseregrafico
  121 +{
  122 + background-image:URL('../imagens/visual/default/sprite2.png');
  123 + background-repeat: no-repeat;
  124 + background-position: 0px -312px;
  125 +}
  126 +#wiki
  127 +{
  128 + background-image:URL('../imagens/visual/default/sprite2.png');
  129 + background-repeat: no-repeat;
  130 + background-position: 0px -336px;
  131 +}
  132 +#scielo
  133 +{
  134 + background-image:URL('../imagens/visual/default/sprite2.png');
  135 + background-repeat: no-repeat;
  136 + background-position: 0px -360px;
  137 +}
  138 +#confluence
  139 +{
  140 + background-image:URL('../imagens/visual/default/sprite2.png');
  141 + background-repeat: no-repeat;
  142 + background-position: 0px -384px;
  143 +}
  144 +#v3d
  145 +{
  146 + background-image:URL('../imagens/visual/default/sprite2.png');
  147 + background-repeat: no-repeat;
  148 + background-position: 0px -408px;
  149 +}
  150 +#area
  151 +{
  152 + background-image:URL('../imagens/visual/default/sprite2.png');
  153 + background-repeat: no-repeat;
  154 + background-position: 0px -432px;
  155 +}
  156 +#identifica
  157 +{
  158 + background-image:URL('../imagens/visual/default/sprite2.png');
  159 + background-repeat: no-repeat;
  160 + background-position: 0px -456px;
  161 + cursor:pointer;
  162 +}
  163 +#metar
  164 +{
  165 + background-image:URL('../imagens/visual/default/sprite2.png');
  166 + background-repeat: no-repeat;
  167 + background-position: 0px -480px;
  168 + cursor:pointer;
  169 +}
  170 +#buscafotos
  171 +{
  172 + background-image:URL('../imagens/visual/default/sprite2.png');
  173 + background-repeat: no-repeat;
  174 + background-position: 0px -504px;
  175 + cursor:pointer;
  176 +}
  177 +#rota
  178 +{
  179 + background-image:URL('../imagens/visual/default/sprite2.png');
  180 + background-repeat: no-repeat;
  181 + background-position: 0px -528px;
  182 +}
  183 +
  184 +#ondeestou
  185 +{
  186 + background-image:URL('../imagens/visual/default/sprite.png');
  187 + background-repeat: no-repeat;
  188 + background-position: 0px -475px;
  189 + width:20px;
  190 + height:10px;
  191 +}
  192 +#menuinterface
  193 +{
  194 + background-image:URL('../imagens/visual/default/sprite.png');
  195 + background-repeat: no-repeat;
  196 + background-position: 3px -1775px;
  197 + width:52px;
  198 + height:15px;
  199 +}
  200 +#menuajudaMenu
  201 +{
  202 + background-image:URL('../imagens/visual/default/sprite.png');
  203 + background-repeat: no-repeat;
  204 + background-position: 3px -500px;
  205 + width:52px;
  206 + height:15px;
  207 +}
  208 +#menuanalise
  209 +{
  210 + background-image:URL('../imagens/visual/default/sprite.png');
  211 + background-repeat: no-repeat;
  212 + background-position: 3px -525px;
  213 + width:52px;
  214 + height:15px;
  215 +}
  216 +#menujanelas
  217 +{
  218 + background-image:URL('../imagens/visual/default/sprite.png');
  219 + background-repeat: no-repeat;
  220 + background-position: 3px -550px;
  221 + width:52px;
  222 + height:15px;
  223 +}
  224 +#menuarquivos
  225 +{
  226 + background-image:URL('../imagens/visual/default/sprite.png');
  227 + background-repeat: no-repeat;
  228 + background-position: 3px -575px;
  229 + width:52px;
  230 + height:15px;
  231 +}
  232 +/*bandeira do brasil*/
  233 +#brasil
  234 +{
  235 + background-image:URL('../imagens/visual/default/sprite.png');
  236 + background-repeat: no-repeat;
  237 + background-position: 0px -600px;
  238 + width:20px;
  239 + height:10px;
  240 + cursor:pointer;
  241 +}
  242 +/*bandeira inglaterra*/
  243 +#uk
  244 +{
  245 + background-image:URL('../imagens/visual/default/sprite.png');
  246 + background-repeat: no-repeat;
  247 + background-position: 0px -625px;
  248 + width:20px;
  249 + height:10px;
  250 + cursor:pointer;
  251 +}
  252 +#espanhol
  253 +{
  254 + background-image:URL('../imagens/visual/default/sprite.png');
  255 + background-repeat: no-repeat;
  256 + background-position: 0px -1400px;
  257 + width:20px;
  258 + height:10px;
  259 + cursor:pointer;
  260 +}
  261 +#italiano
  262 +{
  263 + background-image:URL('../imagens/visual/default/sprite.png');
  264 + background-repeat: no-repeat;
  265 + background-position: 0px -1725px;
  266 + width:20px;
  267 + height:10px;
  268 + cursor:pointer;
  269 +}
  270 +
  271 +/*ícone de aplicar*/
  272 +.tic
  273 +{
  274 + background-image:url(../imagens/visual/default/sprite.png);
  275 + background-position:0px -650px;
  276 + background-repeat:no-repeat;
  277 + cursor:pointer;
  278 + height:14px;
  279 + text-align:center;
  280 + width:25px;
  281 +}
  282 +.x
  283 +{
  284 + background-image:URL('../imagens/visual/default/sprite.png');
  285 + background-repeat: no-repeat;
  286 + background-position: 0px -675px;
  287 + width:9px;
  288 + height:9px;
  289 + cursor:pointer;
  290 +}
  291 +.sobe
  292 +{
  293 + background-image:URL('../imagens/visual/default/sprite.png');
  294 + background-repeat: no-repeat;
  295 + background-position: 0px -700px;
  296 + width:9px;
  297 + height:9px;
  298 + cursor:pointer;
  299 +}
  300 +.desce
  301 +{
  302 + background-image:URL('../imagens/visual/default/sprite.png');
  303 + background-repeat: no-repeat;
  304 + background-position: 0px -725px;
  305 + width:9px;
  306 + height:9px;
  307 + cursor:pointer;
  308 +}
  309 +.extent
  310 +{
  311 + background-image:URL('../imagens/visual/default/sprite.png');
  312 + background-repeat: no-repeat;
  313 + background-position: 0px -750px;
  314 + width:9px;
  315 + height:9px;
  316 + cursor:pointer;
  317 +}
  318 +.menuarrow
  319 +{
  320 + background-image:URL('../imagens/visual/default/sprite.png');
  321 + background-repeat: no-repeat;
  322 + background-position: 0px -775px;
  323 + width:16px;
  324 + height:16px;
  325 + cursor:pointer;
  326 + left:3px;
  327 + top:2px;
  328 +}
  329 +.mais
  330 +{
  331 + background-image:URL('../imagens/visual/default/sprite.png');
  332 + background-repeat: no-repeat;
  333 + background-position: 0px -800px;
  334 + width:17px;
  335 + height:9px;
  336 + cursor:pointer;
  337 +}
  338 +.menos
  339 +{
  340 + background-image:URL('../imagens/visual/default/sprite.png');
  341 + background-repeat: no-repeat;
  342 + background-position: 0px -825px;
  343 + width:17px;
  344 + height:9px;
  345 + cursor:pointer;
  346 +}
  347 +.ponto
  348 +{
  349 + background-image:URL('../imagens/visual/default/sprite.png');
  350 + background-repeat: no-repeat;
  351 + background-position: 0px -850px;
  352 + width:17px;
  353 + height:9px;
  354 + cursor:pointer;
  355 +}
  356 +.quadro
  357 +{
  358 + background-image:URL('../imagens/visual/default/sprite.png');
  359 + background-repeat: no-repeat;
  360 + background-position: 0px -875px;
  361 + width:13px;
  362 + height:13px;
  363 + cursor:pointer;
  364 +}
  365 +.quadro1
  366 +{
  367 + background-image:URL('../imagens/visual/default/sprite.png');
  368 + background-repeat: no-repeat;
  369 + background-position: 0px -900px;
  370 + width:13px;
  371 + height:13px;
  372 + cursor:pointer;
  373 +}
  374 +.slider
  375 +{
  376 + background-image:URL('../imagens/visual/default/sprite.png');
  377 + background-repeat: no-repeat;
  378 + background-position: 0px -925px;
  379 + width:20px;
  380 + height:9px;
  381 +}
  382 +#vertMenosZoom
  383 +{
  384 + cursor:pointer;
  385 + position:relative;
  386 + top:-1px;
  387 + width:18px;
  388 + background:url('../imagens/visual/default/sprite.png');
  389 + background-position: 0px -950px;
  390 + height:18px;
  391 +}
  392 +#vertMaisZoom
  393 +{
  394 + cursor:pointer;
  395 + position:relative;
  396 + top:2px;
  397 + width:18px;
  398 + background:url('../imagens/visual/default/sprite.png');
  399 + background-position: 0px -975px;
  400 + height:18px;
  401 +}
  402 +#zoomli
  403 +{
  404 + background-image:URL('../imagens/visual/default/sprite.png');
  405 + background-repeat: no-repeat;
  406 + background-position: 0px -1000px;
  407 +}
  408 +.foldermapa1
  409 +{
  410 + background-image:URL('../imagens/visual/default/sprite.png');
  411 + background-repeat: no-repeat;
  412 + background-position: 0px -1025px;
  413 + width:17px;
  414 + height:15px;
  415 +}
  416 +.foldermapa
  417 +{
  418 + background-image:URL('../imagens/visual/default/sprite.png');
  419 + background-repeat: no-repeat;
  420 + background-position: 0px -1050px;
  421 + width:17px;
  422 + height:15px;
  423 +}
  424 +#i3geo_lixeira
  425 +{
  426 + background-image:URL('../imagens/visual/default/sprite.png');
  427 + background-repeat: no-repeat;
  428 + background-position: 0px -1075px;
  429 + width:22px;
  430 + height:22px;
  431 +}
  432 +.upload
  433 +{
  434 + background-image:URL('../imagens/visual/default/sprite.png');
  435 + background-repeat: no-repeat;
  436 + background-position: 0px -1099px;
  437 + width:16px;
  438 + border: 1px solid #DCDCDC;
  439 +}
  440 +.download
  441 +{
  442 + background-image:URL('../imagens/visual/default/sprite.png');
  443 + background-repeat: no-repeat;
  444 + background-position: 0px -1124px;
  445 + width:16px;
  446 + border: 1px solid #DCDCDC;
  447 +}
  448 +.conectarwms
  449 +{
  450 + background-image:URL('../imagens/visual/default/sprite.png');
  451 + background-repeat: no-repeat;
  452 + background-position: 1px -1149px;
  453 + width:16px;
  454 + border: 1px solid #DCDCDC;
  455 +}
  456 +.conectargeorss
  457 +{
  458 + background-image:URL('../imagens/visual/default/sprite.png');
  459 + background-repeat: no-repeat;
  460 + background-position: 1px -1174px;
  461 + width:16px;
  462 + border: 1px solid #DCDCDC;
  463 +}
  464 +.conectarservidor
  465 +{
  466 + background-image:URL('../imagens/visual/default/sprite.png');
  467 + background-repeat: no-repeat;
  468 + background-position: 0px -1200px;
  469 + width:14px;
  470 + height:14px;
  471 + border-left: 1px solid gray;
  472 + border-bottom:1px solid gray;
  473 + border-top:1px solid #F8F8F8;
  474 + border-right:1px solid #F8F8F8;
  475 +}
  476 +.folder
  477 +{
  478 + background-image:URL('../imagens/visual/default/sprite.png');
  479 + background-repeat: no-repeat;
  480 + background-position: 0px -1225px;
  481 + width:17px;
  482 + height:15px;
  483 +}
  484 +.rosanorte
  485 +{
  486 + background-image:URL('../imagens/visual/default/sprite.png');
  487 + background-repeat: no-repeat;
  488 + background-position: 0px -1250px;
  489 + width:14px;
  490 + height:14px;
  491 +}
  492 +.rosasul
  493 +{
  494 + background-image:URL('../imagens/visual/default/sprite.png');
  495 + background-repeat: no-repeat;
  496 + background-position: 0px -1275px;
  497 + width:14px;
  498 + height:14px;
  499 +}
  500 +.rosaleste
  501 +{
  502 + background-image:URL('../imagens/visual/default/sprite.png');
  503 + background-repeat: no-repeat;
  504 + background-position: 0px -1300px;
  505 + width:14px;
  506 + height:14px;
  507 +}
  508 +.rosaoeste
  509 +{
  510 + background-image:URL('../imagens/visual/default/sprite.png');
  511 + background-repeat: no-repeat;
  512 + background-position: 0px -1325px;
  513 + width:14px;
  514 + height:14px;
  515 +}
  516 +.rosamais
  517 +{
  518 + background-image:URL('../imagens/visual/default/sprite.png');
  519 + background-repeat: no-repeat;
  520 + background-position: 0px -1350px;
  521 + width:10px;
  522 + height:20px;
  523 +}
  524 +.rosamenos
  525 +{
  526 + background-image:URL('../imagens/visual/default/sprite.png');
  527 + background-repeat: no-repeat;
  528 + background-position: 0px -1375px;
  529 + width:10px;
  530 + height:20px;
  531 +}
  532 +#desceferramentas
  533 +{
  534 + background-image:URL('../imagens/visual/default/sprite.png');
  535 + background-repeat: no-repeat;
  536 + background-position: 0px -1450px;
  537 + cursor:pointer;
  538 + width:22px;
  539 + height:10px;
  540 + margin: 2px;
  541 +}
  542 +#sobeferramentas
  543 +{
  544 + background-image:URL('../imagens/visual/default/sprite.png');
  545 + background-repeat: no-repeat;
  546 + background-position: 0px -1475px;
  547 + cursor:pointer;
  548 + width:22px;
  549 + height:10px;
  550 + margin: 2px;
  551 +}
  552 +/*marcador de lista das propriedades do mapa*/
  553 +.ticPropriedades
  554 +{
  555 + background-image:URL('../imagens/visual/default/sprite.png');
  556 + background-repeat: no-repeat;
  557 + background-position: 0px -1500px;
  558 + width:9px;
  559 + height:10px;
  560 + cursor:pointer;
  561 + margin-right:3px;
  562 +}
  563 +/*marcador de lista das opções do tema*/
  564 +.ticOpcoesTemas
  565 +{
  566 + background-image:URL('../imagens/visual/default/sprite.png');
  567 + background-repeat: no-repeat;
  568 + background-position: 0px -1500px;
  569 + width:9px;
  570 + height:10px;
  571 + cursor:pointer;
  572 + margin-right:3px;
  573 +}
  574 +.uploaddbf
  575 +{
  576 + background-image:URL('../imagens/visual/default/sprite.png');
  577 + background-repeat: no-repeat;
  578 + background-position: 1px -1523px;
  579 + width:16px;
  580 + border: 1px solid #DCDCDC;
  581 +}
  582 +.rosanordeste
  583 +{
  584 + background-image:URL('../imagens/visual/default/sprite.png');
  585 + background-repeat: no-repeat;
  586 + background-position: 0px -1550px;
  587 + width:14px;
  588 + height:14px;
  589 +}
  590 +.rosasudeste
  591 +{
  592 + background-image:URL('../imagens/visual/default/sprite.png');
  593 + background-repeat: no-repeat;
  594 + background-position: 0px -1575px;
  595 + width:14px;
  596 + height:14px;
  597 +}
  598 +.rosanoroeste
  599 +{
  600 + background-image:URL('../imagens/visual/default/sprite.png');
  601 + background-repeat: no-repeat;
  602 + background-position: 0px -1600px;
  603 + width:14px;
  604 + height:14px;
  605 +}
  606 +.rosasudoeste
  607 +{
  608 + background-image:URL('../imagens/visual/default/sprite.png');
  609 + background-repeat: no-repeat;
  610 + background-position: 0px -1625px;
  611 + width:14px;
  612 + height:14px;
  613 +}
  614 +.nuvemtags
  615 +{
  616 + background-image:URL('../imagens/visual/default/sprite.png');
  617 + background-repeat: no-repeat;
  618 + background-position: 1px -1648px;
  619 + width:16px;
  620 + border: 1px solid #DCDCDC;
  621 +}
  622 +.zoomAnterior
  623 +{
  624 + background-image:URL('../imagens/visual/default/sprite.png');
  625 + background-repeat: no-repeat;
  626 + background-position: 0px -1675px;
  627 + width:10px;
  628 + height:11px;
  629 + cursor:pointer;
  630 +}
  631 +.zoomProximo
  632 +{
  633 + background-image:URL('../imagens/visual/default/sprite.png');
  634 + background-repeat: no-repeat;
  635 + background-position: 0px -1700px;
  636 + width:10px;
  637 + height:11px;
  638 + cursor:pointer;
  639 +}
  640 +.refresh
  641 +{
  642 + background-image:URL('../imagens/visual/default/sprite.png');
  643 + background-repeat: no-repeat;
  644 + background-position: 0px -1749px;
  645 + width:18px;
  646 + height:20px;
  647 + cursor:pointer;
  648 +}
  649 +
  650 +.conectarwmst
  651 +{
  652 + background-image:URL('../imagens/visual/default/sprite.png');
  653 + background-repeat: no-repeat;
  654 + background-position: 1px -1824px;
  655 + width:16px;
  656 + border: 1px solid #DCDCDC;
  657 +}
  658 +.fonte
  659 +{
  660 + background-image:URL('../imagens/visual/default/sprite.png');
  661 + background-repeat: no-repeat;
  662 + background-position: 0px -1850px;
  663 + width:9px;
  664 + height:9px;
  665 + cursor:pointer;
  666 +}
  667 +#zoomiauto
  668 +{
  669 + background-image:URL('../imagens/visual/default/sprite.png');
  670 + background-repeat: no-repeat;
  671 + background-position: 0px -1875px;
  672 + cursor:pointer;
  673 +}
  674 +#zoomoauto
  675 +{
  676 + background-image:URL('../imagens/visual/default/sprite.png');
  677 + background-repeat: no-repeat;
  678 + background-position: 0px -1900px;
  679 + cursor:pointer;
  680 +}
  681 +#olhoAberto
  682 +{
  683 + background-image:URL('../imagens/visual/default/sprite.png');
  684 + background-repeat: no-repeat;
  685 + background-position: 0px -1925px;
  686 + cursor:pointer;
  687 + width:25px;
  688 + height:20px;
  689 +}
  690 +#olhoFechado
  691 +{
  692 + background-image:URL('../imagens/visual/default/sprite.png');
  693 + background-repeat: no-repeat;
  694 + background-position: 0px -1949px;
  695 + width:25px;
  696 + height:20px;
  697 + cursor:pointer;
  698 +}
  699 +.carouselTemas
  700 +{
  701 + background-image:URL('../imagens/visual/default/sprite.png');
  702 + background-repeat: no-repeat;
  703 + background-position: 0px -2000px;
  704 + width: 16px;
  705 + border: 1px solid #DCDCDC;
  706 + cursor:pointer;
  707 +}
  708 +.uploadgpx
  709 +{
  710 + background-image:URL('../imagens/visual/default/sprite.png');
  711 + background-repeat: no-repeat;
  712 + background-position: 0px -2052px;
  713 + width: 16px;
  714 + border: 1px solid #DCDCDC;
  715 + cursor:pointer;
  716 +}
  717 +button{background:url(../imagens/tic2.png) 98% 50% no-repeat;}
  718 +#encolheFerramentas
  719 +{background-image:URL('../imagens/encolhe.png');background-repeat: no-repeat;background-position:center;cursor:pointer;}
0 720 \ No newline at end of file
... ...
imagens/visual/default/sprite2.png 0 → 100644

15.7 KB

interface/googlemaps.phtml
... ... @@ -45,7 +45,7 @@ include_once(&quot;../ms_configura.php&quot;);
45 45 </td>
46 46 </tr>
47 47 <tr>
48   - <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:300wpx;text-align:left;">
  48 + <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:300px;text-align:left;">
49 49 <div id='guia1obj' >
50 50 <div style='left:5px;top:10px;' id=buscaRapida ></div>
51 51 <div id=listaPropriedades style='top:15px;' ></div>
... ...
interface/openlayers.htm
... ... @@ -175,7 +175,6 @@ i3GEO.configura.locaplic = i3GEO.util.protocolo()+&quot;://&quot;+window.location.host+&quot;/i
175 175  
176 176 i3GEO.Interface.ATUAL = "openlayers";
177 177 i3GEO.Interface.IDCORPO = "contemImg";
178   -i3GEO.configura.diminuixN = 20
179 178  
180 179 i3GEO.Interface.openlayers.GADGETS = {
181 180 PanZoomBar:true,
... ... @@ -193,15 +192,17 @@ i3GEO.cria();
193 192 /*
194 193 Inicializa o mapa
195 194 */
196   -i3GEO.barraDeBotoes.AUTOALTURA = false;
  195 +i3GEO.barraDeBotoes.AUTOALTURA = true;
197 196 i3GEO.barraDeBotoes.ATIVAMENUCONTEXTO = false;
198 197 i3GEO.barraDeBotoes.PERMITEFECHAR = true;
199 198 i3GEO.barraDeBotoes.PERMITEDESLOCAR = true;
200 199 i3GEO.barraDeBotoes.AUTO = true;
201 200 i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja";
202 201  
203   -i3GEO.Interface.BARRABOTOESLEFT = 50;
204   -i3GEO.Interface.BARRABOTOESTOP = 10;
  202 +i3GEO.Interface.BARRABOTOESLEFT = 0;
  203 +i3GEO.Interface.BARRABOTOESTOP = 2;
  204 +i3GEO.Interface.BARRADEZOOMTOP = 10;
  205 +i3GEO.Interface.BARRADEZOOMLEFT = 40;
205 206  
206 207 i3GEO.idioma.IDSELETOR = "seletorIdiomas";
207 208 i3GEO.Interface.ATIVAMENUCONTEXTO = false;
... ...