Commit 0c26a84a7341c3bf5db85a6e6a2e11856430ff7e
1 parent
04c72990
Exists in
master
and in
7 other branches
Inclusão do botao para abrir o KML 3d na opção de análise do sistema METAESTAT
Showing
3 changed files
with
19 additions
and
3 deletions
Show diff stats
ferramentas/metaestat/index.js
| ... | ... | @@ -92,7 +92,7 @@ i3GEOF.metaestat = { |
| 92 | 92 | }; |
| 93 | 93 | janela = i3GEO.janela.cria( |
| 94 | 94 | "210px", |
| 95 | - "100px", | |
| 95 | + "120px", | |
| 96 | 96 | "", |
| 97 | 97 | "", |
| 98 | 98 | "", |
| ... | ... | @@ -125,11 +125,17 @@ i3GEOF.metaestat = { |
| 125 | 125 | ' <button title="Animação" onclick="i3GEOF.metaestat.analise.ativaAnimacao()"><img src="'+i3GEO.configura.locaplic+'/imagens/gisicons/player-forward.png" /></button>' + |
| 126 | 126 | ' <button title="Alterar legenda" onclick="i3GEOF.metaestat.analise.alteraLegenda()"><img src="'+i3GEO.configura.locaplic+'/imagens/gisicons/calculator.png" /></button>' + |
| 127 | 127 | ' <button title="Alterar cores" onclick="i3GEOF.metaestat.analise.alteraCores()"><img src="'+i3GEO.configura.locaplic+'/imagens/gisicons/24-to-8-bits.png" /></button>' + |
| 128 | - ' <button title="Cortina" onclick="i3GEO.tema.dialogo.cortina()"><img src="'+i3GEO.configura.locaplic+'/imagens/gisicons/mapset.png" /></button>' + | |
| 128 | + ' <button title="'+$trad("t42")+'" onclick="i3GEO.tema.dialogo.cortina()"><img src="'+i3GEO.configura.locaplic+'/imagens/gisicons/mapset.png" /></button>' + | |
| 129 | + ' <button title="'+$trad("t49")+'" onclick="i3GEOF.metaestat.analise.ativaTme()()"><img src="'+i3GEO.configura.locaplic+'/imagens/gisicons/3d-light.png" /></button>' + | |
| 129 | 130 | '</div>' + |
| 130 | 131 | '<input type=hidden value="" id="listaColourRampAnaliseMetaestat" onchange="i3GEOF.metaestat.analise.aplicaColourRamp()" />'; //utilizado pelo seletor de colourramp |
| 131 | 132 | return ins; |
| 132 | 133 | }, |
| 134 | + ativaTme: function(){ | |
| 135 | + i3GEO.tema.dialogo.tme(); | |
| 136 | + //i3GEOF.tme.ITEMNOMEREGIOES | |
| 137 | + | |
| 138 | + }, | |
| 133 | 139 | ativaAnimacao: function(){ |
| 134 | 140 | i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.animacao()","animacao","animacao","index.js","i3GEOF.metaestat.analise.listaCamadasAnimacao()"); |
| 135 | 141 | }, | ... | ... |
ferramentas/tme/index.js
| ... | ... | @@ -42,6 +42,9 @@ if(typeof(i3GEOF) === 'undefined'){ |
| 42 | 42 | Classe: i3GEOF.tme |
| 43 | 43 | */ |
| 44 | 44 | i3GEOF.tme = { |
| 45 | + //oopcional - nome do item da tabela de atributos que contem os nomes dos elementos | |
| 46 | + //utilizado para definir o valor do combo i3GEOTMEregioes | |
| 47 | + ITEMNOMEREGIOES: "", | |
| 45 | 48 | /* |
| 46 | 49 | Variavel: tema |
| 47 | 50 | |
| ... | ... | @@ -109,11 +112,17 @@ i3GEOF.tme = { |
| 109 | 112 | function(retorno){ |
| 110 | 113 | if($i("i3GEOTMEregioeslista")) |
| 111 | 114 | {$i("i3GEOTMEregioeslista").innerHTML = retorno.dados;} |
| 115 | + if(i3GEOF.tme.ITEMNOMEREGIOES != ""){ | |
| 116 | + $i("i3GEOTMEregioes").value = i3GEOF.tme.ITEMNOMEREGIOES; | |
| 117 | + } | |
| 112 | 118 | }, |
| 113 | 119 | "i3GEOTMEregioeslista" |
| 114 | 120 | ); |
| 115 | 121 | i3GEO.util.mensagemAjuda("i3GEOtmemen1",$i("i3GEOtmemen1").innerHTML); |
| 116 | 122 | i3GEOF.tme.ativaFoco(); |
| 123 | + if(i3GEO.arvoreDeCamadas){ | |
| 124 | + $i("i3GEOTMEtitulo").value = i3GEO.arvoreDeCamadas.pegaTema(i3GEO.temaAtivo).tema; | |
| 125 | + } | |
| 117 | 126 | } |
| 118 | 127 | catch(erro){i3GEO.janela.tempoMsg(erro);} |
| 119 | 128 | }, | ... | ... |
pacotes/tme/TME_i3geo.php
| ... | ... | @@ -60,7 +60,8 @@ if(!isset($parametersTME)){ |
| 60 | 60 | 'classification' => 'equal', |
| 61 | 61 | 'mapTitle' => $_GET["titulo"], |
| 62 | 62 | 'timeType' => $tipo, //para mais de um ano, escolha slider ou series |
| 63 | - 'dirtmp' => $dir_tmp | |
| 63 | + 'dirtmp' => $dir_tmp, | |
| 64 | + 'barSize'=> 5000 | |
| 64 | 65 | ); |
| 65 | 66 | } |
| 66 | 67 | $dataConnector = new DataConnector($_GET["sid"],$verificaSID); | ... | ... |