Commit 6b5527bd196416bfd14699b7061636d246914af3

Authored by Edmar Moretti
1 parent 3a30c261

Separação dos textos para tradução. Correção no gráfico de perfis

ferramentas/googlemaps1/index.js
@@ -482,7 +482,10 @@ function adicionaMarcasMapa(coordenadas){ @@ -482,7 +482,10 @@ function adicionaMarcasMapa(coordenadas){
482 for(i=0;i<n;i++){ 482 for(i=0;i<n;i++){
483 pt = coordenadas[i].split(" "); 483 pt = coordenadas[i].split(" ");
484 point = new google.maps.LatLng(pt[1],pt[0]); 484 point = new google.maps.LatLng(pt[1],pt[0]);
485 - marker = new GMarker(point);  
486 - map.addOverlay(marker); 485 + var marker = new google.maps.Marker({
  486 + position : point
  487 + });
  488 + //marker = new GMarker(point);
  489 + marker.setMap(map);
487 } 490 }
488 } 491 }
489 \ No newline at end of file 492 \ No newline at end of file
ferramentas/graficointerativo/index.js
@@ -231,7 +231,9 @@ i3GEOF.graficointerativo = { @@ -231,7 +231,9 @@ i3GEOF.graficointerativo = {
231 i3GEOF.graficointerativo.montaTabelaDados(i3GEOF.graficointerativo.dados); 231 i3GEOF.graficointerativo.montaTabelaDados(i3GEOF.graficointerativo.dados);
232 $i("i3GEOgraficointerativoguia4").onclick.call(); 232 $i("i3GEOgraficointerativoguia4").onclick.call();
233 } 233 }
234 - i3GEO.guias.mostraGuiaFerramenta("i3GEOgraficointerativoguia1","i3GEOgraficointerativoguia"); 234 + else{
  235 + i3GEO.guias.mostraGuiaFerramenta("i3GEOgraficointerativoguia1","i3GEOgraficointerativoguia");
  236 + }
235 //} 237 //}
236 //catch(erro){i3GEO.janela.tempoMsg(erro);} 238 //catch(erro){i3GEO.janela.tempoMsg(erro);}
237 }, 239 },
@@ -359,6 +361,9 @@ i3GEOF.graficointerativo = { @@ -359,6 +361,9 @@ i3GEOF.graficointerativo = {
359 cabecalho, 361 cabecalho,
360 minimiza 362 minimiza
361 ); 363 );
  364 + if(!janela){
  365 + return;
  366 + }
362 divid = janela[2].id; 367 divid = janela[2].id;
363 i3GEOF.graficointerativo.aguarde = $i("i3GEOF.graficointerativo_imagemCabecalho").style; 368 i3GEOF.graficointerativo.aguarde = $i("i3GEOF.graficointerativo_imagemCabecalho").style;
364 $i("i3GEOF.graficointerativo_corpo").style.backgroundColor = "white"; 369 $i("i3GEOF.graficointerativo_corpo").style.backgroundColor = "white";
ferramentas/opcoes_legenda/dicionario.js
1 //+$trad(1,i3GEOF.opcoesLegenda.dicionario)+ 1 //+$trad(1,i3GEOF.opcoesLegenda.dicionario)+
2 i3GEOF.opcoesLegenda.dicionario = { 2 i3GEOF.opcoesLegenda.dicionario = {
3 1: [{ 3 1: [{
4 -pt:"", 4 +pt:"Essa operacao afeta apenas a legenda utilizada na ferramenta de impressao do mapa",
5 en:"", 5 en:"",
6 es:"", 6 es:"",
7 it:"" 7 it:""
8 }], 8 }],
9 2: [{ 9 2: [{
10 -pt:"", 10 +pt:"Inclui no corpo do mapa?",
11 en:"", 11 en:"",
12 es:"", 12 es:"",
13 it:"" 13 it:""
14 }], 14 }],
15 3: [{ 15 3: [{
16 -pt:"", 16 +pt:"Cor do fundo",
17 en:"", 17 en:"",
18 es:"", 18 es:"",
19 it:"" 19 it:""
20 }], 20 }],
21 4: [{ 21 4: [{
22 -pt:"", 22 +pt:"Contorno dos s&iacute;mbolos",
23 en:"", 23 en:"",
24 es:"", 24 es:"",
25 it:"" 25 it:""
26 }], 26 }],
27 5: [{ 27 5: [{
28 -pt:"", 28 +pt:"Posi&ccedil;&atilde;o",
29 en:"", 29 en:"",
30 es:"", 30 es:"",
31 it:"" 31 it:""
32 }], 32 }],
33 6: [{ 33 6: [{
34 -pt:"", 34 +pt:"sup. esquerdo",
35 en:"", 35 en:"",
36 es:"", 36 es:"",
37 it:"" 37 it:""
38 }], 38 }],
39 7: [{ 39 7: [{
40 -pt:"", 40 +pt:"sup. centro",
41 en:"", 41 en:"",
42 es:"", 42 es:"",
43 it:"" 43 it:""
44 }], 44 }],
45 8: [{ 45 8: [{
46 -pt:"", 46 +pt:"sup. direito",
47 en:"", 47 en:"",
48 es:"", 48 es:"",
49 it:"" 49 it:""
50 }], 50 }],
51 9: [{ 51 9: [{
52 -pt:"", 52 +pt:"inf. esquerdo",
53 en:"", 53 en:"",
54 es:"", 54 es:"",
55 it:"" 55 it:""
56 }], 56 }],
57 10: [{ 57 10: [{
58 -pt:"", 58 +pt:"inf. centro",
  59 +en:"",
  60 +es:"",
  61 +it:""
  62 +}],
  63 +11: [{
  64 +pt:"inf. direito",
  65 +en:"",
  66 +es:"",
  67 +it:""
  68 +}],
  69 +12: [{
  70 +pt:"Espa&ccedil;amento em Y",
  71 +en:"",
  72 +es:"",
  73 +it:""
  74 +}],
  75 +13: [{
  76 +pt:"Espa&ccedil;amento em X",
  77 +en:"",
  78 +es:"",
  79 +it:""
  80 +}],
  81 +14: [{
  82 +pt:"Tamanho do s&iacute;mb. Y",
  83 +en:"",
  84 +es:"",
  85 +it:""
  86 +}],
  87 +15: [{
  88 +pt:"Tamanho do s&iacute;mb. X",
  89 +en:"",
  90 +es:"",
  91 +it:""
  92 +}],
  93 +16: [{
  94 +pt:"Tamanho do texto",
  95 +en:"",
  96 +es:"",
  97 +it:""
  98 +}],
  99 +17: [{
  100 +pt:"Fonte: (teste a fonte mais adequada para apresenta&ccedil;&atilde;o correta da acentua&ccedil;&atilde;o)",
  101 +en:"",
  102 +es:"",
  103 +it:""
  104 +}],
  105 +18: [{
  106 +pt:"Aplicar",
  107 +en:"",
  108 +es:"",
  109 +it:""
  110 +}],
  111 +19: [{
  112 +pt:"Testar",
59 en:"", 113 en:"",
60 es:"", 114 es:"",
61 it:"" 115 it:""
ferramentas/opcoes_legenda/index.js
@@ -100,7 +100,7 @@ i3GEOF.opcoesLegenda = { @@ -100,7 +100,7 @@ i3GEOF.opcoesLegenda = {
100 } 100 }
101 catch(erro){if(typeof(console) !== 'undefined'){console.error(erro);}} 101 catch(erro){if(typeof(console) !== 'undefined'){console.error(erro);}}
102 if(i3GEO.Interface.ATUAL !== "padrao") 102 if(i3GEO.Interface.ATUAL !== "padrao")
103 - {i3GEO.janela.tempoMsg("Essa operacao afeta apenas a legenda utilizada na ferramenta de impressao do mapa");} 103 + {i3GEO.janela.tempoMsg($trad(1,i3GEOF.opcoesLegenda.dicionario));}
104 }, 104 },
105 /* 105 /*
106 Function: html 106 Function: html
@@ -113,61 +113,61 @@ i3GEOF.opcoesLegenda = { @@ -113,61 +113,61 @@ i3GEOF.opcoesLegenda = {
113 */ 113 */
114 html:function(){ 114 html:function(){
115 var ins = '<table summary="" class=lista >' + 115 var ins = '<table summary="" class=lista >' +
116 - '<tr><td>Inclui no corpo do mapa?:</td><td>' + 116 + '<tr><td>'+$trad(2,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
117 ' <select id=i3GEOopcoesLegendastatus >' + 117 ' <select id=i3GEOopcoesLegendastatus >' +
118 - ' <option value=3 >sim</option>' +  
119 - ' <option value=1 >nao</option>' + 118 + ' <option value=3 >'+$trad("x14")+'</option>' +
  119 + ' <option value=1 >'+$trad("x15")+'</option>' +
120 ' <option value=0 >---</option>' + 120 ' <option value=0 >---</option>' +
121 ' </select>' + 121 ' </select>' +
122 '<td></tr>' + 122 '<td></tr>' +
123 '<tr><td>&nbsp;</td><td></td></tr>' + 123 '<tr><td>&nbsp;</td><td></td></tr>' +
124 - '<tr><td>Cor do fundo:</td><td>' + 124 + '<tr><td>'+$trad(3,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
125 $inputText("","","i3GEOopcoesLegendaimagecolor","",12,"") + 125 $inputText("","","i3GEOopcoesLegendaimagecolor","",12,"") +
126 '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesLegenda.corj(\'i3GEOopcoesLegendaimagecolor\')" />' + 126 '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesLegenda.corj(\'i3GEOopcoesLegendaimagecolor\')" />' +
127 '</td></tr>' + 127 '</td></tr>' +
128 '<tr><td>&nbsp;</td><td></td></tr>' + 128 '<tr><td>&nbsp;</td><td></td></tr>' +
129 - '<tr><td>Contorno dos s&iacute;mbolos:</td><td>' + 129 + '<tr><td>'+$trad(4,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
130 $inputText("","","i3GEOopcoesLegendaoutlinecolor","",12,"") + 130 $inputText("","","i3GEOopcoesLegendaoutlinecolor","",12,"") +
131 '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesLegenda.corj(\'i3GEOopcoesLegendaoutlinecolor\')" />' + 131 '<img alt="aquarela.gif" style=cursor:pointer src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesLegenda.corj(\'i3GEOopcoesLegendaoutlinecolor\')" />' +
132 '</td></tr>' + 132 '</td></tr>' +
133 '<tr><td>&nbsp;</td><td></td></tr>' + 133 '<tr><td>&nbsp;</td><td></td></tr>' +
134 - '<tr><td>Posi&ccedil;&atilde;o:</td><td>' + 134 + '<tr><td>'+$trad(5,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
135 ' <select id=i3GEOopcoesLegendaposition >' + 135 ' <select id=i3GEOopcoesLegendaposition >' +
136 - ' <option value=101 >sup. esquerdo</option>' +  
137 - ' <option value=107 >sup. centro</option>' +  
138 - ' <option value=103 selected >sup. direito</option>' +  
139 - ' <option value=104 >inf. esquerdo</option>' +  
140 - ' <option value=108 >inf. centro</option>' +  
141 - ' <option value=102 >inf. direito</option>' + 136 + ' <option value=101 >'+$trad(6,i3GEOF.opcoesLegenda.dicionario)+'</option>' +
  137 + ' <option value=107 >'+$trad(7,i3GEOF.opcoesLegenda.dicionario)+'</option>' +
  138 + ' <option value=103 selected >'+$trad(8,i3GEOF.opcoesLegenda.dicionario)+'</option>' +
  139 + ' <option value=104 >'+$trad(9,i3GEOF.opcoesLegenda.dicionario)+'</option>' +
  140 + ' <option value=108 >'+$trad(10,i3GEOF.opcoesLegenda.dicionario)+'</option>' +
  141 + ' <option value=102 >'+$trad(11,i3GEOF.opcoesLegenda.dicionario)+'</option>' +
142 ' </select>' + 142 ' </select>' +
143 '<td></tr>' + 143 '<td></tr>' +
144 '<tr><td>&nbsp;</td><td></td></tr>' + 144 '<tr><td>&nbsp;</td><td></td></tr>' +
145 - '<tr><td>Espa&ccedil;amento em Y:</td><td>' + 145 + '<tr><td>'+$trad(12,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
146 $inputText("","","i3GEOopcoesLegendakeyspacingy","",4,"") + 146 $inputText("","","i3GEOopcoesLegendakeyspacingy","",4,"") +
147 '<td></tr>' + 147 '<td></tr>' +
148 '<tr><td>&nbsp;</td><td></td></tr>' + 148 '<tr><td>&nbsp;</td><td></td></tr>' +
149 - '<tr><td>Espa&ccedil;amento em X:</td><td>' + 149 + '<tr><td>'+$trad(13,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
150 $inputText("","","i3GEOopcoesLegendakeyspacingx","",4,"") + 150 $inputText("","","i3GEOopcoesLegendakeyspacingx","",4,"") +
151 '</td></tr>' + 151 '</td></tr>' +
152 '<tr><td>&nbsp;</td><td></td></tr>' + 152 '<tr><td>&nbsp;</td><td></td></tr>' +
153 - '<tr><td>Tamanho do s&iacute;mb. Y:</td><td>' + 153 + '<tr><td>'+$trad(14,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
154 $inputText("","","i3GEOopcoesLegendakeysizey","",4,"") + 154 $inputText("","","i3GEOopcoesLegendakeysizey","",4,"") +
155 '<td></tr>' + 155 '<td></tr>' +
156 '<tr><td>&nbsp;</td><td></td></tr>' + 156 '<tr><td>&nbsp;</td><td></td></tr>' +
157 - '<tr><td>Tamanho do s&iacute;mb. X:</td><td>' + 157 + '<tr><td>'+$trad(15,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
158 $inputText("","","i3GEOopcoesLegendakeysizex","",4,"") + 158 $inputText("","","i3GEOopcoesLegendakeysizex","",4,"") +
159 '<td></tr>' + 159 '<td></tr>' +
160 '<tr><td>&nbsp;</td><td></td></tr>' + 160 '<tr><td>&nbsp;</td><td></td></tr>' +
161 - '<tr><td>Tamanho do texto:</td><td>' + 161 + '<tr><td>'+$trad(16,i3GEOF.opcoesLegenda.dicionario)+':</td><td>' +
162 $inputText("","","i3GEOopcoesLegendalabelsize","",4,"") + 162 $inputText("","","i3GEOopcoesLegendalabelsize","",4,"") +
163 '<td></tr>' + 163 '<td></tr>' +
164 '<tr><td>&nbsp;</td><td></td></tr>' + 164 '<tr><td>&nbsp;</td><td></td></tr>' +
165 - '<tr><td>Fonte: (teste a fonte mais adequada para apresenta&ccedil;&atilde;o correta da acentua&ccedil;&atilde;o)</td>' + 165 + '<tr><td>'+$trad(17,i3GEOF.opcoesLegenda.dicionario)+'</td>' +
166 ' <td id=i3GEOopcoesLegendafontef >aguarde...</td>' + 166 ' <td id=i3GEOopcoesLegendafontef >aguarde...</td>' +
167 '</tr></table><br>'+ 167 '</tr></table><br>'+
168 '<p class=paragrafo >' + 168 '<p class=paragrafo >' +
169 - '<input id=i3GEOopcoesLegendabotao1 size=20 type=button value="Aplicar" />' +  
170 - '<input id=i3GEOopcoesLegendabotao2 size=20 type=button value="Testar" />' + 169 + '<input id=i3GEOopcoesLegendabotao1 size=20 type=button value="'+$trad(18,i3GEOF.opcoesLegenda.dicionario)+'" />' +
  170 + '<input id=i3GEOopcoesLegendabotao2 size=20 type=button value="'+$trad(19,i3GEOF.opcoesLegenda.dicionario)+'" />' +
171 '</p><br><img alt="teste" src="" id=i3GEOopcoesLegendatesteLegenda style="display:none"/>'; 171 '</p><br><img alt="teste" src="" id=i3GEOopcoesLegendatesteLegenda style="display:none"/>';
172 return ins; 172 return ins;
173 }, 173 },
@@ -323,4 +323,4 @@ i3GEOF.opcoesLegenda = { @@ -323,4 +323,4 @@ i3GEOF.opcoesLegenda = {
323 cp.set_response_type("JSON"); 323 cp.set_response_type("JSON");
324 cp.call(p,"testaLegenda",temp); 324 cp.call(p,"testaLegenda",temp);
325 } 325 }
326 -}; 326 -};
  327 +};
327 \ No newline at end of file 328 \ No newline at end of file
ferramentas/opcoes_querymap/dicionario.js
1 //+$trad(1,i3GEOF.opcoesQuery.dicionario)+ 1 //+$trad(1,i3GEOF.opcoesQuery.dicionario)+
2 i3GEOF.opcoesQuery.dicionario = { 2 i3GEOF.opcoesQuery.dicionario = {
3 -1: [{  
4 -pt:"",  
5 -en:"",  
6 -es:"",  
7 -it:""  
8 -}],  
9 -2: [{  
10 -pt:"",  
11 -en:"",  
12 -es:"",  
13 -it:""  
14 -}],  
15 -3: [{  
16 -pt:"",  
17 -en:"",  
18 -es:"",  
19 -it:""  
20 -}],  
21 -4: [{  
22 -pt:"",  
23 -en:"",  
24 -es:"",  
25 -it:""  
26 -}],  
27 -5: [{  
28 -pt:"",  
29 -en:"",  
30 -es:"",  
31 -it:""  
32 -}],  
33 -6: [{  
34 -pt:"",  
35 -en:"",  
36 -es:"",  
37 -it:""  
38 -}],  
39 -7: [{  
40 -pt:"",  
41 -en:"",  
42 -es:"",  
43 -it:""  
44 -}],  
45 -8: [{  
46 -pt:"",  
47 -en:"",  
48 -es:"",  
49 -it:""  
50 -}],  
51 -9: [{  
52 -pt:"",  
53 -en:"",  
54 -es:"",  
55 -it:""  
56 -}],  
57 -10: [{  
58 -pt:"",  
59 -en:"",  
60 -es:"",  
61 -it:""  
62 -}] 3 + 1: [{
  4 + pt:"Aplica",
  5 + en:"",
  6 + es:"",
  7 + it:""
  8 + }]
63 }; 9 };
64 \ No newline at end of file 10 \ No newline at end of file
ferramentas/opcoes_querymap/index.js
@@ -65,7 +65,7 @@ i3GEOF.opcoesQuery = { @@ -65,7 +65,7 @@ i3GEOF.opcoesQuery = {
65 iniciaDicionario: function(){ 65 iniciaDicionario: function(){
66 if(typeof(i3GEOF.opcoesQuery.dicionario) === 'undefined'){ 66 if(typeof(i3GEOF.opcoesQuery.dicionario) === 'undefined'){
67 i3GEO.util.scriptTag( 67 i3GEO.util.scriptTag(
68 - i3GEO.configura.locaplic+"/ferramentas/opcoes_query/dicionario.js", 68 + i3GEO.configura.locaplic+"/ferramentas/opcoes_querymap/dicionario.js",
69 "i3GEOF.opcoesQuery.iniciaJanelaFlutuante()", 69 "i3GEOF.opcoesQuery.iniciaJanelaFlutuante()",
70 "i3GEOF.opcoesQuery.dicionario_script" 70 "i3GEOF.opcoesQuery.dicionario_script"
71 ); 71 );
@@ -95,7 +95,7 @@ i3GEOF.opcoesQuery = { @@ -95,7 +95,7 @@ i3GEOF.opcoesQuery = {
95 cp = new cpaint(), 95 cp = new cpaint(),
96 retorno = function(retorno){ 96 retorno = function(retorno){
97 i3GEOF.opcoesQuery.aguarde.visibility = "hidden"; 97 i3GEOF.opcoesQuery.aguarde.visibility = "hidden";
98 - if(retorno.data.erro){i3GEO.janela.tempoMsg("Ocorreu um erro");return;} 98 + if(retorno.data.erro){i3GEO.janela.tempoMsg("Erro");return;}
99 $i("i3GEOopcoesQuerycor").value = retorno.data; 99 $i("i3GEOopcoesQuerycor").value = retorno.data;
100 }; 100 };
101 cp.set_response_type("JSON"); 101 cp.set_response_type("JSON");
@@ -116,7 +116,7 @@ i3GEOF.opcoesQuery = { @@ -116,7 +116,7 @@ i3GEOF.opcoesQuery = {
116 var ins = $inputText("","","i3GEOopcoesQuerycor","",12,"") + 116 var ins = $inputText("","","i3GEOopcoesQuerycor","",12,"") +
117 '<img alt="aquarela.gif" style=cursor:pointer '+ 117 '<img alt="aquarela.gif" style=cursor:pointer '+
118 'src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesQuery.corj(\'i3GEOopcoesQuerycor\')" /> ' + 118 'src="'+i3GEO.configura.locaplic+'/imagens/aquarela.gif" onclick="i3GEOF.opcoesQuery.corj(\'i3GEOopcoesQuerycor\')" /> ' +
119 - '<br><br><p class=paragrafo ><input size=20 id=i3GEOopcoesQuerybotao1 type=button value="Aplica" />'; 119 + '<br><br><p class=paragrafo ><input size=20 id=i3GEOopcoesQuerybotao1 type=button value="'+$trad(1,i3GEOF.opcoesQuery.dicionario)+'" />';
120 return ins; 120 return ins;
121 }, 121 },
122 /* 122 /*
ferramentas/opcoes_tamanho/dicionario.js
1 //+$trad(1,i3GEOF.opcoesTamanho.dicionario)+ 1 //+$trad(1,i3GEOF.opcoesTamanho.dicionario)+
2 i3GEOF.opcoesTamanho.dicionario = { 2 i3GEOF.opcoesTamanho.dicionario = {
3 -1: [{  
4 -pt:"",  
5 -en:"",  
6 -es:"",  
7 -it:""  
8 -}],  
9 -2: [{  
10 -pt:"",  
11 -en:"",  
12 -es:"",  
13 -it:""  
14 -}],  
15 -3: [{  
16 -pt:"",  
17 -en:"",  
18 -es:"",  
19 -it:""  
20 -}],  
21 -4: [{  
22 -pt:"",  
23 -en:"",  
24 -es:"",  
25 -it:""  
26 -}],  
27 -5: [{  
28 -pt:"",  
29 -en:"",  
30 -es:"",  
31 -it:""  
32 -}],  
33 -6: [{  
34 -pt:"",  
35 -en:"",  
36 -es:"",  
37 -it:""  
38 -}],  
39 -7: [{  
40 -pt:"",  
41 -en:"",  
42 -es:"",  
43 -it:""  
44 -}],  
45 -8: [{  
46 -pt:"",  
47 -en:"",  
48 -es:"",  
49 -it:""  
50 -}],  
51 -9: [{  
52 -pt:"",  
53 -en:"",  
54 -es:"",  
55 -it:""  
56 -}],  
57 -10: [{  
58 -pt:"",  
59 -en:"",  
60 -es:"",  
61 -it:""  
62 -}] 3 + 1: [{
  4 + pt:"Largura",
  5 + en:"",
  6 + es:"",
  7 + it:""
  8 + }],
  9 + 2: [{
  10 + pt:"Altura",
  11 + en:"",
  12 + es:"",
  13 + it:""
  14 + }],
  15 + 3: [{
  16 + pt:"Valores em pixels",
  17 + en:"",
  18 + es:"",
  19 + it:""
  20 + }],
  21 + 4: [{
  22 + pt:"Testa",
  23 + en:"",
  24 + es:"",
  25 + it:""
  26 + }],
  27 + 5: [{
  28 + pt:"Aplicar",
  29 + en:"",
  30 + es:"",
  31 + it:""
  32 + }]
63 }; 33 };
64 \ No newline at end of file 34 \ No newline at end of file
ferramentas/opcoes_tamanho/index.js
@@ -117,16 +117,16 @@ i3GEOF.opcoesTamanho = { @@ -117,16 +117,16 @@ i3GEOF.opcoesTamanho = {
117 html:function(){ 117 html:function(){
118 var ins = '<table summary="" class=lista width="100%">' + 118 var ins = '<table summary="" class=lista width="100%">' +
119 '<table summary="" class=lista > '+ 119 '<table summary="" class=lista > '+
120 - ' <tr><td>Largura:</td><td>' + 120 + ' <tr><td>'+$trad(1,i3GEOF.opcoesTamanho.dicionario)+':</td><td>' +
121 $inputText("","","i3GEOopcoesTamanhol","",4,i3GEO.parametros.w) + 121 $inputText("","","i3GEOopcoesTamanhol","",4,i3GEO.parametros.w) +
122 ' </td></tr><tr><td>&nbsp;</td><td></td></tr>'+ 122 ' </td></tr><tr><td>&nbsp;</td><td></td></tr>'+
123 - ' <tr><td>Altura:</td><td>' + 123 + ' <tr><td>'+$trad(2,i3GEOF.opcoesTamanho.dicionario)+':</td><td>' +
124 $inputText("","","i3GEOopcoesTamanhoa","",4,i3GEO.parametros.h) + 124 $inputText("","","i3GEOopcoesTamanhoa","",4,i3GEO.parametros.h) +
125 ' </td></tr><tr><td>&nbsp;</td><td></td></tr>'+ 125 ' </td></tr><tr><td>&nbsp;</td><td></td></tr>'+
126 '</table>' + 126 '</table>' +
127 - '<p class=paragrafo >Valores em pixels.</p>' +  
128 - '<p class=paragrafo ><input id=i3GEOopcoesTamanhobotao2 size=16 type=button value="Testa"/>' +  
129 - '<input id=i3GEOopcoesTamanhobotao1 size=16 type=button value="Aplicar"/>'; 127 + '<p class=paragrafo >'+$trad(3,i3GEOF.opcoesTamanho.dicionario)+'</p>' +
  128 + '<p class=paragrafo ><input id=i3GEOopcoesTamanhobotao2 size=16 type=button value="'+$trad(4,i3GEOF.opcoesTamanho.dicionario)+'"/>' +
  129 + '<input id=i3GEOopcoesTamanhobotao1 size=16 type=button value="'+$trad(5,i3GEOF.opcoesTamanho.dicionario)+'"/>';
130 return ins; 130 return ins;
131 }, 131 },
132 /* 132 /*
@@ -232,4 +232,4 @@ i3GEOF.opcoesTamanho = { @@ -232,4 +232,4 @@ i3GEOF.opcoesTamanho = {
232 box.style.height = a+"px"; 232 box.style.height = a+"px";
233 } 233 }
234 234
235 -}; 235 +};
236 \ No newline at end of file 236 \ No newline at end of file
ferramentas/perfil/index.js
@@ -64,7 +64,8 @@ i3GEOF.perfil = { @@ -64,7 +64,8 @@ i3GEOF.perfil = {
64 /* 64 /*
65 Para efeitos de compatibilidade antes da vers&atilde;o 4.7 que n&atilde;o tinha dicion&aacute;rio 65 Para efeitos de compatibilidade antes da vers&atilde;o 4.7 que n&atilde;o tinha dicion&aacute;rio
66 */ 66 */
67 - criaJanelaFlutuante: function(){ 67 + criaJanelaFlutuante: function(pontos){
  68 + i3GEOF.perfil.pontos = pontos;
68 i3GEOF.perfil.iniciaDicionario(); 69 i3GEOF.perfil.iniciaDicionario();
69 }, 70 },
70 /* 71 /*
@@ -74,7 +75,7 @@ i3GEOF.perfil = { @@ -74,7 +75,7 @@ i3GEOF.perfil = {
74 75
75 O Javascript &eacute; carregado com o id i3GEOF.nomedaferramenta.dicionario_script 76 O Javascript &eacute; carregado com o id i3GEOF.nomedaferramenta.dicionario_script
76 */ 77 */
77 - iniciaDicionario: function(){ 78 + iniciaDicionario: function(pontos){
78 if(typeof(i3GEOF.perfil.dicionario) === 'undefined'){ 79 if(typeof(i3GEOF.perfil.dicionario) === 'undefined'){
79 i3GEO.util.scriptTag( 80 i3GEO.util.scriptTag(
80 i3GEO.configura.locaplic+"/ferramentas/perfil/dicionario.js", 81 i3GEO.configura.locaplic+"/ferramentas/perfil/dicionario.js",
@@ -139,7 +140,9 @@ i3GEOF.perfil = { @@ -139,7 +140,9 @@ i3GEOF.perfil = {
139 */ 140 */
140 iniciaJanelaFlutuante: function(pontos){ 141 iniciaJanelaFlutuante: function(pontos){
141 var minimiza,cabecalho,janela,divid,titulo; 142 var minimiza,cabecalho,janela,divid,titulo;
142 - i3GEOF.perfil.pontos = pontos; 143 + if(pontos){
  144 + i3GEOF.perfil.pontos = pontos;
  145 + }
143 //cria a janela flutuante 146 //cria a janela flutuante
144 titulo = $trad("x54")+" <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=3&idajuda=96' >&nbsp;&nbsp;&nbsp;</a>"; 147 titulo = $trad("x54")+" <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=3&idajuda=96' >&nbsp;&nbsp;&nbsp;</a>";
145 cabecalho = function(){}; 148 cabecalho = function(){};
@@ -185,13 +188,17 @@ i3GEOF.perfil = { @@ -185,13 +188,17 @@ i3GEOF.perfil = {
185 {$i("i3GEOperfilfim").innerHTML = "Erro ao acessar o servi&ccedil;o de fornecimento dos dados";return;} 188 {$i("i3GEOperfilfim").innerHTML = "Erro ao acessar o servi&ccedil;o de fornecimento dos dados";return;}
186 i3GEOF.perfil.converteDados(retorno.data.results); 189 i3GEOF.perfil.converteDados(retorno.data.results);
187 if(!$i("i3GEOF.graficointerativo_script")){ 190 if(!$i("i3GEOF.graficointerativo_script")){
188 - var js = i3GEO.configura.locaplic+"/ferramentas/graficointerativo/index.js.php"; 191 + var js = i3GEO.configura.locaplic+"/ferramentas/graficointerativo/index.js";
189 i3GEO.util.scriptTag(js,"i3GEOF.perfil.iniciaGrafico()","i3GEOF.graficointerativo_script"); 192 i3GEO.util.scriptTag(js,"i3GEOF.perfil.iniciaGrafico()","i3GEOF.graficointerativo_script");
190 } 193 }
  194 + else{
  195 + i3GEOF.perfil.iniciaGrafico();
  196 + }
191 //&eacute; obrigado mostrar o mapa do google quando o perfil usa o google 197 //&eacute; obrigado mostrar o mapa do google quando o perfil usa o google
192 if($i("i3GEOFperfilFonteGoogle").checked === true && i3GEO.Interface.ATUAL !== "googlemaps"){ 198 if($i("i3GEOFperfilFonteGoogle").checked === true && i3GEO.Interface.ATUAL !== "googlemaps"){
193 i3GEO.navega.dialogo.google(i3GEOF.perfil.listaPontos(true).split(",")); 199 i3GEO.navega.dialogo.google(i3GEOF.perfil.listaPontos(true).split(","));
194 } 200 }
  201 +
195 } 202 }
196 }; 203 };
197 if($i("i3GEOFperfilFonteGoogle").checked === true){ 204 if($i("i3GEOFperfilFonteGoogle").checked === true){
@@ -247,7 +254,7 @@ i3GEOF.perfil = { @@ -247,7 +254,7 @@ i3GEOF.perfil = {
247 for(i=0;i<n;i++){ 254 for(i=0;i<n;i++){
248 lista.push(ys[i]+" "+xs[i]); 255 lista.push(ys[i]+" "+xs[i]);
249 } 256 }
250 - return lista.toString(","); 257 + return lista.join(",");
251 }, 258 },
252 /* 259 /*
253 Function: converteDados 260 Function: converteDados
@@ -265,11 +272,10 @@ i3GEOF.perfil = { @@ -265,11 +272,10 @@ i3GEOF.perfil = {
265 var n = google.length, 272 var n = google.length,
266 i = 0, 273 i = 0,
267 dados = ["n;x"]; 274 dados = ["n;x"];
268 - for (i=0; i<n;i++){  
269 - dados.push(i+";"+google[i].elevation); 275 + for (i=0;i<n;i++){
  276 + dados.push(i + ";" + google[i].elevation);
270 } 277 }
271 i3GEOF.perfil.dadosGrafico = dados; 278 i3GEOF.perfil.dadosGrafico = dados;
272 - return dados;  
273 }, 279 },
274 /* 280 /*
275 Function: comboTemas 281 Function: comboTemas
interface/openlayersdebug.htm
@@ -51,7 +51,7 @@ @@ -51,7 +51,7 @@
51 <div id=visual ></div> 51 <div id=visual ></div>
52 --> 52 -->
53 <!-- bot&atilde;o de compartilhamento em redes sociais--> 53 <!-- bot&atilde;o de compartilhamento em redes sociais-->
54 - <div id=i3GEOcompartilhar style="width:170px;margin:auto;text-align:left;border-top:1px solid rgb(250,250,250);padding-top:1px" ></div> 54 + <!-- <div id=i3GEOcompartilhar style="width:170px;margin:auto;text-align:left;border-top:1px solid rgb(250,250,250);padding-top:1px" ></div>-->
55 <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> 55 <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo -->
56 <div id=tempoRedesenho style=z-index:100;position:absolute;top:0px;color:green;background-color:black;width:50px;display:none ></div> 56 <div id=tempoRedesenho style=z-index:100;position:absolute;top:0px;color:green;background-color:black;width:50px;display:none ></div>
57 </td> 57 </td>