Commit 09ff5ae52cc9bb865457204e5b66fd4e3743768c
1 parent
787c5124
Exists in
master
and in
7 other branches
--no commit message
Showing
11 changed files
with
134 additions
and
107 deletions
Show diff stats
classesjs/classe_analise.js
| ... | ... | @@ -407,15 +407,16 @@ i3GEO.analise = { |
| 407 | 407 | */ |
| 408 | 408 | movimento: function(){ |
| 409 | 409 | var n,d,r,decimal,da,mostra,texto, |
| 410 | - pontosdistobj = i3GEO.analise.medeDistancia.pontosdistobj; | |
| 410 | + pontosdistobj = i3GEO.analise.medeDistancia.pontosdistobj, | |
| 411 | + calculo = i3GEO.calculo; | |
| 411 | 412 | if (g_tipoacao === "mede"){ |
| 412 | 413 | YAHOO.util.Dom.setStyle("mostradistancia","display","block"); |
| 413 | 414 | n = pontosdistobj.xpt.length; |
| 414 | 415 | try{ |
| 415 | 416 | if (n > 0){ |
| 416 | - d = i3GEO.calculo.distancia(pontosdistobj.xpt[n-1],pontosdistobj.ypt[n-1],objposicaocursor.ddx,objposicaocursor.ddy); | |
| 417 | - r = i3GEO.calculo.direcao(pontosdistobj.xpt[n-1],pontosdistobj.ypt[n-1],objposicaocursor.ddx,objposicaocursor.ddy); | |
| 418 | - r = i3GEO.calculo.dd2dms(r,r); | |
| 417 | + d = calculo.distancia(pontosdistobj.xpt[n-1],pontosdistobj.ypt[n-1],objposicaocursor.ddx,objposicaocursor.ddy); | |
| 418 | + r = calculo.direcao(pontosdistobj.xpt[n-1],pontosdistobj.ypt[n-1],objposicaocursor.ddx,objposicaocursor.ddy); | |
| 419 | + r = calculo.dd2dms(r,r); | |
| 419 | 420 | r = r[0]; |
| 420 | 421 | |
| 421 | 422 | d = d + ""; |
| ... | ... | @@ -433,7 +434,7 @@ i3GEO.analise = { |
| 433 | 434 | mostra = $i("mostradistancia_calculo"); |
| 434 | 435 | if (mostra){ |
| 435 | 436 | texto = " Dist acum.= "+da+" km <br>atual= "+d+" km <br> Direção (DMS)= "+r; |
| 436 | - texto += "<br>Método cálculo de distâncias: "+i3GEO.calculo.metododistancia; | |
| 437 | + texto += "<br>Método cálculo de distâncias: "+calculo.metododistancia; | |
| 437 | 438 | mostra.innerHTML = texto; |
| 438 | 439 | } |
| 439 | 440 | if(i3GEO.Interface.ATUAL !== "googleearth") |
| ... | ... | @@ -476,13 +477,15 @@ i3GEO.analise = { |
| 476 | 477 | inicia: function(){ |
| 477 | 478 | if(typeof(console) !== 'undefined'){console.info("i3GEO.analise.medeArea.inicia()");} |
| 478 | 479 | var temp,x,y,ll1,ll2,d, |
| 480 | + calculo = i3GEO.calculo, | |
| 479 | 481 | montacontainer = function(){ |
| 482 | + var desenho = i3GEO.desenho; | |
| 480 | 483 | $i("mostraarea_calculo").innerHTML = "Clique no mapa para desenhar o poligono. Clique duas vezes para concluir"; |
| 481 | 484 | i3GEO.barraDeBotoes.ativaIcone("area"); |
| 482 | 485 | g_tipoacao = "area"; |
| 483 | - i3GEO.desenho.criaContainerRichdraw(); | |
| 484 | - i3GEO.desenho.richdraw.lineColor = "green"; | |
| 485 | - i3GEO.desenho.richdraw.lineWidth = "2px"; | |
| 486 | + desenho.criaContainerRichdraw(); | |
| 487 | + desenho.richdraw.lineColor = "green"; | |
| 488 | + desenho.richdraw.lineWidth = "2px"; | |
| 486 | 489 | }; |
| 487 | 490 | i3GEO.analise.medeArea.criaJanela(); |
| 488 | 491 | if (g_tipoacao !== "area"){ |
| ... | ... | @@ -513,9 +516,9 @@ i3GEO.analise = { |
| 513 | 516 | if(i3GEO.util.in_array(i3GEO.Interface.ATUAL,["openlayers","googlemaps"])){ |
| 514 | 517 | x = parseInt(i3GEO.parametros.w / 2,10); |
| 515 | 518 | y = parseInt(i3GEO.parametros.h / 2,10); |
| 516 | - ll1 = i3GEO.calculo.tela2dd(x,y,"",""); | |
| 517 | - ll2 = i3GEO.calculo.tela2dd(x + 1,y,"",""); | |
| 518 | - d = i3GEO.calculo.distancia(ll1[0],ll1[1],ll2[0],ll2[1]); | |
| 519 | + ll1 = calculo.tela2dd(x,y,"",""); | |
| 520 | + ll2 = calculo.tela2dd(x + 1,y,"",""); | |
| 521 | + d = calculo.distancia(ll1[0],ll1[1],ll2[0],ll2[1]); | |
| 519 | 522 | d = d * 1000; |
| 520 | 523 | g_areapixel = d * d; |
| 521 | 524 | temp = g_areapixel < 0 ? alert("Nao e possivel calcular a area. Entre em contato com o administrador do sistema.") : montacontainer(); | ... | ... |
classesjs/classe_arvoredecamadas.js
| ... | ... | @@ -741,7 +741,8 @@ i3GEO.arvoreDeCamadas = { |
| 741 | 741 | montaOpcoes: function(node){ |
| 742 | 742 | if(typeof(console) !== 'undefined'){console.info("i3GEO.arvoreDeCamadas.montaOpcoes()");} |
| 743 | 743 | //YAHOO.log("Montando as opções da árvore de camadas", "i3geo"); |
| 744 | - var d,conteudo,opcoesNode,idtema,ltema,farol,mfarol,tnome,iconesNode; | |
| 744 | + var d,conteudo,opcoesNode,idtema,ltema,farol,mfarol,tnome,iconesNode | |
| 745 | + imb = i3GEO.util.$im("branco.gif"); | |
| 745 | 746 | idtema = node.data.id; |
| 746 | 747 | ltema = i3GEO.arvoreDeCamadas.pegaTema(idtema); |
| 747 | 748 | if(i3GEO.arvoreDeCamadas.OPCOESICONES === true){ |
| ... | ... | @@ -763,13 +764,13 @@ i3GEO.arvoreDeCamadas = { |
| 763 | 764 | mfarol = $trad("t11"); |
| 764 | 765 | } |
| 765 | 766 | tnome = " <img id='farol"+ltema.name+"' src='"+i3GEO.util.$im(farol)+"' title='"+mfarol+"' />" + |
| 766 | - " <img id='idx"+ltema.name+"' class='x' src='"+i3GEO.util.$im("branco.gif")+"' title='"+$trad("t12")+"' onclick='i3GEO.tema.exclui(\""+ltema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t12a")+"','exclui')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />" + | |
| 767 | - " <img class='sobe' src='"+i3GEO.util.$im("branco.gif") +"' title='"+$trad("t13")+"' onclick='i3GEO.tema.sobe(\""+ltema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t14")+"','sobe')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />" + | |
| 768 | - " <img class='desce' src='"+i3GEO.util.$im("branco.gif") +"' title='"+$trad("t15")+"' onclick='i3GEO.tema.desce(\""+ltema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t16")+"','desce')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />" + | |
| 769 | - " <img class='fonte' src='"+i3GEO.util.$im("branco.gif") +"' title='"+$trad("a9")+"' onclick='i3GEO.tema.fonte(\""+ltema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("a9")+"','fonte')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />"; | |
| 767 | + " <img id='idx"+ltema.name+"' class='x' src='"+imb+"' title='"+$trad("t12")+"' onclick='i3GEO.tema.exclui(\""+ltema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t12a")+"','exclui')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />" + | |
| 768 | + " <img class='sobe' src='"+imb +"' title='"+$trad("t13")+"' onclick='i3GEO.tema.sobe(\""+ltema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t14")+"','sobe')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />" + | |
| 769 | + " <img class='desce' src='"+imb +"' title='"+$trad("t15")+"' onclick='i3GEO.tema.desce(\""+ltema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t16")+"','desce')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />" + | |
| 770 | + " <img class='fonte' src='"+imb +"' title='"+$trad("a9")+"' onclick='i3GEO.tema.fonte(\""+ltema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("a9")+"','fonte')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />"; | |
| 770 | 771 | //a operação de zoom para o tema não funciona na interface flamingo |
| 771 | 772 | if( (ltema.zoomtema === "sim") && (i3GEO.Interface.ATUAL !== "flamingo")) |
| 772 | - {tnome += " <img class='extent' src='"+i3GEO.util.$im("branco.gif") +"' title='"+$trad("t17")+"' onclick='i3GEO.tema.zoom(\""+ltema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t18")+"','')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />";} | |
| 773 | + {tnome += " <img class='extent' src='"+imb +"' title='"+$trad("t17")+"' onclick='i3GEO.tema.zoom(\""+ltema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t18")+"','')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />";} | |
| 773 | 774 | iconesNode = new YAHOO.widget.HTMLNode({html:tnome,enableHighlight: false,isLeaf:true,expanded:false}, node); |
| 774 | 775 | if(ltema.permitecomentario.toLowerCase() !== "nao" && i3GEO.arvoreDeTemas.OPCOESADICIONAIS.comentarios === true) |
| 775 | 776 | { |
| ... | ... | @@ -1043,7 +1044,8 @@ i3GEO.arvoreDeCamadas = { |
| 1043 | 1044 | {String} - texto formatado |
| 1044 | 1045 | */ |
| 1045 | 1046 | montaTextoTema: function(tema){ |
| 1046 | - var ck,html,display="none",estilo; | |
| 1047 | + var ck,html,display="none",estilo, | |
| 1048 | + iu = i3GEO.util; | |
| 1047 | 1049 | if(tema.status*1 === 2) |
| 1048 | 1050 | {ck = ' CHECKED ';} |
| 1049 | 1051 | else |
| ... | ... | @@ -1084,13 +1086,13 @@ i3GEO.arvoreDeCamadas = { |
| 1084 | 1086 | //inclui icone indicando que o tema muda conforme a escala |
| 1085 | 1087 | // |
| 1086 | 1088 | if (tema.contextoescala === "sim") |
| 1087 | - {html += " <img style='"+estilo+"' src="+i3GEO.util.$im("contextoescala.png")+" title='"+$trad("t36")+"' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t36")+"','')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />";} | |
| 1089 | + {html += " <img style='"+estilo+"' src="+iu.$im("contextoescala.png")+" title='"+$trad("t36")+"' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t36")+"','')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />";} | |
| 1088 | 1090 | if (tema.sel === "sim"){ |
| 1089 | - html += " <img style='"+estilo+"' src="+i3GEO.util.$im("estasel.png")+" title='"+$trad("t4")+"' onclick='i3GEO.tema.limpasel(\""+tema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t5")+"','limpasel')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />"; | |
| 1090 | - html += " <img style='"+estilo+"' src="+i3GEO.util.$im("zoomsel.gif")+" title='"+$trad("t4a")+"' onclick='i3GEO.tema.zoomsel(\""+tema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t5")+"','zoomsel')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />"; | |
| 1091 | + html += " <img style='"+estilo+"' src="+iu.$im("estasel.png")+" title='"+$trad("t4")+"' onclick='i3GEO.tema.limpasel(\""+tema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t5")+"','limpasel')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />"; | |
| 1092 | + html += " <img style='"+estilo+"' src="+iu.$im("zoomsel.gif")+" title='"+$trad("t4a")+"' onclick='i3GEO.tema.zoomsel(\""+tema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t5")+"','zoomsel')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />"; | |
| 1091 | 1093 | } |
| 1092 | 1094 | if (tema.download.toLowerCase() === "sim") |
| 1093 | - {html += " <img style='"+estilo+"' src="+i3GEO.util.$im("down1.gif") +" title='download' onclick='i3GEO.tema.dialogo.download(\""+tema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t6")+"','download')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />";} | |
| 1095 | + {html += " <img style='"+estilo+"' src="+iu.$im("down1.gif") +" title='download' onclick='i3GEO.tema.dialogo.download(\""+tema.name+"\")' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t6")+"','download')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" />";} | |
| 1094 | 1096 | estilo = navm ? "cursor:move;vertical-align:35%;padding-top:0px;color:black;" : "cursor:move;vertical-align:top;color:black;"; |
| 1095 | 1097 | if(i3GEO.arvoreDeCamadas.AGUARDALEGENDA) |
| 1096 | 1098 | {html += " <span id='ArvoreTituloTema"+tema.name+"' style='"+estilo+"' onclick=\"i3GEO.tema.mostralegendajanela('"+tema.name+"','"+tema.tema+"','abrejanela');\" onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('"+$trad("t7a")+"','');i3GEO.tema.mostralegendajanela('"+tema.name+"','"+tema.tema+"','ativatimer');\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('');i3GEO.tema.mostralegendajanela('"+tema.name+"','','desativatimer');\" >"+tema.tema+"</span>";} |
| ... | ... | @@ -1114,12 +1116,15 @@ i3GEO.arvoreDeCamadas = { |
| 1114 | 1116 | { |
| 1115 | 1117 | if(typeof(console) !== 'undefined'){console.info("i3GEO.arvoreDeCamadas.atualizaFarol()");} |
| 1116 | 1118 | //YAHOO.log("Atualizando o farol da árvore de camadas", "i3geo"); |
| 1117 | - var farol,l,ltema,escala; | |
| 1119 | + var farol,l,ltema,escala, | |
| 1120 | + iu = i3GEO.util, | |
| 1121 | + im = i3GEO.configura.locaplic+"/imagens/", | |
| 1122 | + camadas = i3GEO.arvoreDeCamadas.CAMADAS; | |
| 1118 | 1123 | farol = "maisamarelo.png"; |
| 1119 | - l = i3GEO.arvoreDeCamadas.CAMADAS.length-1; | |
| 1124 | + l = camadas.length-1; | |
| 1120 | 1125 | if (l >= 0){ |
| 1121 | 1126 | do{ |
| 1122 | - ltema = i3GEO.arvoreDeCamadas.CAMADAS[l]; | |
| 1127 | + ltema = camadas[l]; | |
| 1123 | 1128 | escala = ltema.escala; |
| 1124 | 1129 | if (escala*1 < mapscale*1) |
| 1125 | 1130 | {farol = "maisverde.png";} |
| ... | ... | @@ -1127,7 +1132,7 @@ i3GEO.arvoreDeCamadas = { |
| 1127 | 1132 | {farol = "maisvermelho.png";} |
| 1128 | 1133 | if (escala*1 === 0) |
| 1129 | 1134 | {farol = "maisamarelo.png";} |
| 1130 | - i3GEO.util.defineValor("farol"+ltema.name,"src",i3GEO.configura.locaplic+"/imagens/"+farol); | |
| 1135 | + iu.defineValor("farol"+ltema.name,"src",im+farol); | |
| 1131 | 1136 | } |
| 1132 | 1137 | while(l--); |
| 1133 | 1138 | } | ... | ... |
classesjs/classe_arvoredetemas.js
| ... | ... | @@ -1298,49 +1298,51 @@ i3GEO.arvoreDeTemas = { |
| 1298 | 1298 | */ |
| 1299 | 1299 | outrasOpcoesHTML: function(){ |
| 1300 | 1300 | if(typeof(console) !== 'undefined'){console.info("i3GEO.arvoreDeTemas.outrasOpcoesHTML()");} |
| 1301 | - var ins = "",t = 0; | |
| 1301 | + var ins = "", | |
| 1302 | + t = 0, | |
| 1303 | + imb = i3GEO.util.$im("branco.gif"); | |
| 1302 | 1304 | if(this.OPCOESADICIONAIS.refresh === true){ |
| 1303 | - ins += "<td><img class='refresh' onclick='i3GEO.arvoreDeTemas.atualiza()' src='"+i3GEO.util.$im("branco.gif")+"' style='cursor:pointer;text-align:left' title='Refresh'/><td>"; | |
| 1305 | + ins += "<td><img class='refresh' onclick='i3GEO.arvoreDeTemas.atualiza()' src='"+imb+"' style='cursor:pointer;text-align:left' title='Refresh'/><td>"; | |
| 1304 | 1306 | t += 20; |
| 1305 | 1307 | } |
| 1306 | 1308 | if(this.OPCOESADICIONAIS.uploadgpx === true){ |
| 1307 | - ins += "<td><img class='uploadgpx' onclick='i3GEO.arvoreDeTemas.dialogo.uploadgpx()' src='"+i3GEO.util.$im("branco.gif")+"' style='cursor:pointer;text-align:left' title='upload GPX'/><td>"; | |
| 1309 | + ins += "<td><img class='uploadgpx' onclick='i3GEO.arvoreDeTemas.dialogo.uploadgpx()' src='"+imb+"' style='cursor:pointer;text-align:left' title='upload GPX'/><td>"; | |
| 1308 | 1310 | t += 20; |
| 1309 | 1311 | } |
| 1310 | 1312 | if(this.OPCOESADICIONAIS.uploaddbf === true){ |
| 1311 | - ins += "<td><img class='uploaddbf' onclick='i3GEO.arvoreDeTemas.dialogo.uploaddbf()' src='"+i3GEO.util.$im("branco.gif")+"' style='cursor:pointer;text-align:left' title='"+$trad("a2b")+"'/><td>"; | |
| 1313 | + ins += "<td><img class='uploaddbf' onclick='i3GEO.arvoreDeTemas.dialogo.uploaddbf()' src='"+imb+"' style='cursor:pointer;text-align:left' title='"+$trad("a2b")+"'/><td>"; | |
| 1312 | 1314 | t += 20; |
| 1313 | 1315 | } |
| 1314 | 1316 | if(this.OPCOESADICIONAIS.uploadlocal === true){ |
| 1315 | - ins += "<td><img class='upload' onclick='i3GEO.arvoreDeTemas.dialogo.upload()' src='"+i3GEO.util.$im("branco.gif")+"' style='cursor:pointer;text-align:left' title='"+$trad("a2")+"'/><td>"; | |
| 1317 | + ins += "<td><img class='upload' onclick='i3GEO.arvoreDeTemas.dialogo.upload()' src='"+imb+"' style='cursor:pointer;text-align:left' title='"+$trad("a2")+"'/><td>"; | |
| 1316 | 1318 | t += 20; |
| 1317 | 1319 | } |
| 1318 | 1320 | if(this.OPCOESADICIONAIS.downloadbase === true){ |
| 1319 | - ins += "<td><img onclick='i3GEO.arvoreDeTemas.dialogo.downloadbase()' class='download' src='"+i3GEO.util.$im("branco.gif")+"' style='cursor:pointer;text-align:left' title='"+$trad("a3")+"'/><td>"; | |
| 1321 | + ins += "<td><img onclick='i3GEO.arvoreDeTemas.dialogo.downloadbase()' class='download' src='"+imb+"' style='cursor:pointer;text-align:left' title='"+$trad("a3")+"'/><td>"; | |
| 1320 | 1322 | t += 20; |
| 1321 | 1323 | } |
| 1322 | 1324 | if(this.OPCOESADICIONAIS.conectarwms === true){ |
| 1323 | - ins += "<td><img class='conectarwms' onclick='i3GEO.arvoreDeTemas.dialogo.conectarwms()' src='"+i3GEO.util.$im("branco.gif")+"' style='cursor:pointer;text-align:left' title='"+$trad("a4")+"'/><td>"; | |
| 1325 | + ins += "<td><img class='conectarwms' onclick='i3GEO.arvoreDeTemas.dialogo.conectarwms()' src='"+imb+"' style='cursor:pointer;text-align:left' title='"+$trad("a4")+"'/><td>"; | |
| 1324 | 1326 | t += 20; |
| 1325 | 1327 | } |
| 1326 | 1328 | if(this.OPCOESADICIONAIS.conectarwmst === true){ |
| 1327 | - ins += "<td><img class='conectarwmst' onclick='i3GEO.arvoreDeTemas.dialogo.conectarwmst()' src='"+i3GEO.util.$im("branco.gif")+"' style='cursor:pointer;text-align:left' title='"+$trad("a4b")+"'/><td>"; | |
| 1329 | + ins += "<td><img class='conectarwmst' onclick='i3GEO.arvoreDeTemas.dialogo.conectarwmst()' src='"+imb+"' style='cursor:pointer;text-align:left' title='"+$trad("a4b")+"'/><td>"; | |
| 1328 | 1330 | t += 20; |
| 1329 | 1331 | } |
| 1330 | 1332 | if(this.OPCOESADICIONAIS.conectargeorss === true){ |
| 1331 | - ins += "<td><img class='conectargeorss' onclick='i3GEO.arvoreDeTemas.dialogo.conectargeorss()' src='"+i3GEO.util.$im("branco.gif")+"' style='cursor:pointer;text-align:left' title='"+$trad("a5")+"'/><td>"; | |
| 1333 | + ins += "<td><img class='conectargeorss' onclick='i3GEO.arvoreDeTemas.dialogo.conectargeorss()' src='"+imb+"' style='cursor:pointer;text-align:left' title='"+$trad("a5")+"'/><td>"; | |
| 1332 | 1334 | t += 20; |
| 1333 | 1335 | } |
| 1334 | 1336 | if(this.OPCOESADICIONAIS.nuvemTags === true){ |
| 1335 | - ins += "<td><img class='nuvemtags' onclick='i3GEO.arvoreDeTemas.dialogo.nuvemTags()' src='"+i3GEO.util.$im("branco.gif")+"' style='cursor:pointer;text-align:left' title='"+$trad("a5a")+"'/><td>"; | |
| 1337 | + ins += "<td><img class='nuvemtags' onclick='i3GEO.arvoreDeTemas.dialogo.nuvemTags()' src='"+imb+"' style='cursor:pointer;text-align:left' title='"+$trad("a5a")+"'/><td>"; | |
| 1336 | 1338 | t += 20; |
| 1337 | 1339 | } |
| 1338 | 1340 | if(this.OPCOESADICIONAIS.nuvemTagsFlash === true){ |
| 1339 | - ins += "<td><img class='nuvemtags' onclick='i3GEO.arvoreDeTemas.dialogo.nuvemTagsFlash()' src='"+i3GEO.util.$im("branco.gif")+"' style='cursor:pointer;text-align:left' title='"+$trad("a5a")+"'/><td>"; | |
| 1341 | + ins += "<td><img class='nuvemtags' onclick='i3GEO.arvoreDeTemas.dialogo.nuvemTagsFlash()' src='"+imb+"' style='cursor:pointer;text-align:left' title='"+$trad("a5a")+"'/><td>"; | |
| 1340 | 1342 | t += 20; |
| 1341 | 1343 | } |
| 1342 | 1344 | if(this.OPCOESADICIONAIS.carousel === true){ |
| 1343 | - ins += "<td><img class='carouselTemas' onclick='i3GEO.arvoreDeTemas.dialogo.carouselTemas()' src='"+i3GEO.util.$im("branco.gif")+"' style='cursor:pointer;text-align:left' title='Miniaturas'/><td>"; | |
| 1345 | + ins += "<td><img class='carouselTemas' onclick='i3GEO.arvoreDeTemas.dialogo.carouselTemas()' src='"+imb+"' style='cursor:pointer;text-align:left' title='Miniaturas'/><td>"; | |
| 1344 | 1346 | t += 20; |
| 1345 | 1347 | } |
| 1346 | 1348 | return("<table width='"+t+"px' ><tr>"+ins+"</tr></table>"); | ... | ... |
classesjs/classe_barradebotoes.js
| ... | ... | @@ -836,12 +836,13 @@ i3GEO.barraDeBotoes = { |
| 836 | 836 | */ |
| 837 | 837 | recria: function(id){ |
| 838 | 838 | if(typeof(console) !== 'undefined'){console.info("i3GEO.barraDeBotoes.recria()");} |
| 839 | - var n,temp,novoel,barraZoom,x,y; | |
| 839 | + var n,temp,novoel,barraZoom,x,y, | |
| 840 | + iu = i3GEO.util; | |
| 840 | 841 | n = this.BARRAS.length; |
| 841 | 842 | for(i=0;i<n;i+=1){ |
| 842 | 843 | if(this.BARRAS[i].id === id){ |
| 843 | 844 | //remove o menu de contexto |
| 844 | - i3GEO.util.removeChild("contexto_"+id); | |
| 845 | + iu.removeChild("contexto_"+id); | |
| 845 | 846 | novoel = document.createElement("div"); |
| 846 | 847 | novoel.id = "barraTemporaria"+i; |
| 847 | 848 | novoel.innerHTML = $i(this.BARRAS[i].id+"_").innerHTML; | ... | ... |
classesjs/classe_coordenadas.js
| ... | ... | @@ -438,7 +438,8 @@ i3GEO.coordenadas = { |
| 438 | 438 | |
| 439 | 439 | */ |
| 440 | 440 | atualizaProj4: function(onde,configProj,x,y){ |
| 441 | - var destino,zona,temp,p; | |
| 441 | + var destino,zona,temp,p, | |
| 442 | + iu = i3GEO.util; | |
| 442 | 443 | try{ |
| 443 | 444 | if(!$i(onde+configProj+"ZN")) |
| 444 | 445 | {return;} |
| ... | ... | @@ -465,8 +466,8 @@ i3GEO.coordenadas = { |
| 465 | 466 | else |
| 466 | 467 | {destino = temp.zona[zona+"S"];} |
| 467 | 468 | if(typeof(destino) === 'undefined'){ |
| 468 | - i3GEO.util.defineValor(onde+configProj+"X","value","?"); | |
| 469 | - i3GEO.util.defineValor(onde+configProj+"Y","value","?"); | |
| 469 | + iu.defineValor(onde+configProj+"X","value","?"); | |
| 470 | + iu.defineValor(onde+configProj+"Y","value","?"); | |
| 470 | 471 | return; |
| 471 | 472 | } |
| 472 | 473 | } |
| ... | ... | @@ -477,8 +478,8 @@ i3GEO.coordenadas = { |
| 477 | 478 | {p = {x:x,y:y};} |
| 478 | 479 | else |
| 479 | 480 | {p = i3GEO.coordenadas.calculaProj4(i3GEO.coordenadas.defOrigem,destino,x,y);} |
| 480 | - i3GEO.util.defineValor(onde+configProj+"X","value",p.x); | |
| 481 | - i3GEO.util.defineValor(onde+configProj+"Y","value",p.y); | |
| 481 | + iu.defineValor(onde+configProj+"X","value",p.x); | |
| 482 | + iu.defineValor(onde+configProj+"Y","value",p.y); | |
| 482 | 483 | i3GEO.coordenadas.MODOTEXTO += temp.titulo+" - X: "+p.x+" Y: "+p.y+"<br>"; |
| 483 | 484 | }, |
| 484 | 485 | /* | ... | ... |
classesjs/classe_idioma.js
| ... | ... | @@ -281,7 +281,8 @@ i3GEO.idioma = { |
| 281 | 281 | // |
| 282 | 282 | //monta o elemento HTML com as bandeiras |
| 283 | 283 | // |
| 284 | - var ins,n,w,i,pos,novoel,temp; | |
| 284 | + var ins,n,w,i,pos,novoel,temp, | |
| 285 | + iu = i3GEO.util; | |
| 285 | 286 | ins = ""; |
| 286 | 287 | n = this.SELETORES.length; |
| 287 | 288 | if($i("i3geo") && i3GEO.parametros.w < 550) |
| ... | ... | @@ -289,7 +290,7 @@ i3GEO.idioma = { |
| 289 | 290 | else {w = "";} |
| 290 | 291 | for(i=0;i<n;i++){ |
| 291 | 292 | temp = i3GEO.idioma.SELETORES[i]; |
| 292 | - ins += '<img style="'+w+'padding:0 0px;top:-7px;padding-right:0px;border: 1px solid white;" src="'+i3GEO.util.$im("branco.gif")+'" onclick="i3GEO.idioma.trocaIdioma('+temp+')" '; | |
| 293 | + ins += '<img style="'+w+'padding:0 0px;top:-7px;padding-right:0px;border: 1px solid white;" src="'+iu.$im("branco.gif")+'" onclick="i3GEO.idioma.trocaIdioma('+temp+')" '; | |
| 293 | 294 | if(temp === "en") |
| 294 | 295 | {ins += 'alt="Ingles" id="uk" />';} |
| 295 | 296 | if(temp === "pt") | ... | ... |
classesjs/classe_interface.js
| ... | ... | @@ -272,14 +272,15 @@ i3GEO.Interface = { |
| 272 | 272 | // |
| 273 | 273 | //inicialização que afeta todas as interfaces |
| 274 | 274 | // |
| 275 | - var temp = window.location.href.split("?")[0]; | |
| 275 | + var temp = window.location.href.split("?")[0], | |
| 276 | + gadgets = i3GEO.gadgets; | |
| 276 | 277 | if($i("i3GEOcompartilhar")) |
| 277 | 278 | {i3GEO.social.compartilhar("i3GEOcompartilhar",temp,temp,"semtotal");} |
| 278 | 279 | |
| 279 | - i3GEO.gadgets.quadros.inicia(10); | |
| 280 | - i3GEO.gadgets.quadros.grava("extensao",i3GEO.parametros.extentTotal); | |
| 281 | - i3GEO.gadgets.mostraBuscaRapida(); | |
| 282 | - i3GEO.gadgets.mostraVersao(); | |
| 280 | + gadgets.quadros.inicia(10); | |
| 281 | + gadgets.quadros.grava("extensao",i3GEO.parametros.extentTotal); | |
| 282 | + gadgets.mostraBuscaRapida(); | |
| 283 | + gadgets.mostraVersao(); | |
| 283 | 284 | i3GEO.guias.cria(); |
| 284 | 285 | // |
| 285 | 286 | //esse id é utilizado apenas para manter o mapa não visível até que tudo seja montado |
| ... | ... | @@ -445,60 +446,65 @@ i3GEO.Interface = { |
| 445 | 446 | }, |
| 446 | 447 | inicia:function(){ |
| 447 | 448 | var i,estilo, |
| 448 | - elemento = ($i("contemImg")) ? "contemImg" : "img"; | |
| 449 | + elemento = ($i("contemImg")) ? "contemImg" : "img", | |
| 450 | + iu = i3GEO.util, | |
| 451 | + configura = i3GEO.configura, | |
| 452 | + gadgets = i3GEO.gadgets, | |
| 453 | + parametros = i3GEO.parametros; | |
| 449 | 454 | i3GEO.mapa.ajustaPosicao(elemento); |
| 450 | 455 | i = $i("img"); |
| 451 | 456 | if(!i){return;} |
| 452 | - i.style.width=i3GEO.parametros.w +"px"; | |
| 453 | - i.style.height=i3GEO.parametros.h +"px"; | |
| 457 | + i.style.width=parametros.w +"px"; | |
| 458 | + i.style.height=parametros.h +"px"; | |
| 454 | 459 | estilo = $i(i3GEO.Interface.IDCORPO).style; |
| 455 | - estilo.width=i3GEO.parametros.w +"px"; | |
| 456 | - estilo.height=i3GEO.parametros.h +"px"; | |
| 457 | - estilo.clip = 'rect('+0+" "+(i3GEO.parametros.w)+" "+(i3GEO.parametros.h)+" "+0+')'; | |
| 460 | + estilo.width=parametros.w +"px"; | |
| 461 | + estilo.height=parametros.h +"px"; | |
| 462 | + estilo.clip = 'rect('+0+" "+(parametros.w)+" "+(parametros.h)+" "+0+')'; | |
| 458 | 463 | objmapaparado = "nao"; //utilizado para verificar se o mouse esta parado |
| 459 | - i3GEO.gadgets.mostraMenuSuspenso(); | |
| 464 | + gadgets.mostraMenuSuspenso(); | |
| 460 | 465 | i3GEO.eventos.ativa(i); |
| 461 | 466 | i3GEO.coordenadas.mostraCoordenadas(); |
| 462 | - i3GEO.gadgets.mostraEscalaNumerica(); | |
| 463 | - i3GEO.gadgets.mostraEscalaGrafica(); | |
| 464 | - i3GEO.gadgets.visual.inicia(); | |
| 465 | - i3GEO.util.arvore("<b>"+$trad("p13")+"</b>","listaPropriedades",i3GEO.configura.listaDePropriedadesDoMapa); | |
| 467 | + gadgets.mostraEscalaNumerica(); | |
| 468 | + gadgets.mostraEscalaGrafica(); | |
| 469 | + gadgets.visual.inicia(); | |
| 470 | + iu.arvore("<b>"+$trad("p13")+"</b>","listaPropriedades",configura.listaDePropriedadesDoMapa); | |
| 466 | 471 | // |
| 467 | 472 | //i3GEO.arvoreDeCamadas.CAMADAS é definido na inicialização (classe_i3geo) |
| 468 | 473 | // |
| 469 | - i3GEO.arvoreDeCamadas.cria("",i3GEO.arvoreDeCamadas.CAMADAS,i3GEO.configura.sid,i3GEO.configura.locaplic); | |
| 474 | + i3GEO.arvoreDeCamadas.cria("",i3GEO.arvoreDeCamadas.CAMADAS,configura.sid,configura.locaplic); | |
| 470 | 475 | |
| 471 | - i3GEO.ajuda.ativaLetreiro(i3GEO.parametros.mensagens); | |
| 476 | + i3GEO.ajuda.ativaLetreiro(parametros.mensagens); | |
| 472 | 477 | i3GEO.Interface.padrao.ativaBotoes(); |
| 473 | 478 | i3GEO.idioma.mostraSeletor(); |
| 474 | - if (i3GEO.configura.mapaRefDisplay !== "none"){ | |
| 475 | - if (i3GEO.util.pegaCookie("i3GEO.configura.mapaRefDisplay")) | |
| 476 | - {i3GEO.configura.mapaRefDisplay = i3GEO.util.pegaCookie("i3GEO.configura.mapaRefDisplay");} | |
| 477 | - if (i3GEO.configura.mapaRefDisplay === "block") | |
| 479 | + if (configura.mapaRefDisplay !== "none"){ | |
| 480 | + if (iu.pegaCookie("i3GEO.configura.mapaRefDisplay")) | |
| 481 | + {configura.mapaRefDisplay = iu.pegaCookie("i3GEO.configura.mapaRefDisplay");} | |
| 482 | + if (configura.mapaRefDisplay === "block") | |
| 478 | 483 | {i3GEO.maparef.inicia();} |
| 479 | 484 | } |
| 480 | 485 | }, |
| 481 | 486 | ativaBotoes: function(){ |
| 482 | 487 | if(typeof(console) !== 'undefined'){console.info("i3GEO.Interface.padrao.ativaBotoes()");} |
| 483 | 488 | var x1,y1,x2,y2, |
| 484 | - imagemxy = i3GEO.util.pegaPosicaoObjeto($i(i3GEO.Interface.IDCORPO)); | |
| 485 | - if ($i("barraDeBotoes1") || i3GEO.barraDeBotoes.AUTO === true){ | |
| 489 | + imagemxy = i3GEO.util.pegaPosicaoObjeto($i(i3GEO.Interface.IDCORPO)), | |
| 490 | + barraDeBotoes = i3GEO.barraDeBotoes; | |
| 491 | + if ($i("barraDeBotoes1") || barraDeBotoes.AUTO === true){ | |
| 486 | 492 | x1 = imagemxy[0]+i3GEO.Interface.BARRABOTOESLEFT; |
| 487 | 493 | y1 = imagemxy[1]+i3GEO.Interface.BARRABOTOESTOP; |
| 488 | 494 | } |
| 489 | - if ($i("barraDeBotoes2") || i3GEO.barraDeBotoes.AUTO === true){ | |
| 495 | + if ($i("barraDeBotoes2") || barraDeBotoes.AUTO === true){ | |
| 490 | 496 | x2 = imagemxy[0]+i3GEO.Interface.BARRABOTOESLEFT; |
| 491 | 497 | y2 = imagemxy[1]+i3GEO.Interface.BARRABOTOESTOP; |
| 492 | 498 | } |
| 493 | - if (($i("barraDeBotoes1") && $i("barraDeBotoes2")) || i3GEO.barraDeBotoes.AUTO === true){ | |
| 499 | + if (($i("barraDeBotoes1") && $i("barraDeBotoes2")) || barraDeBotoes.AUTO === true){ | |
| 494 | 500 | x1 = imagemxy[0]+i3GEO.Interface.BARRABOTOESLEFT+40; |
| 495 | 501 | } |
| 496 | - if ($i("barraDeBotoes1") || i3GEO.barraDeBotoes.AUTO === true) | |
| 497 | - {i3GEO.barraDeBotoes.inicializaBarra("barraDeBotoes1","i3geo_barra1",true,x1,y1);} | |
| 498 | - if ($i("barraDeBotoes2") || i3GEO.barraDeBotoes.AUTO === true) | |
| 499 | - {i3GEO.barraDeBotoes.inicializaBarra("barraDeBotoes2","i3geo_barra2",false,x2,y2);} | |
| 502 | + if ($i("barraDeBotoes1") || barraDeBotoes.AUTO === true) | |
| 503 | + {barraDeBotoes.inicializaBarra("barraDeBotoes1","i3geo_barra1",true,x1,y1);} | |
| 504 | + if ($i("barraDeBotoes2") || barraDeBotoes.AUTO === true) | |
| 505 | + {barraDeBotoes.inicializaBarra("barraDeBotoes2","i3geo_barra2",false,x2,y2);} | |
| 500 | 506 | //ativa as funções dos botões |
| 501 | - i3GEO.barraDeBotoes.ativaBotoes(); | |
| 507 | + barraDeBotoes.ativaBotoes(); | |
| 502 | 508 | if (document.getElementById("botao3d")){ |
| 503 | 509 | if (i3GEO.configura.map3d === "") |
| 504 | 510 | {document.getElementById("botao3d").style.display="none";} |
| ... | ... | @@ -663,9 +669,10 @@ i3GEO.Interface = { |
| 663 | 669 | //são criados apenas os layers que ainda não existirem no mapa |
| 664 | 670 | //mas que existem na arvore de camadas |
| 665 | 671 | // |
| 666 | - i3GEO.Interface.openlayers.criaLayers(); | |
| 667 | - i3GEO.Interface.openlayers.ordenaLayers(); | |
| 668 | - i3GEO.Interface.openlayers.recalcPar(); | |
| 672 | + var openlayers = i3GEO.Interface.openlayers; | |
| 673 | + openlayers.criaLayers(); | |
| 674 | + openlayers.ordenaLayers(); | |
| 675 | + openlayers.recalcPar(); | |
| 669 | 676 | i3GEO.janela.fechaAguarde(); |
| 670 | 677 | }, |
| 671 | 678 | cria: function(w,h){ | ... | ... |
classesjs/classe_janela.js
| ... | ... | @@ -163,8 +163,9 @@ i3GEO.janela = { |
| 163 | 163 | // |
| 164 | 164 | //esconde o box de zoom e outros objetos temporários se estiverem visíveis |
| 165 | 165 | // |
| 166 | - i3GEO.util.escondePin(); | |
| 167 | - i3GEO.util.escondeBox(); | |
| 166 | + var iu = i3GEO.util; | |
| 167 | + iu.escondePin(); | |
| 168 | + iu.escondeBox(); | |
| 168 | 169 | }, |
| 169 | 170 | /* |
| 170 | 171 | Function: cria |
| ... | ... | @@ -386,10 +387,11 @@ i3GEO.janela = { |
| 386 | 387 | */ |
| 387 | 388 | fecha: function(event){ |
| 388 | 389 | if(typeof(console) !== 'undefined'){console.info("i3GEO.janela.fecha()");} |
| 389 | - var i,old,id; | |
| 390 | + var i,old,id, | |
| 391 | + iu = i3GEO.util; | |
| 390 | 392 | //esconde elementos gráficos q a ferramenta pode ter aberto |
| 391 | - i3GEO.util.escondePin(); | |
| 392 | - i3GEO.util.escondeBox(); | |
| 393 | + iu.escondePin(); | |
| 394 | + iu.escondeBox(); | |
| 393 | 395 | //fecha o container de desenho de elementos na tela |
| 394 | 396 | //if($i("divGeometriasTemp")) |
| 395 | 397 | //{i3GEO.desenho.richdraw.fecha();} |
| ... | ... | @@ -403,13 +405,13 @@ i3GEO.janela = { |
| 403 | 405 | {id = this.id;} |
| 404 | 406 | else |
| 405 | 407 | {id = event.id;} |
| 406 | - i3GEO.util.removeChild(id+"_c"); | |
| 407 | - i3GEO.util.removeChild(id); | |
| 408 | - i3GEO.util.removeChild(id+"_mask"); | |
| 408 | + iu.removeChild(id+"_c"); | |
| 409 | + iu.removeChild(id); | |
| 410 | + iu.removeChild(id+"_mask"); | |
| 409 | 411 | // |
| 410 | 412 | //remove script tag se houver |
| 411 | 413 | // |
| 412 | - i3GEO.util.removeScriptTag(id+"_script"); | |
| 414 | + iu.removeScriptTag(id+"_script"); | |
| 413 | 415 | }, |
| 414 | 416 | /* |
| 415 | 417 | Function: alteraTamanho |
| ... | ... | @@ -689,13 +691,15 @@ i3GEO.janela = { |
| 689 | 691 | } |
| 690 | 692 | else{ |
| 691 | 693 | try{ |
| 692 | - var id,i,n = this.JANELASAGUARDE.length; | |
| 694 | + var id,i, | |
| 695 | + n = this.JANELASAGUARDE.length, | |
| 696 | + iu = i3GEO.util; | |
| 693 | 697 | for(i=0;i<n;i += 1){ |
| 694 | 698 | id = this.JANELASAGUARDE[i]; |
| 695 | 699 | if($i(id+"_c")) |
| 696 | 700 | {eval('YAHOO.aguarde.'+id+'.destroy()');} |
| 697 | - i3GEO.util.removeChild(id+"_c"); | |
| 698 | - i3GEO.util.removeChild(id+"_mask"); | |
| 701 | + iu.removeChild(id+"_c"); | |
| 702 | + iu.removeChild(id+"_mask"); | |
| 699 | 703 | } |
| 700 | 704 | this.JANELASAGUARDE = []; |
| 701 | 705 | } | ... | ... |
classesjs/classe_mapa.js
| ... | ... | @@ -597,7 +597,9 @@ i3GEO.mapa = { |
| 597 | 597 | if(i3GEO.Interface.ATUAL === "googleearth") |
| 598 | 598 | {i3GEO.Interface.googleearth.aguarde.visibility = "visible";} |
| 599 | 599 | retorna = function(retorno){ |
| 600 | - var temp,rfes,n,balloon,i,mostra,res,temas,ntemas,titulo,tips,j,ntips,ins,r,ds,nds,s; | |
| 600 | + var temp,rfes,n,balloon,i,mostra,res,temas,ntemas,titulo,tips,j,ntips,ins,r,ds,nds,s, | |
| 601 | + configura = i3GEO.configura, | |
| 602 | + tipotip = configura.tipotip; | |
| 601 | 603 | i = $i("i3geo_rosa"); |
| 602 | 604 | if(i) |
| 603 | 605 | {i.style.display="none";} |
| ... | ... | @@ -611,7 +613,7 @@ i3GEO.mapa = { |
| 611 | 613 | ntemas = temas.length; |
| 612 | 614 | for(j=0;j<ntemas;j += 1){ |
| 613 | 615 | titulo = temas[j].nome; |
| 614 | - if (i3GEO.configura.tipotip === "completo" || i3GEO.configura.tipotip === "balao") | |
| 616 | + if (tipotip === "completo" || tipotip === "balao") | |
| 615 | 617 | {titulo = "<span style='text-decoration:underline;text-align:left;font-size:9pt'><b>"+titulo+"</b></span><br>";} |
| 616 | 618 | else |
| 617 | 619 | {titulo = "";} |
| ... | ... | @@ -629,7 +631,7 @@ i3GEO.mapa = { |
| 629 | 631 | eval("var valor = ds[s]."+tips[r]+".valor"); |
| 630 | 632 | eval("var link = ds[s]."+tips[r]+".link"); |
| 631 | 633 | eval("var img = ds[s]."+tips[r]+".img"); |
| 632 | - if (i3GEO.configura.tipotip === "completo" || i3GEO.configura.tipotip === "balao"){ | |
| 634 | + if (tipotip === "completo" || tipotip === "balao"){ | |
| 633 | 635 | if(valor !== "" && link === "") |
| 634 | 636 | {ins += "<span class='tiptexto' style='text-align:left;font-size:8pt'>" + alias + " :" + valor + "</span><br>";} |
| 635 | 637 | if(valor !== "" && link !== "") |
| ... | ... | @@ -660,7 +662,7 @@ i3GEO.mapa = { |
| 660 | 662 | {$i("tip").style.display="none";} |
| 661 | 663 | } |
| 662 | 664 | else{ |
| 663 | - if(i3GEO.configura.tipotip !== "balao"){ | |
| 665 | + if(tipotip !== "balao"){ | |
| 664 | 666 | n = i3GEO.janela.tip(); |
| 665 | 667 | $i(n).style.textAlign="left"; |
| 666 | 668 | $i(n).innerHTML += res; |
| ... | ... | @@ -671,11 +673,11 @@ i3GEO.mapa = { |
| 671 | 673 | i3GEO.Interface.googleearth.aguarde.visibility = "hidden"; |
| 672 | 674 | } |
| 673 | 675 | else{ |
| 674 | - i3GEO.util.criaPin('marcaIdentifica',i3GEO.configura.locaplic+"/imagens/grabber.gif","12px","12px"); | |
| 676 | + i3GEO.util.criaPin('marcaIdentifica',configura.locaplic+"/imagens/grabber.gif","12px","12px"); | |
| 675 | 677 | i3GEO.util.posicionaImagemNoMapa("marcaIdentifica"); |
| 676 | 678 | balloon = new Balloon(); |
| 677 | 679 | balloon.delayTime = 0; |
| 678 | - res = "<div style=text-align:left;overflow:auto;height:"+i3GEO.configura.alturatip+";width:"+i3GEO.configura.larguratip+"; >"+res+"</div>"; | |
| 680 | + res = "<div style=text-align:left;overflow:auto;height:"+configura.alturatip+";width:"+configura.larguratip+"; >"+res+"</div>"; | |
| 679 | 681 | balloon.showTooltip($i("marcaIdentifica"),res); |
| 680 | 682 | $i('marcaIdentifica').onclick = $i("closeButton").onclick; |
| 681 | 683 | } |
| ... | ... | @@ -687,7 +689,7 @@ i3GEO.mapa = { |
| 687 | 689 | temp = "identifica"; |
| 688 | 690 | if(i3GEO.Interface.ATIVAMENUCONTEXTO) |
| 689 | 691 | {temp = "identifica_contexto";} |
| 690 | - i3GEO.util.mudaCursor(i3GEO.configura.cursores,temp,i3GEO.Interface.IDMAPA,i3GEO.configura.locaplic); | |
| 692 | + i3GEO.util.mudaCursor(configura.cursores,temp,i3GEO.Interface.IDMAPA,configura.locaplic); | |
| 691 | 693 | } |
| 692 | 694 | } |
| 693 | 695 | catch(e){ | ... | ... |
interface/googlemaps.phtml
| ... | ... | @@ -15,8 +15,6 @@ include_once("../ms_configura.php"); |
| 15 | 15 | } |
| 16 | 16 | </style> |
| 17 | 17 | <title>i3GEO - GoogleMaps</title> |
| 18 | -<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
| 19 | -<script type="text/javascript" src="../classesjs/i3geonaocompacto.js"></script> | |
| 20 | 18 | </head> |
| 21 | 19 | <body id="i3geo" > |
| 22 | 20 | <center> |
| ... | ... | @@ -95,7 +93,7 @@ include_once("../ms_configura.php"); |
| 95 | 93 | <br><br> |
| 96 | 94 | <table> |
| 97 | 95 | <tr> |
| 98 | - <td><center><h1><div id=versaoi3geo ></div><h2>i3Geo - Software livre para criação de mapas interativos e geoprocessamento<h3>Baseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro</h3></h2></h1></td> | |
| 96 | + <td><center><h1><div id=versaoi3geo ></div><h2 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;" >i3Geo - Software livre para criação de mapas interativos e geoprocessamento<h3 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;" >Baseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro</h3></h2></h1></td> | |
| 99 | 97 | </tr> |
| 100 | 98 | <tr> |
| 101 | 99 | <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> |
| ... | ... | @@ -106,6 +104,8 @@ include_once("../ms_configura.php"); |
| 106 | 104 | </td> |
| 107 | 105 | </tr> |
| 108 | 106 | </table> |
| 107 | +<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
| 108 | +<script type="text/javascript" src="../classesjs/i3geonaocompacto.js"></script> | |
| 109 | 109 | <script type="text/javascript"> |
| 110 | 110 | /* |
| 111 | 111 | Title: Google Maps | ... | ... |
interface/openlayers.htm
| ... | ... | @@ -4,8 +4,7 @@ |
| 4 | 4 | <meta http-equiv="Category" content="I3Geo Mapa interativo MMA geoprocessamento sig mobile"> |
| 5 | 5 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| 6 | 6 | <title>i3GEO - OpenLayers</title> |
| 7 | -<script type="text/javascript" src="../classesjs/i3geonaocompacto.js"></script> | |
| 8 | -<script type="text/javascript" src="../pacotes/openlayers/OpenLayers29.js.php"></script> | |
| 7 | + | |
| 9 | 8 | </head> |
| 10 | 9 | <body id="i3geo"> |
| 11 | 10 | |
| ... | ... | @@ -133,7 +132,7 @@ |
| 133 | 132 | <br><br> |
| 134 | 133 | <table> |
| 135 | 134 | <tr> |
| 136 | - <td><center><h1><div id=versaoi3geo ></div><h2>i3Geo - Software livre para criação de mapas interativos e geoprocessamento<h3>Baseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro</h3></h2></h1></td> | |
| 135 | + <td><center><h1 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;"><div id=versaoi3geo ></div><h2 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;">i3Geo - Software livre para criação de mapas interativos e geoprocessamento<h3>Baseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro</h3></h2></h1></td> | |
| 137 | 136 | </tr> |
| 138 | 137 | <tr> |
| 139 | 138 | <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> |
| ... | ... | @@ -146,7 +145,9 @@ |
| 146 | 145 | </td> |
| 147 | 146 | </tr> |
| 148 | 147 | </table> |
| 149 | -<script type="text/javascript"> | |
| 148 | +<script src="../classesjs/i3geonaocompacto.js"></script> | |
| 149 | +<script src="../pacotes/openlayers/OpenLayers29.js.php"></script> | |
| 150 | +<script> | |
| 150 | 151 | /* |
| 151 | 152 | Title: Interface Openlayers |
| 152 | 153 | ... | ... |