Commit 161df25a577ff27e1b930f692fd0aadd89cf944c

Authored by Edmar Moretti
1 parent 1d7752a1

Ticket #557

classesjs/classe_arvoredecamadas.js
... ... @@ -147,6 +147,18 @@ i3GEO.arvoreDeCamadas = {
147 147 */
148 148 ARRASTARORDEM: true,
149 149 /*
  150 + Propriedade: REFRESH
  151 +
  152 + Mostra ou não a opção que permite atualizar a árvore
  153 +
  154 + Default:
  155 + {true}
  156 +
  157 + Type:
  158 + {boolean}
  159 + */
  160 + REFRESH: true,
  161 + /*
150 162 Propriedade: ARRASTARLIXEIRA
151 163  
152 164 Ativa a opção de arrastar um tema para a lixeria quando se quer removê-lo do mapa.
... ... @@ -712,6 +724,9 @@ i3GEO.arvoreDeCamadas = {
712 724 estilo = function(i){
713 725 return " onmouseout='javascript:this.className = \""+i+" iconeMini iconeGuiaMovelMouseOut\";' onmouseover='javascript:this.className = \""+i+" iconeMini iconeGuiaMovelMouseOver\";' class='"+i+" iconeMini iconeGuiaMovelMouseOut' src='"+imb+"' style='cursor:pointer;text-align:left' ";
714 726 };
  727 + if(this.REFRESH === true){
  728 + ins += "<img "+estilo("refresh")+" onclick='i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS,true)' title='Refresh' id='i3geo_refresh'/>";
  729 + }
715 730 if(this.ARRASTARLIXEIRA === true)
716 731 {ins += "<img "+estilo("i3geo_lixeira")+" onclick='i3GEO.arvoreDeCamadas.dialogo.excluir();' id='i3geo_lixeira' title='"+$trad("t2")+"' />";}
717 732 if(this.FILTRAR === true)
... ...
css/botoes2.css
... ... @@ -489,6 +489,15 @@
489 489 width:18px;
490 490 height:18px;
491 491 }
  492 +#i3geo_refresh
  493 +{
  494 + background-image:URL('../imagens/visual/default/sprite.png');
  495 + background-repeat: no-repeat;
  496 + background-position: 0px -2205px;
  497 + width:18px;
  498 + height:18px;
  499 + cursor:pointer;
  500 +}
492 501 .upload
493 502 {
494 503 background-image:URL('../imagens/visual/default/sprite.png');
... ...
imagens/visual/default/sprite.png

36.6 KB | W: | H:

37.3 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin