Commit aef281e14ea7b6e9827cbe6c0720a750d3a25e70
1 parent
75b86a09
Exists in
master
and in
7 other branches
--no commit message
Showing
3 changed files
with
183 additions
and
8 deletions
Show diff stats
classesjs/classe_configura.js
| @@ -795,7 +795,7 @@ i3GEO.configura = { | @@ -795,7 +795,7 @@ i3GEO.configura = { | ||
| 795 | eval(i3GEO.configura.funcaoIdentifica); | 795 | eval(i3GEO.configura.funcaoIdentifica); |
| 796 | } | 796 | } |
| 797 | var temp = function(){ | 797 | var temp = function(){ |
| 798 | - $i("i3GEOmarcaIdentifica").style.display = "none"; | 798 | + //$i("i3GEOmarcaIdentifica").style.display = "none"; |
| 799 | }, | 799 | }, |
| 800 | i; | 800 | i; |
| 801 | i3GEO.util.criaPin("i3GEOmarcaIdentifica",i3GEO.configura.locaplic+"/imagens/marcaidentify.png",48,48,temp); | 801 | i3GEO.util.criaPin("i3GEOmarcaIdentifica",i3GEO.configura.locaplic+"/imagens/marcaidentify.png",48,48,temp); |
classesjs/classe_util.js
| @@ -625,10 +625,10 @@ i3GEO.util = { | @@ -625,10 +625,10 @@ i3GEO.util = { | ||
| 625 | imagem = i3GEO.configura.locaplic+'/imagens/marker.png'; | 625 | imagem = i3GEO.configura.locaplic+'/imagens/marker.png'; |
| 626 | } | 626 | } |
| 627 | if(arguments.length < 3 || w === ""){ | 627 | if(arguments.length < 3 || w === ""){ |
| 628 | - w = "21px"; | 628 | + w = 21; |
| 629 | } | 629 | } |
| 630 | if(arguments.length < 4 || h === ""){ | 630 | if(arguments.length < 4 || h === ""){ |
| 631 | - h = "25px"; | 631 | + h = 25; |
| 632 | } | 632 | } |
| 633 | if (!$i(id)) | 633 | if (!$i(id)) |
| 634 | { | 634 | { |
| @@ -636,8 +636,10 @@ i3GEO.util = { | @@ -636,8 +636,10 @@ i3GEO.util = { | ||
| 636 | novoel.id = id; | 636 | novoel.id = id; |
| 637 | novoel.style.zIndex=10000; | 637 | novoel.style.zIndex=10000; |
| 638 | novoel.style.position="absolute"; | 638 | novoel.style.position="absolute"; |
| 639 | - novoel.style.width=w; | ||
| 640 | - novoel.style.height=h; | 639 | + novoel.style.width=parseInt(w,10)+"px"; |
| 640 | + novoel.style.height=parseInt(h,10)+"px"; | ||
| 641 | + novoel.style.top="0px"; | ||
| 642 | + novoel.style.left="0px"; | ||
| 641 | novoel.src = imagem; | 643 | novoel.src = imagem; |
| 642 | if(id === "boxpin") | 644 | if(id === "boxpin") |
| 643 | {novoel.onmouseover = function(){$i("boxpin").style.display="none";};} | 645 | {novoel.onmouseover = function(){$i("boxpin").style.display="none";};} |
| @@ -1320,9 +1322,8 @@ i3GEO.util = { | @@ -1320,9 +1322,8 @@ i3GEO.util = { | ||
| 1320 | script.onreadystatechange = function(){ | 1322 | script.onreadystatechange = function(){ |
| 1321 | if(this.readyState === 'loaded' || this.readyState === 'complete') | 1323 | if(this.readyState === 'loaded' || this.readyState === 'complete') |
| 1322 | { | 1324 | { |
| 1323 | - if(i3GEO.janela && aguarde === true){ | 1325 | + if(i3GEO.janela){ |
| 1324 | i3GEO.janela.fechaAguarde(id+"aguarde"); | 1326 | i3GEO.janela.fechaAguarde(id+"aguarde"); |
| 1325 | - i3GEO.janela.ESTILOAGUARDE = tipojanela; | ||
| 1326 | } | 1327 | } |
| 1327 | eval(ini); | 1328 | eval(ini); |
| 1328 | } | 1329 | } |
| @@ -1332,11 +1333,11 @@ i3GEO.util = { | @@ -1332,11 +1333,11 @@ i3GEO.util = { | ||
| 1332 | script.onload=function(){ | 1333 | script.onload=function(){ |
| 1333 | if(i3GEO.janela){ | 1334 | if(i3GEO.janela){ |
| 1334 | i3GEO.janela.fechaAguarde(id+"aguarde"); | 1335 | i3GEO.janela.fechaAguarde(id+"aguarde"); |
| 1335 | - i3GEO.janela.ESTILOAGUARDE = tipojanela; | ||
| 1336 | } | 1336 | } |
| 1337 | eval(ini); | 1337 | eval(ini); |
| 1338 | }; | 1338 | }; |
| 1339 | } | 1339 | } |
| 1340 | + i3GEO.janela.ESTILOAGUARDE = tipojanela; | ||
| 1340 | } | 1341 | } |
| 1341 | script.src= js; | 1342 | script.src= js; |
| 1342 | if(id !== "") | 1343 | if(id !== "") |
| @@ -0,0 +1,174 @@ | @@ -0,0 +1,174 @@ | ||
| 1 | +<?php | ||
| 2 | +include_once("../ms_configura.php"); | ||
| 3 | +?> | ||
| 4 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
| 5 | +<html> | ||
| 6 | +<head> | ||
| 7 | +<meta http-equiv="Category" content="i3Geo Mapa interativo MMA geoprocessamento sig mobile"> | ||
| 8 | +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
| 9 | +<title>i3GEO - Google Maps</title> | ||
| 10 | + | ||
| 11 | +</head> | ||
| 12 | +<body id="i3geo" style="background-color:white"> | ||
| 13 | +<table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> | ||
| 14 | + <tr style="border:0px"> | ||
| 15 | + <td id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | ||
| 16 | + </tr> | ||
| 17 | + <tr> | ||
| 18 | + <td id="contemMenu" style="text-align:right;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
| 19 | + <!--menu suspenso--> | ||
| 20 | + <div id="menus" ></div> | ||
| 21 | + </td> | ||
| 22 | + </tr> | ||
| 23 | + <tr> | ||
| 24 | + <td style="vertical-align:top;border-width:0px;"> | ||
| 25 | + <table width="100%" style="vertical-align:top;border-width:0px"> | ||
| 26 | + <tr> | ||
| 27 | + <td class=verdeclaro id=contemImg > | ||
| 28 | + <div id=googlemapsdiv style="position:relative;background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
| 29 | + </td> | ||
| 30 | + </tr> | ||
| 31 | + </table> | ||
| 32 | + </td> | ||
| 33 | + </tr> | ||
| 34 | + <tr> | ||
| 35 | + <td> | ||
| 36 | + <table width=100% > | ||
| 37 | + <tr> | ||
| 38 | + <td class=tdbranca > | ||
| 39 | + <!-- | ||
| 40 | + Nesse div são incluídos os ícones que permitem ao usuário modificar o visual de cores dos ícones | ||
| 41 | + <div id=visual ></div> | ||
| 42 | + --> | ||
| 43 | + <!-- botão de compartilhamento em redes sociais --> | ||
| 44 | + <div id=i3GEOcompartilhar style="text-align:left;border-top:1px solid rgb(250,250,250);padding-top:1px" ></div> | ||
| 45 | + <!-- aqui será incluído o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> | ||
| 46 | + <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
| 47 | + </td> | ||
| 48 | + <td class=tdbranca > | ||
| 49 | + <!-- aqui será incluída a escala numérica --> | ||
| 50 | + <div id=escala style="text-align:right;" ></div> | ||
| 51 | + </td> | ||
| 52 | + <td class=tdbranca > | ||
| 53 | + <!-- aqui será incluído o gadget que mostra a coordenada geográfica da posição do mouse --> | ||
| 54 | + <div id=localizarxy style="text-align:left;font-size:10px;display:inline-table"></div> | ||
| 55 | + </td> | ||
| 56 | + <!-- aqui serão incluídas as bandeiras que permitem a troca de idioma --> | ||
| 57 | + <td class=tdbranca > | ||
| 58 | + <div id=seletorIdiomas ></div> | ||
| 59 | + </td> | ||
| 60 | + </tr> | ||
| 61 | + </table> | ||
| 62 | + </td> | ||
| 63 | + </tr> | ||
| 64 | + <tr style="border:0px"> | ||
| 65 | + <td id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td> | ||
| 66 | + </tr> | ||
| 67 | +</table> | ||
| 68 | +<center> | ||
| 69 | +<table id="i3GEOlogoMarca"> | ||
| 70 | + <tr> | ||
| 71 | + <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 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> | ||
| 72 | + </tr> | ||
| 73 | + <tr> | ||
| 74 | + <td style="padding:10px;"><center><img style="width:560px;height:81px" alt="logomarca" src='../imagens/logo_inicio.png'></td> | ||
| 75 | + </tr> | ||
| 76 | + <tr> | ||
| 77 | + <td><center> | ||
| 78 | + <!-- | ||
| 79 | + <script id="ohloh" type="text/javascript" src="http://www.ohloh.net/p/150688/widgets/project_users.js?style=red"></script> | ||
| 80 | + --> | ||
| 81 | + </td> | ||
| 82 | + </tr> | ||
| 83 | +</table> | ||
| 84 | + | ||
| 85 | +<div id="i3GEOguiaMovel" style="position:absolute;display:block;border:0px solid white;text-align:left;z-index:1000;background-color:none"> | ||
| 86 | + <img id='i3GEOguiaMovelPuxador' onclick='i3GEO.guias.guiaMovel.abreFecha()' style='z-index:2;border:solid 0px white;left:0px;position:absolute;top:0px' width='0px' src='../imagens/openbars.png' > | ||
| 87 | + <div id="i3GEOguiaMovelMolde" style="position:absolute;display:none;border:0px solid white;text-align:left;z-index:1000;background-color:gray"> | ||
| 88 | + <div id='i3GEOguiaMovelIcones' style='overflow:none;left:0px;display:none;position:absolute;top:0px;text-align:center;height:0px;width:0px;border:solid 0px white;background-color:white' ></div> | ||
| 89 | + <div id='i3GEOguiaMovelConteudo' style='overflow:auto;display:none;position:absolute;border-color:gray;border-width:0px 0 0px 0px;left:0px;height:0px;background-color:white'> | ||
| 90 | + <div id='guia1obj' style='display:none;' > | ||
| 91 | + <!-- Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico --> | ||
| 92 | + <div style='left:5px;top:10px;' id=buscaRapida ></div> | ||
| 93 | + <!-- Esta div acrescenta a lista de propriedades do mapa --> | ||
| 94 | + <div id=listaPropriedades style='top:15px;' ></div> | ||
| 95 | + <!-- Esta div acrescenta a lista de de camadas do tipo 'baselayers' específicas da interface Openlayers. Veja também a opção i3GEO.Interface.openlayers.GADGETS.LayerSwitcher --> | ||
| 96 | + <div id=listaLayersBase style='top:15px;'></div> | ||
| 97 | + <!-- Esta div acrescenta a lista de de camadas disponíveis no mapa atual --> | ||
| 98 | + <div id=listaTemas style='top:15px;'></div> | ||
| 99 | + </div> | ||
| 100 | + <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
| 101 | + <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
| 102 | + <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
| 103 | + </div> | ||
| 104 | + </div> | ||
| 105 | +</div> | ||
| 106 | + | ||
| 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 | +<script type="text/javascript"> | ||
| 110 | +i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
| 111 | +i3GEO.Interface.ATUAL = "googlemaps"; | ||
| 112 | +i3GEO.Interface.IDCORPO = "contemImg"; | ||
| 113 | +i3GEO.configura.diminuixN = 20; | ||
| 114 | + | ||
| 115 | +i3GEO.cria(); | ||
| 116 | + | ||
| 117 | +/* | ||
| 118 | + Inicializa o mapa | ||
| 119 | +*/ | ||
| 120 | +//não mostra o mapa de referência | ||
| 121 | +i3GEO.configura.mapaRefDisplay = "none"; | ||
| 122 | +//tipo de barra de botões | ||
| 123 | +i3GEO.barraDeBotoes.TIPO = "olhodepeixe"; | ||
| 124 | +//ajusta o deslocamento da barra de botões | ||
| 125 | +i3GEO.barraDeBotoes.OFFSET = -10; | ||
| 126 | +i3GEO.barraDeBotoes.INCLUIBOTAO.barraedicao = false; | ||
| 127 | +//ajusta a posição da barra de botões no IE | ||
| 128 | +//if(navm) | ||
| 129 | +//{i3GEO.barraDeBotoes.OFFSET = -45;} | ||
| 130 | + | ||
| 131 | +//número máximo de botões na barra de botões inicial | ||
| 132 | +//i3GEO.barraDeBotoes.MAXBOTOES = 10; | ||
| 133 | +//remove itens dos menus que não são necessários, já que estão como ícones na barra de botões | ||
| 134 | +i3GEO.configura.oMenuData["submenus"]["janelas"] = []; | ||
| 135 | + | ||
| 136 | +//barra de botoes normal. descomente para usar | ||
| 137 | +/* | ||
| 138 | +i3GEO.barraDeBotoes.TIPO = "yui"; | ||
| 139 | +i3GEO.barraDeBotoes.AUTOALTURA = false; | ||
| 140 | +i3GEO.barraDeBotoes.ATIVAMENUCONTEXTO = false; | ||
| 141 | +i3GEO.barraDeBotoes.PERMITEFECHAR = true; | ||
| 142 | +i3GEO.barraDeBotoes.PERMITEDESLOCAR = true; | ||
| 143 | +i3GEO.barraDeBotoes.AUTO = true; | ||
| 144 | +i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja"; | ||
| 145 | +i3GEO.Interface.BARRABOTOESLEFT = 80; | ||
| 146 | +i3GEO.Interface.BARRABOTOESTOP = 20; | ||
| 147 | +*/ | ||
| 148 | +i3GEO.idioma.IDSELETOR = "seletorIdiomas"; | ||
| 149 | +i3GEO.Interface.ATIVAMENUCONTEXTO = true; | ||
| 150 | +i3GEO.arvoreDeTemas.TIPOBOTAO = "radio"; | ||
| 151 | +i3GEO.arvoreDeTemas.ATIVATEMAIMEDIATO = true; | ||
| 152 | +//para evitar a entrada de comentários na árvore de camadas, modifique a opção de cada tema individualmente no sistema de administração | ||
| 153 | +i3GEO.arvoreDeTemas.OPCOESADICIONAIS.comentario = true; | ||
| 154 | +i3GEO.mapa.AUTORESIZE = true; | ||
| 155 | +i3GEO.arvoreDeCamadas.MOSTRALISTAKML = false; | ||
| 156 | +i3GEO.guias.TIPO = "movel"; | ||
| 157 | +//posição da guia movel em relação ao topo do mapa. Se for igual a 0, o cálculo será feito de forma automática | ||
| 158 | +i3GEO.guias.guiaMovel.config.topGuiaMovel = 0; | ||
| 159 | + | ||
| 160 | +i3GEO.ajuda.ATIVAJANELA = false; | ||
| 161 | +// | ||
| 162 | +//substitui a janela de alerta normal do navegador por uma janela estilizada. Pode ser comentado sem problemas. | ||
| 163 | +// | ||
| 164 | +//i3GEO.janela.ativaAlerta(); | ||
| 165 | +//esconde a logomarca ao finalizar o mapa | ||
| 166 | +i3GEO.finaliza = function(){ | ||
| 167 | + $i("i3GEOlogoMarca").style.display = "none"; | ||
| 168 | + i3GEO.mapa.insereDobraPagina("openlayers","../imagens/dobraopenlayers.png"); | ||
| 169 | +}; | ||
| 170 | +//i3GEO.Interface.googlemaps.TIPOMAPA = "satellite"; | ||
| 171 | +i3GEO.inicia(); | ||
| 172 | +</script> | ||
| 173 | +</body> | ||
| 174 | +</html> | ||
| 0 | \ No newline at end of file | 175 | \ No newline at end of file |