Commit dc36f0b11909ea9b880ffd595bbf46af997183eb
1 parent
56d0c89a
Exists in
master
and in
7 other branches
Os arquivos de interface foram movidos da pasta "aplicmap" para a nova pasta "interface"
Showing
29 changed files
with
2210 additions
and
2840 deletions
Show diff stats
aplicmap/favicon.ico
No preview for this file type
aplicmap/flamingo.htm
@@ -1,75 +0,0 @@ | @@ -1,75 +0,0 @@ | ||
1 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | -<html> | ||
3 | -<head> | ||
4 | -<meta http-equiv="Category" content="I3Geo Mapa interativo MMA"> | ||
5 | -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
6 | - <style type="text/css"> | ||
7 | - .olControlEditingToolbar { | ||
8 | - float:left; | ||
9 | - right: 0px; | ||
10 | - height:30px; | ||
11 | - width: 150px; | ||
12 | - } | ||
13 | -</style> | ||
14 | -<title>i3GEO - Flamingo</title> | ||
15 | -<!-- Leitura dos programas javaScript e estilos. Pode-se ler os arquivos não compactados, bastando excluir a palavra _compacto --> | ||
16 | -<script type="text/javascript" src="../classesjs/i3geonaocompacto.js"></script> | ||
17 | -<script type="text/javascript" src="../pacotes/flamingo/js/swfobject.js"></script> | ||
18 | -</head> | ||
19 | -<body id=i3geo > | ||
20 | -<center> | ||
21 | -<table id='mst' width=100% cellspacing='0'> | ||
22 | -<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | ||
23 | -<tr> | ||
24 | - <td class=tdbranca id=contemFerramentas style="border:0px;vertical-align:top;width:268px;text-align:left;"> | ||
25 | - <table width=100% cellspacing=0 cellpadding=0 > | ||
26 | - <tr><td style="background-color:white;border-bottom:0px solid rgb(230,230,230);height:45px"> | ||
27 | - <!-- Guias principais, não mude o ID, apenas o nome se for desejado --> | ||
28 | - <div style="top:0px;cursor:pointer;"> | ||
29 | - <div id=guia1 class=guia value="Mostra os temas atualmente inseridos no mapa e que podem estar visíveis ou não." > Temas </div> | ||
30 | - <div id=guia2 class=guia value="Mostra a lista de temas disponíveis no servidor de dados, possibilitando que novos temas sejam adicionados ao mapa."> Adiciona </div> | ||
31 | - <div id=guia4 class=guia value="Mostra a legnda do mapa atual." > Legenda </div> | ||
32 | - </div> | ||
33 | - </td></tr> | ||
34 | - </table> | ||
35 | - <div id='guia1obj' ><div id=listaTemas ></div></div> | ||
36 | - <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
37 | - <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
38 | - </td> | ||
39 | - <td class=verdeclaro style="background-color:white;vertical-align:top;border-width:0px;"> | ||
40 | - <table width="100%" style="vertical-align:top;"> | ||
41 | - <!-- Corpo do mapa. Pode ser reposicionado, mas não mude os IDs --> | ||
42 | - <tr><td></td></tr> | ||
43 | - <tr><td class=verdeclaro id=contemImg > | ||
44 | - <div id=flamingo style="text-align:left;background-image:url('../imagens/i3geo1bw.jpg')"></div> | ||
45 | - </td></tr> | ||
46 | - </table> | ||
47 | - </td> | ||
48 | - </tr> | ||
49 | -<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
50 | -</table> | ||
51 | -</center> | ||
52 | -<!-- Variáveis globais e inicialização do mapa--> | ||
53 | -<script type="text/javascript"> | ||
54 | -/* | ||
55 | -Title: Flamingo | ||
56 | - | ||
57 | -Abre o i3geo com a navegação controlada pelo Flamingo. | ||
58 | - | ||
59 | -File: i3geo/aplicmap/flamingo.htm | ||
60 | - | ||
61 | -Exemplo: | ||
62 | - | ||
63 | -http://localhost/i3geo/ms_criamapa.php?interface=flamingo.htm | ||
64 | - | ||
65 | -*/ | ||
66 | -g_locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
67 | -i3GEO.configura.mapaRefDisplay = "none"; | ||
68 | -i3GEO.interface.ATUAL = "flamingo"; | ||
69 | -i3GEO.interface.IDCORPO = "contemImg"; | ||
70 | -i3GEO.cria(); | ||
71 | -i3GEO.inicia(); | ||
72 | -</script> | ||
73 | - | ||
74 | -</body> | ||
75 | -</html> | ||
76 | \ No newline at end of file | 0 | \ No newline at end of file |
aplicmap/geral.htm
@@ -1,235 +0,0 @@ | @@ -1,235 +0,0 @@ | ||
1 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | -<html> | ||
3 | -<head> | ||
4 | -<meta NAME="keywords" content="mapserver,i3geo,mapas interativos,geoprocessamento,software livre, software publico, gpl"> | ||
5 | -<meta NAME="description" content="i3Geo - baseado no Mapserver, é um software livre para criação de mapas interativos e geoprocessamento - licenciado sob GPL e Software Publico"> | ||
6 | -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
7 | -<title>i3Geo</title> | ||
8 | -<!-- | ||
9 | - Leitura dos programas javaScript e estilos. | ||
10 | - Os códigos do i3geo são compactados para tornar o carregamento mais rápido. | ||
11 | - Se vc alterar os códigos originais, não se esqueça de compactá-los com classesjs/compactajs.php. | ||
12 | - Para depurar o código sem ter de compactá-los, substitua na linha abaixo | ||
13 | - o arquivo i3geo.js por i3geonaocompacto.js | ||
14 | - No modo não compactado o código está adaptado para uso com o Firebug do Firefox. | ||
15 | ---> | ||
16 | -<script type="text/javascript" src="../classesjs/i3geo.js"></script> | ||
17 | -<style> | ||
18 | -.yui-log .i3geo {background-color:yellow;} /* customize a color */ | ||
19 | -.yui-log .redesenho {background-color:yellow;} /* customize a color */ | ||
20 | -.yui-log .janela {background-color:yellow;} /* customize a color */ | ||
21 | -.yui-log-bd {text-align:left;} | ||
22 | -.yui-log-entry yui-log-verbose, p{text-align:left;} | ||
23 | - .info {text-align:left;} | ||
24 | -</style> | ||
25 | -</head> | ||
26 | -<body id="i3geo"> | ||
27 | - | ||
28 | -<table id='mst' summary="" style='display:none;' width=100% cellspacing='0' > | ||
29 | - | ||
30 | -<!-- | ||
31 | - Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR | ||
32 | ---> | ||
33 | -<tr style="border:0px"> | ||
34 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | ||
35 | -</tr> | ||
36 | -<tr> | ||
37 | -<td> | ||
38 | - <table width=100% cellspacing=0 cellpadding=0 > | ||
39 | - <tr> | ||
40 | - <td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td> | ||
41 | - <td> | ||
42 | - <!-- | ||
43 | - Guias principais, não mude o ID | ||
44 | - --> | ||
45 | - | ||
46 | - <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
47 | - <div id=guia1 class=guia ></div> | ||
48 | - <div id=guia2 class=guia ></div> | ||
49 | - <div id=guia4 class=guia ></div> | ||
50 | - <div id=guia5 class=guia ></div> | ||
51 | - </div> | ||
52 | - </td> | ||
53 | - | ||
54 | - </tr> | ||
55 | - </table> | ||
56 | -</td> | ||
57 | -<td id="contemMenu" style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
58 | - <!-- | ||
59 | - menu suspenso | ||
60 | - --> | ||
61 | - <div id="menus" ></div> | ||
62 | -</td> | ||
63 | -</tr> | ||
64 | -<tr> | ||
65 | - <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
66 | - <!-- | ||
67 | - Esta div acrescenta a lista de propriedades do mapa, caso vc queira colocá-la em um lugar específico | ||
68 | - --> | ||
69 | - | ||
70 | - <!--<div id=listaPropriedades ></div>--> | ||
71 | - <!-- | ||
72 | - Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico | ||
73 | - --> | ||
74 | - <!-- <div id=buscaRapida ></div> --> | ||
75 | - <!-- | ||
76 | - As divs guiaNobj guardam o conteúdo que é mostrado quando a guia é clicada | ||
77 | - Para cada botão na guia deve haver um div com o conteúdo, pe. | ||
78 | - o div com id=guia1 deve ter um div com id=guia1obj | ||
79 | - --> | ||
80 | - <div id='guia1obj' > | ||
81 | - <div style='left:5px;top:10px;' id=buscaRapida ></div> | ||
82 | - <div id=listaPropriedades style='top:15px;' ></div> | ||
83 | - <div id=listaTemas style='top:15px;'></div> | ||
84 | - <!-- se vc quiser colocar a arvore de adição de temas em um lugar específico, use o div abaixo, caso contrário, a árvore será colocada na guia definida em objmapa.guiaMenu | ||
85 | - <div id=arvoreAdicionaTema style='top:25px;' ></div> | ||
86 | - <div id=outrasOpcoesAdiciona style='top:25px;' ></div> | ||
87 | - --> | ||
88 | - </div> | ||
89 | - | ||
90 | - <div id='guia2obj' style='display:none;'>Aguarde...<img alt="aguarde" src="../imagens/branco.gif" width=248 /></div> | ||
91 | - <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
92 | - <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
93 | - </td> | ||
94 | - <td style="vertical-align:top;border-width:0px;"> | ||
95 | - <table width="100%" style="vertical-align:top;border-width:0px"> | ||
96 | - <!-- | ||
97 | - Corpo do mapa. Pode ser reposicionado, mas não mude os IDs. Se vc quiser que o mapa tenha um tamanho específico, inclua o estilo, exemplo, style=width:300px;height:300px | ||
98 | - Vc pode usar o estilo para definir o tamanho do mapa. Se não tiver estilo definido, o tamanho será automático | ||
99 | - --> | ||
100 | - <tr><td class=verdeclaro id=contemImg > | ||
101 | - | ||
102 | - <div id=corpoMapa style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
103 | - </td></tr> | ||
104 | - </table> | ||
105 | - </td> | ||
106 | - </tr> | ||
107 | -<!-- | ||
108 | -Mostra as coordenadas conforme o mouse é movimentado | ||
109 | ---> | ||
110 | -<!-- <div class=pcenter10 id='longlat'>Longitude e latitude</div> --> | ||
111 | -<!-- | ||
112 | -Escala gráfica. Pode ser excluída. | ||
113 | ---> | ||
114 | -<!-- <div id="escalaGrafica" style="text-align:left"></div> --> | ||
115 | -<!-- | ||
116 | -vc pode optar por colocar mensagens de ajuda em algum lugar | ||
117 | ---> | ||
118 | -<!-- | ||
119 | -<tr><td colspan=2 ><div id=i3geo_ajuda class=verdeescuro style="text-align:left;" >I3Geo</div></td></tr> | ||
120 | ---> | ||
121 | -<tr> | ||
122 | - | ||
123 | - <td class=tdbranca > | ||
124 | - <!-- | ||
125 | - Nesse div são incluídos os ícones que permitem ao usuário modificar o visual de cores dos ícones | ||
126 | - <div id=visual ></div> | ||
127 | - --> | ||
128 | - <!-- aqui serão incluídas as bandeiras que permitem a troca de idioma --> | ||
129 | - <div id="seletorIdiomas" ></div> | ||
130 | - <!-- aqui será incluído o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> | ||
131 | - <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
132 | - </td> | ||
133 | - <td class=tdbranca > | ||
134 | - <table width=100% ><tr> | ||
135 | - <td class=tdbranca ><div id=lugarquadros ></div></td> | ||
136 | - <td class=tdbranca style=text-align:center > | ||
137 | - <!-- aqui será incluído o gadget que mostra a coordenada geográfica da posição do mouse --> | ||
138 | - <div id=localizarxy style="text-align:left;font-size:10px;">Aguarde...</div> | ||
139 | - </td> | ||
140 | - <td class=tdbranca > | ||
141 | - <!-- aqui será incluída a escala numérica --> | ||
142 | - <div id=escala ></div> | ||
143 | - </td> | ||
144 | - <!-- | ||
145 | - A opção de localização 'onde estou?' baseia-se na identificação do IP do usuário. Para | ||
146 | - que esta opção funcione corretamente, deve estar instalado no I3Geo o pacote geoIP. Veja no | ||
147 | - SVN do portal do software público o diretório arquivos_versões/pacotes para maiores informações | ||
148 | - --> | ||
149 | - <td class=tdbranca ><div id=ondeestou ></div></td> | ||
150 | - </tr> | ||
151 | - <!-- esta div recebe o cálculo do posicionamento do mouse em coordenadas UTM | ||
152 | - As coordenadas UTM apenas serão mostradas nessa div se o parâmetro | ||
153 | - i3GEO.gadgets.mostraCoordenadasUTM.idhtml for diferente de i3GEO.gadgets.mostraCoordenadasGEO.idhtml | ||
154 | - se os IDs forem iguais, o tipo de coordenada mostrada será intercalada, ora UTM ora GEO. | ||
155 | - <tr><td></td><td class="tdbranca"><div style="text-align:left;font-size:8px;background-color:white;display:none;" id=mostraUTM ></div></td><td></td></tr> | ||
156 | - --> | ||
157 | - </table> | ||
158 | - </td> | ||
159 | -</tr> | ||
160 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
161 | -<!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> | ||
162 | -<tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> | ||
163 | -<tr style="border:0px"><td colspan=3 style=background-color:black;color:white >geoprocessamento@mma.gov.br</td></tr> | ||
164 | -</table> | ||
165 | - | ||
166 | -<center> | ||
167 | -<br><br> | ||
168 | -<table> | ||
169 | -<tr> | ||
170 | - <td><center><h1><div id=versaoi3geo ></div><h2>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> | ||
171 | -</tr> | ||
172 | -<tr> | ||
173 | - <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> | ||
174 | -</tr> | ||
175 | -<tr> | ||
176 | - <td><center> | ||
177 | - <script type="text/javascript" src="http://www.ohloh.net/p/150688/widgets/project_users.js?style=red"></script> | ||
178 | - </td> | ||
179 | -</tr> | ||
180 | -</table> | ||
181 | -<script type="text/javascript"> | ||
182 | -/* | ||
183 | -Title: Interface normal | ||
184 | - | ||
185 | -Abre o i3geo com todas as suas funcionalidades. | ||
186 | - | ||
187 | -File: i3geo/aplicmap/geral.htm | ||
188 | - | ||
189 | -Exemplo: | ||
190 | - | ||
191 | -http://<host>/i3geo/ms_criamapa.php | ||
192 | - | ||
193 | -Para definir quais botões das barras de ferramentas serão incluídos no mapa, veja: <classe_barradebotoes.js> i3GEO.barraDeBotoes.INCLUIBOTAO | ||
194 | - | ||
195 | -*/ | ||
196 | -/* | ||
197 | -i3GEO.configura.locaplic indica a localização correta do i3geo. | ||
198 | - | ||
199 | -Se vc instalou o i3geo em um diretório diferente do normal, altere o valor da variável abaixo. | ||
200 | - | ||
201 | -Por exemplo, se vc instalou no diretório "i3geoteste", modifique para: | ||
202 | - | ||
203 | -i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geoteste"; | ||
204 | -*/ | ||
205 | -i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
206 | - | ||
207 | -i3GEO.cria() | ||
208 | - | ||
209 | -i3GEO.barraDeBotoes.AUTOALTURA = false | ||
210 | -i3GEO.barraDeBotoes.ATIVAMENUCONTEXTO = true | ||
211 | -i3GEO.barraDeBotoes.PERMITEFECHAR = true | ||
212 | -i3GEO.barraDeBotoes.PERMITEDESLOCAR = true | ||
213 | -i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja" | ||
214 | -i3GEO.barraDeBotoes.AUTO = true //as barras de botões serão construídas automaticamente | ||
215 | - | ||
216 | -i3GEO.idioma.IDSELETOR = "seletorIdiomas" | ||
217 | -i3GEO.interface.ATIVAMENUCONTEXTO = true; | ||
218 | - | ||
219 | -//i3GEO.gadgets.PARAMETROS.mostraCoordenadasUTM.idhtml = ""; | ||
220 | - | ||
221 | -i3GEO.inicia(); | ||
222 | -// | ||
223 | -//inclui um tema via javascript | ||
224 | -/* | ||
225 | -var temp = function(){alert("oi");i3GEO.atualiza();} | ||
226 | -i3GEO.php.ligatemas(temp,"","biomashp","sim"); | ||
227 | -*/ | ||
228 | - | ||
229 | -//esconde a opção de inclusão da escala quando a resolução da tela for muito pequena | ||
230 | -if($i("escala") && i3GEO.parametros.w < 500) | ||
231 | -{$i("escala").style.display="none";} | ||
232 | -</script> | ||
233 | -</body> | ||
234 | - | ||
235 | -</html> | ||
236 | \ No newline at end of file | 0 | \ No newline at end of file |
aplicmap/geral1tmp.map
@@ -1,336 +0,0 @@ | @@ -1,336 +0,0 @@ | ||
1 | -MAP | ||
2 | - EXTENT -76.5125927 -39.3925675209 -29.5851853 9.49014852081 | ||
3 | - FONTSET "/opt/www/html/i3geo/symbols/fontes.txt" | ||
4 | - IMAGECOLOR 157 211 255 | ||
5 | - IMAGETYPE png1 | ||
6 | - SYMBOLSET "/opt/www/html/i3geo/symbols/simbolos.sym" | ||
7 | - SHAPEPATH "/opt/www/html/geodados" | ||
8 | - SIZE 480 500 | ||
9 | - STATUS ON | ||
10 | - UNITS DD | ||
11 | - NAME "GERAL" | ||
12 | - | ||
13 | - OUTPUTFORMAT | ||
14 | - NAME "png1" | ||
15 | - MIMETYPE "image/png" | ||
16 | - DRIVER "GD/PNG" | ||
17 | - EXTENSION "png" | ||
18 | - IMAGEMODE "RGB" | ||
19 | - TRANSPARENT FALSE | ||
20 | - END | ||
21 | - | ||
22 | - PROJECTION | ||
23 | - "init=epsg:4291" | ||
24 | - END | ||
25 | - LEGEND | ||
26 | - IMAGECOLOR 255 255 255 | ||
27 | - KEYSIZE 12 10 | ||
28 | - KEYSPACING 5 5 | ||
29 | - LABEL | ||
30 | - ANGLE 0.000000 | ||
31 | - ANTIALIAS TRUE | ||
32 | - FONT "verdana" | ||
33 | - MAXSIZE 256 | ||
34 | - MINSIZE 4 | ||
35 | - SIZE 8 | ||
36 | - TYPE TRUETYPE | ||
37 | - BUFFER 0 | ||
38 | - COLOR 0 0 0 | ||
39 | - FORCE FALSE | ||
40 | - MINDISTANCE -1 | ||
41 | - MINFEATURESIZE -1 | ||
42 | - OFFSET 0 -2 | ||
43 | - PARTIALS TRUE | ||
44 | - END | ||
45 | - POSITION LL | ||
46 | - STATUS OFF | ||
47 | - END | ||
48 | - | ||
49 | - QUERYMAP | ||
50 | - COLOR 255 0 0 | ||
51 | - SIZE 480 500 | ||
52 | - STATUS OFF | ||
53 | - STYLE HILITE | ||
54 | - END | ||
55 | - | ||
56 | - REFERENCE | ||
57 | - COLOR -1 -1 -1 | ||
58 | - EXTENT -75.2486 -35.4973 -31.2486 5.99421 | ||
59 | - IMAGE "/opt/www/html/i3geo/imagens/reference.png" | ||
60 | - OUTLINECOLOR 255 0 0 | ||
61 | - SIZE 177 167 | ||
62 | - STATUS OFF | ||
63 | - MARKER "ref" | ||
64 | - MARKERSIZE 8 | ||
65 | - MINBOXSIZE 8 | ||
66 | - MAXBOXSIZE 145 | ||
67 | - END | ||
68 | - | ||
69 | - SCALEBAR | ||
70 | - BACKGROUNDCOLOR 200 200 200 | ||
71 | - COLOR 0 0 0 | ||
72 | - IMAGECOLOR 255 255 255 | ||
73 | - INTERVALS 5 | ||
74 | - LABEL | ||
75 | - SIZE TINY | ||
76 | - TYPE BITMAP | ||
77 | - BUFFER 0 | ||
78 | - COLOR 0 0 0 | ||
79 | - FORCE FALSE | ||
80 | - MINDISTANCE -1 | ||
81 | - MINFEATURESIZE -1 | ||
82 | - OFFSET 0 0 | ||
83 | - PARTIALS TRUE | ||
84 | - END | ||
85 | - POSITION LR | ||
86 | - SIZE 200 2 | ||
87 | - STATUS EMBED | ||
88 | - STYLE 1 | ||
89 | - TRANSPARENT TRUE | ||
90 | - UNITS KILOMETERS | ||
91 | - END | ||
92 | - | ||
93 | - WEB | ||
94 | - IMAGEPATH "/var/tmp/ms_tmp/" | ||
95 | - IMAGEURL "/ms_tmp/" | ||
96 | - METADATA | ||
97 | - END | ||
98 | - QUERYFORMAT text/html | ||
99 | - LEGENDFORMAT text/html | ||
100 | - BROWSEFORMAT text/html | ||
101 | - TEMPLATE "/opt/www/html/i3geo/aplicmap/geral.htm" | ||
102 | - END | ||
103 | - | ||
104 | - LAYER | ||
105 | - DATA "/opt/www/html/i3geo/aplicmap/dados/zee" | ||
106 | - METADATA | ||
107 | - "CLASSE" "NAO" | ||
108 | - "TEMA" "NAO" | ||
109 | - END | ||
110 | - NAME "zee" | ||
111 | - SIZEUNITS PIXELS | ||
112 | - STATUS DEFAULT | ||
113 | - TEMPLATE "none.htm" | ||
114 | - TOLERANCE 0 | ||
115 | - TOLERANCEUNITS PIXELS | ||
116 | - TYPE POLYGON | ||
117 | - UNITS METERS | ||
118 | - CLASS | ||
119 | - METADATA | ||
120 | - END | ||
121 | - STYLE | ||
122 | - ANGLE 360 | ||
123 | - COLOR 137 201 255 | ||
124 | - SYMBOL 0 | ||
125 | - END | ||
126 | - END | ||
127 | - END | ||
128 | - | ||
129 | - LAYER | ||
130 | - DATA "/opt/www/html/i3geo/aplicmap/dados/mundo" | ||
131 | - GROUP "mundo" | ||
132 | - METADATA | ||
133 | - "CLASSE" "SIM" | ||
134 | - "ITENSDESC" "FIPS,GMI,Nome" | ||
135 | - "TITULO" "Países do mundo" | ||
136 | - "ITENS" "FIPS_CNTRY,GMI_CNTRY,CNTRY_NAME" | ||
137 | - "TEMA" "Países do mundo" | ||
138 | - END | ||
139 | - NAME "mundo" | ||
140 | - SIZEUNITS PIXELS | ||
141 | - STATUS DEFAULT | ||
142 | - TEMPLATE "none.htm" | ||
143 | - TOLERANCE 0 | ||
144 | - TOLERANCEUNITS PIXELS | ||
145 | - TRANSPARENCY 100 | ||
146 | - TYPE POLYGON | ||
147 | - UNITS METERS | ||
148 | - CLASS | ||
149 | - NAME " " | ||
150 | - METADATA | ||
151 | - END | ||
152 | - STYLE | ||
153 | - ANGLE 360 | ||
154 | - COLOR 230 230 230 | ||
155 | - SIZE 1 | ||
156 | - SYMBOL 0 | ||
157 | - END | ||
158 | - END | ||
159 | - END | ||
160 | - | ||
161 | - LAYER | ||
162 | - DATA "/opt/www/html/i3geo/aplicmap/dados/mundo" | ||
163 | - GROUP "mundo" | ||
164 | - METADATA | ||
165 | - "CLASSE" "NAO" | ||
166 | - "TEMA" "NAO" | ||
167 | - END | ||
168 | - NAME "mundo2" | ||
169 | - SIZEUNITS PIXELS | ||
170 | - STATUS DEFAULT | ||
171 | - TOLERANCE 0 | ||
172 | - TOLERANCEUNITS PIXELS | ||
173 | - TRANSPARENCY 100 | ||
174 | - TYPE LINE | ||
175 | - UNITS METERS | ||
176 | - CLASS | ||
177 | - METADATA | ||
178 | - END | ||
179 | - STYLE | ||
180 | - ANGLE 360 | ||
181 | - COLOR 255 255 255 | ||
182 | - SIZE 3 | ||
183 | - SYMBOL "linha" | ||
184 | - END | ||
185 | - END | ||
186 | - END | ||
187 | - | ||
188 | - LAYER | ||
189 | - DATA "/opt/www/html/i3geo/aplicmap/dados/estados" | ||
190 | - METADATA | ||
191 | - "CLASSE" "SIM" | ||
192 | - "ESCALA" "250000" | ||
193 | - "TEMA" "Brasil" | ||
194 | - END | ||
195 | - NAME "estados" | ||
196 | - SIZEUNITS PIXELS | ||
197 | - STATUS DEFAULT | ||
198 | - TOLERANCE 0 | ||
199 | - TOLERANCEUNITS PIXELS | ||
200 | - TRANSPARENCY 100 | ||
201 | - TYPE POLYGON | ||
202 | - UNITS METERS | ||
203 | - CLASS | ||
204 | - NAME " " | ||
205 | - METADATA | ||
206 | - END | ||
207 | - STYLE | ||
208 | - ANGLE 360 | ||
209 | - COLOR 232 220 201 | ||
210 | - MAXSIZE 100 | ||
211 | - SIZE 1 | ||
212 | - SYMBOL 0 | ||
213 | - END | ||
214 | - END | ||
215 | - END | ||
216 | - | ||
217 | - LAYER | ||
218 | - METADATA | ||
219 | - "TEMA" "NAO" | ||
220 | - END | ||
221 | - NAME "copyright" | ||
222 | - SIZEUNITS PIXELS | ||
223 | - STATUS DEFAULT | ||
224 | - TOLERANCE 0 | ||
225 | - TOLERANCEUNITS PIXELS | ||
226 | - TRANSFORM FALSE | ||
227 | - TYPE ANNOTATION | ||
228 | - UNITS METERS | ||
229 | - CLASS | ||
230 | - LABEL | ||
231 | - SIZE TINY | ||
232 | - TYPE BITMAP | ||
233 | - BUFFER 0 | ||
234 | - COLOR 50 50 50 | ||
235 | - FORCE FALSE | ||
236 | - MINDISTANCE -1 | ||
237 | - MINFEATURESIZE -1 | ||
238 | - OFFSET 0 0 | ||
239 | - PARTIALS TRUE | ||
240 | - POSITION CC | ||
241 | - END | ||
242 | - METADATA | ||
243 | - END | ||
244 | - END | ||
245 | - FEATURE | ||
246 | - POINTS | ||
247 | - 10 5 | ||
248 | - END | ||
249 | - TEXT "-I3Geo" | ||
250 | - END | ||
251 | - END | ||
252 | - | ||
253 | - LAYER | ||
254 | - DATA "brasil/biorregioes/probio" | ||
255 | - METADATA | ||
256 | - "DADOS" "brasil/biorregioes/probio" | ||
257 | - "CLASSE" "SIM" | ||
258 | - "ITENSDESC" "Código,Workshop,Nome,Prioridade,Mais informações" | ||
259 | - "ITENSLINK" ",,,,../../../geodados/brasil/biorregioes/linksprobio/[COD_GERAL].htm" | ||
260 | - "ESCALA" "1000000" | ||
261 | - "TEXTO" "SIM" | ||
262 | - "ITENS" "COD_GERAL,FIRST_FONT,FIRST_NOME,FIRST_PRIO,COD_GERAL" | ||
263 | - "TPSHP" "" | ||
264 | - "TEMA" "Áreas prioritárias para conservação da biodiversidade" | ||
265 | - END | ||
266 | - NAME "probio" | ||
267 | - SIZEUNITS PIXELS | ||
268 | - STATUS OFF | ||
269 | - TEMPLATE "probio.htm" | ||
270 | - TOLERANCEUNITS PIXELS | ||
271 | - TRANSPARENCY 50 | ||
272 | - TYPE POLYGON | ||
273 | - UNITS METERS | ||
274 | - CLASS | ||
275 | - NAME "Extremamente alta" | ||
276 | - EXPRESSION ('[FIRST_PRIO]'eq'1 - Extremamente alta') | ||
277 | - METADATA | ||
278 | - END | ||
279 | - STYLE | ||
280 | - ANGLE 360 | ||
281 | - COLOR 255 60 60 | ||
282 | - OUTLINECOLOR 50 50 50 | ||
283 | - SYMBOL 0 | ||
284 | - END | ||
285 | - END | ||
286 | - CLASS | ||
287 | - NAME "Muito alta" | ||
288 | - EXPRESSION ('[FIRST_PRIO]'eq'2 - Muito alta') | ||
289 | - METADATA | ||
290 | - END | ||
291 | - STYLE | ||
292 | - ANGLE 360 | ||
293 | - COLOR 250 130 20 | ||
294 | - OUTLINECOLOR 50 50 50 | ||
295 | - SYMBOL 0 | ||
296 | - END | ||
297 | - END | ||
298 | - CLASS | ||
299 | - NAME "Alta" | ||
300 | - EXPRESSION ('[FIRST_PRIO]'eq'3 - Alta') | ||
301 | - METADATA | ||
302 | - END | ||
303 | - STYLE | ||
304 | - ANGLE 360 | ||
305 | - COLOR 255 255 0 | ||
306 | - OUTLINECOLOR 50 50 50 | ||
307 | - SYMBOL 0 | ||
308 | - END | ||
309 | - END | ||
310 | - CLASS | ||
311 | - NAME "Insuficientemente conhecida" | ||
312 | - EXPRESSION ('[FIRST_PRIO]'eq'Insuficientemente conhecida') | ||
313 | - METADATA | ||
314 | - END | ||
315 | - STYLE | ||
316 | - ANGLE 360 | ||
317 | - COLOR 150 150 150 | ||
318 | - OUTLINECOLOR 50 50 50 | ||
319 | - SYMBOL 0 | ||
320 | - END | ||
321 | - END | ||
322 | - CLASS | ||
323 | - NAME "Áreas adicionais" | ||
324 | - EXPRESSION ('[FIRST_PRIO]'eq'Novas áreas identificadas pelos grupos regionais') | ||
325 | - METADATA | ||
326 | - END | ||
327 | - STYLE | ||
328 | - ANGLE 360 | ||
329 | - COLOR 200 150 255 | ||
330 | - OUTLINECOLOR 50 50 50 | ||
331 | - SYMBOL 0 | ||
332 | - END | ||
333 | - END | ||
334 | - END | ||
335 | - | ||
336 | -END |
aplicmap/geraldebug.htm
@@ -1,254 +0,0 @@ | @@ -1,254 +0,0 @@ | ||
1 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | -<html> | ||
3 | -<head> | ||
4 | -<meta NAME="keywords" content="mapserver,i3geo,mapas interativos,geoprocessamento,software livre, software publico, gpl"> | ||
5 | -<meta NAME="description" content="i3Geo - baseado no Mapserver, é um software livre para criação de mapas interativos e geoprocessamento - licenciado sob GPL e Software Publico"> | ||
6 | -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
7 | -<title>i3Geo</title> | ||
8 | -<!-- | ||
9 | - Leitura dos programas javaScript e estilos. | ||
10 | - Os códigos do i3geo são compactados para tornar o carregamento mais rápido. | ||
11 | - Se vc alterar os códigos originais, não se esqueça de compactá-los com classesjs/compactajs.php. | ||
12 | - Para depurar o código sem ter de compactá-los, substitua na linha abaixo | ||
13 | - o arquivo i3geo.js por i3geonaocompacto.js | ||
14 | - No modo não compactado o código está adaptado para uso com o Firebug do Firefox. | ||
15 | ---> | ||
16 | -<script type="text/javascript" src="../classesjs/i3geonaocompacto.js"></script> | ||
17 | -<style> | ||
18 | -.yui-log .i3geo {background-color:yellow;} /* customize a color */ | ||
19 | -.yui-log .redesenho {background-color:yellow;} /* customize a color */ | ||
20 | -.yui-log .janela {background-color:yellow;} /* customize a color */ | ||
21 | -.yui-log-bd {text-align:left;} | ||
22 | -.yui-log-entry yui-log-verbose, p{text-align:left;} | ||
23 | - .info {text-align:left;} | ||
24 | -</style> | ||
25 | -</head> | ||
26 | -<body id="i3geo"> | ||
27 | - | ||
28 | -<table id='mst' summary="" style='display:none;' width=100% cellspacing='0' > | ||
29 | - | ||
30 | -<!-- | ||
31 | - Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR | ||
32 | ---> | ||
33 | -<tr style="border:0px"> | ||
34 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | ||
35 | -</tr> | ||
36 | -<tr> | ||
37 | -<td> | ||
38 | - <table width=100% cellspacing=0 cellpadding=0 > | ||
39 | - <tr> | ||
40 | - <td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td> | ||
41 | - <td> | ||
42 | - <!-- | ||
43 | - Guias principais, não mude o ID, apenas o nome se for desejado | ||
44 | - --> | ||
45 | - | ||
46 | - <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
47 | - <div id=guia1 class=guia >Temas</div> | ||
48 | - <div id=guia2 class=guia >Adiciona</div> | ||
49 | - <div id=guia4 class=guia >Legenda</div> | ||
50 | - <div id=guia5 class=guia >Links</div> | ||
51 | - </div> | ||
52 | - </td> | ||
53 | - | ||
54 | - </tr> | ||
55 | - </table> | ||
56 | -</td> | ||
57 | -<td id="contemMenu" style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
58 | - <!-- | ||
59 | - menu suspenso | ||
60 | - --> | ||
61 | - <div id="menus" ></div> | ||
62 | -</td> | ||
63 | -</tr> | ||
64 | -<tr> | ||
65 | - <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
66 | - <!-- | ||
67 | - Esta div acrescenta a lista de propriedades do mapa, caso vc queira colocá-la em um lugar específico | ||
68 | - --> | ||
69 | - | ||
70 | - <!--<div id=listaPropriedades ></div>--> | ||
71 | - <!-- | ||
72 | - Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico | ||
73 | - --> | ||
74 | - <!-- <div id=buscaRapida ></div> --> | ||
75 | - <!-- | ||
76 | - As divs guiaNobj guardam o conteúdo que é mostrado quando a guia é clicada | ||
77 | - Para cada botão na guia deve haver um div com o conteúdo, pe. | ||
78 | - o div com id=guia1 deve ter um div com id=guia1obj | ||
79 | - --> | ||
80 | - <div id='guia1obj' > | ||
81 | - <div style='left:5px;top:10px;' id=buscaRapida ></div> | ||
82 | - <div id=listaPropriedades style='top:15px;' ></div> | ||
83 | - <div id=listaTemas style='top:15px;'></div> | ||
84 | - <!-- se vc quiser colocar a arvore de adição de temas em um lugar específico, use o div abaixo, caso contrário, a árvore será colocada na guia definida em objmapa.guiaMenu | ||
85 | - <div id=arvoreAdicionaTema style='top:25px;' ></div> | ||
86 | - <div id=outrasOpcoesAdiciona style='top:25px;' ></div> | ||
87 | - --> | ||
88 | - </div> | ||
89 | - | ||
90 | - <div id='guia2obj' style='display:none;'>Aguarde...<img alt="aguarde" src="../imagens/branco.gif" width=248 /></div> | ||
91 | - <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
92 | - <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
93 | - </td> | ||
94 | - <td style="vertical-align:top;border-width:0px;"> | ||
95 | - <table width="100%" style="vertical-align:top;border-width:0px"> | ||
96 | - <!-- | ||
97 | - Corpo do mapa. Pode ser reposicionado, mas não mude os IDs. Se vc quiser que o mapa tenha um tamanho específico, inclua o estilo, exemplo, style=width:300px;height:300px | ||
98 | - Vc pode usar o estilo para definir o tamanho do mapa. Se não tiver estilo definido, o tamanho será automático | ||
99 | - --> | ||
100 | - <tr><td class=verdeclaro id=contemImg > | ||
101 | - | ||
102 | - <div id=corpoMapa style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
103 | - </td></tr> | ||
104 | - </table> | ||
105 | - </td> | ||
106 | - </tr> | ||
107 | -<!-- | ||
108 | -Mostra as coordenadas conforme o mouse é movimentado | ||
109 | ---> | ||
110 | -<!-- <div class=pcenter10 id='longlat'>Longitude e latitude</div> --> | ||
111 | -<!-- | ||
112 | -Escala gráfica. Pode ser excluída. | ||
113 | ---> | ||
114 | -<!-- <div id="escalaGrafica" style="text-align:left"></div> --> | ||
115 | -<!-- | ||
116 | -vc pode optar por colocar mensagens de ajuda em algum lugar | ||
117 | ---> | ||
118 | -<!-- | ||
119 | -<tr><td colspan=2 ><div id=i3geo_ajuda class=verdeescuro style="text-align:left;" >I3Geo</div></td></tr> | ||
120 | ---> | ||
121 | -<tr> | ||
122 | - | ||
123 | - <td class=tdbranca > | ||
124 | - <!-- | ||
125 | - Nesse div são incluídos os ícones que permitem ao usuário modificar o visual de cores dos ícones | ||
126 | - <div id=visual ></div> | ||
127 | - --> | ||
128 | - <!-- aqui serão incluídas as bandeiras que permitem a troca de idioma --> | ||
129 | - <div id="seletorIdiomas" ></div> | ||
130 | - <!-- aqui será incluído o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> | ||
131 | - <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
132 | - </td> | ||
133 | - <td class=tdbranca > | ||
134 | - <table width=100% ><tr> | ||
135 | - <td class=tdbranca ><div id=lugarquadros ></div></td> | ||
136 | - <td class=tdbranca style=text-align:center > | ||
137 | - <!-- aqui será incluído o gadget que mostra a coordenada geográfica da posição do mouse --> | ||
138 | - <div id=localizarxy style="text-align:left;font-size:10px;">Aguarde...</div> | ||
139 | - </td> | ||
140 | - <td class=tdbranca > | ||
141 | - <!-- aqui será incluída a escala numérica --> | ||
142 | - <div id=escala ></div> | ||
143 | - </td> | ||
144 | - <!-- | ||
145 | - A opção de localização 'onde estou?' baseia-se na identificação do IP do usuário. Para | ||
146 | - que esta opção funcione corretamente, deve estar instalado no I3Geo o pacote geoIP. Veja no | ||
147 | - SVN do portal do software público o diretório arquivos_versões/pacotes para maiores informações | ||
148 | - --> | ||
149 | - <td class=tdbranca ><div id=ondeestou ></div></td> | ||
150 | - </tr> | ||
151 | - <!-- esta div recebe o cálculo do posicionamento do mouse em coordenadas UTM | ||
152 | - As coordenadas UTM apenas serão mostradas nessa div se o parâmetro | ||
153 | - i3GEO.gadgets.mostraCoordenadasUTM.idhtml for diferente de i3GEO.gadgets.mostraCoordenadasGEO.idhtml | ||
154 | - se os IDs forem iguais, o tipo de coordenada mostrada será intercalada, ora UTM ora GEO. | ||
155 | - <tr><td></td><td class="tdbranca"><div style="text-align:left;font-size:8px;background-color:white;display:none;" id=mostraUTM ></div></td><td></td></tr> | ||
156 | - --> | ||
157 | - </table> | ||
158 | - </td> | ||
159 | -</tr> | ||
160 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
161 | -<!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> | ||
162 | -<tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> | ||
163 | -<tr style="border:0px"><td colspan=3 style=background-color:black;color:white >geoprocessamento@mma.gov.br</td></tr> | ||
164 | -</table> | ||
165 | - | ||
166 | -<center> | ||
167 | -<br><br> | ||
168 | -<table> | ||
169 | -<tr> | ||
170 | - <td><center><h1><div id=versaoi3geo ></div><h2>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> | ||
171 | -</tr> | ||
172 | -<tr> | ||
173 | - <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> | ||
174 | -</tr> | ||
175 | -<tr> | ||
176 | - <td><center> | ||
177 | - <script type="text/javascript" src="http://www.ohloh.net/p/150688/widgets/project_users.js?style=red"></script> | ||
178 | - </td> | ||
179 | -</tr> | ||
180 | -</table> | ||
181 | -<!-- Variáveis globais e inicialização do mapa--> | ||
182 | -<script type="text/javascript"> | ||
183 | -/* | ||
184 | -Title: Interface normal com debug | ||
185 | - | ||
186 | -Abre o i3geo com todas as suas funcionalidades porém inclui o js i3geonaocompacto.js que permite verificar erros por meio do FIREBUG. | ||
187 | - | ||
188 | -File: i3geo/aplicmap/geral.htm | ||
189 | - | ||
190 | -Exemplo: | ||
191 | - | ||
192 | -http://<host>/i3geo/ms_criamapa.php | ||
193 | - | ||
194 | -*/ | ||
195 | -/* | ||
196 | - Indica a localização correta do i3geo. | ||
197 | - | ||
198 | - É utilizada para identificar o local correto onde estão os programas em php que são utilizados. | ||
199 | -*/ | ||
200 | -i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
201 | - | ||
202 | - | ||
203 | -//i3GEO.arvoreDeTemas.INCLUISISTEMAS = false; | ||
204 | -//i3GEO.idioma.MOSTRASELETOR = false; | ||
205 | -//function tempi(){alert("oi")} | ||
206 | -//i3GEO.configura.funcaoIdentifica = "tempi()" | ||
207 | -i3GEO.cria() | ||
208 | -//Log | ||
209 | -/* | ||
210 | -var myContainer = document.body.appendChild(document.createElement("div")); | ||
211 | -myContainer.style.textAlign="left"; | ||
212 | -i3geoLog = new YAHOO.widget.LogReader(myContainer); | ||
213 | -i3geoLog.show(); | ||
214 | -*/ | ||
215 | - | ||
216 | -/* | ||
217 | - Inicializa o mapa | ||
218 | -*/ | ||
219 | -//i3GEO.guias.ATUAL = "legenda" | ||
220 | -//i3GEO.idioma.alteraDicionario("t18a","teste"); | ||
221 | - | ||
222 | -/* | ||
223 | -i3GEO.configura.grupoLayers = [ | ||
224 | - {nome:"Grupo 1",layers:["zee","estadosl"]}, | ||
225 | - {nome:"Grupo 2",layers:["mundo"]} | ||
226 | -] | ||
227 | -*/ | ||
228 | - | ||
229 | -i3GEO.barraDeBotoes.AUTOALTURA = false | ||
230 | -i3GEO.barraDeBotoes.ATIVAMENUCONTEXTO = true | ||
231 | -i3GEO.barraDeBotoes.PERMITEFECHAR = true | ||
232 | -i3GEO.barraDeBotoes.PERMITEDESLOCAR = true | ||
233 | -i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja" | ||
234 | -i3GEO.barraDeBotoes.AUTO = true //as barras de botões serão construídas automaticamente | ||
235 | -//i3GEO.configura.embedLegenda = "sim" | ||
236 | - | ||
237 | -i3GEO.idioma.IDSELETOR = "seletorIdiomas" | ||
238 | -i3GEO.interface.ATIVAMENUCONTEXTO = true; | ||
239 | - | ||
240 | -i3GEO.inicia(); | ||
241 | -// | ||
242 | -//inclui um tema via javascript | ||
243 | -/* | ||
244 | -var temp = function(){alert("oi");i3GEO.atualiza();} | ||
245 | -i3GEO.php.ligatemas(temp,"","biomashp","sim"); | ||
246 | -*/ | ||
247 | - | ||
248 | -//esconde a opção de inclusão da escala quando a resolução da tela for muito pequena | ||
249 | -if($i("escala") && i3GEO.parametros.w < 500) | ||
250 | -{$i("escala").style.display="none";} | ||
251 | -</script> | ||
252 | -</body> | ||
253 | - | ||
254 | -</html> | ||
255 | \ No newline at end of file | 0 | \ No newline at end of file |
aplicmap/googleearth.phtml
@@ -1,164 +0,0 @@ | @@ -1,164 +0,0 @@ | ||
1 | -<?php | ||
2 | -include_once("../ms_configura.php"); | ||
3 | -?> | ||
4 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
5 | -<html> | ||
6 | -<head> | ||
7 | -<meta http-equiv="Category" content="I3Geo Mapa interativo MMA"> | ||
8 | -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
9 | - <style type="text/css"> | ||
10 | - .olControlEditingToolbar { | ||
11 | - float:left; | ||
12 | - right: 0px; | ||
13 | - height:30px; | ||
14 | - width: 150px; | ||
15 | - } | ||
16 | -</style> | ||
17 | -<title>i3GEO - Google Earth</title> | ||
18 | -<script type="text/javascript" src="http://www.google.com/jsapi?key=<?php echo $googleApiKey; ?>"></script> | ||
19 | -<script type="text/javascript" src="../classesjs/i3geo.js"></script> | ||
20 | -</head> | ||
21 | -<body id="i3geo" > | ||
22 | -<center> | ||
23 | -<table id='mst' summary="" style='display:none' width=100% cellspacing='0'> | ||
24 | -<tr style="border:0px"> | ||
25 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | ||
26 | -</tr> | ||
27 | -<tr> | ||
28 | -<td> | ||
29 | - <table width=100% cellspacing=0 cellpadding=0 > | ||
30 | - <tr> | ||
31 | - <td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td> | ||
32 | - <td> | ||
33 | - <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
34 | - <div id=guia1 class=guia ></div> | ||
35 | - <div id=guia2 class=guia ></div> | ||
36 | - <div id=guia4 class=guia ></div> | ||
37 | - <div id=guia5 class=guia ></div> | ||
38 | - </div> | ||
39 | - </td> | ||
40 | - </tr> | ||
41 | - </table> | ||
42 | -</td> | ||
43 | -<td id="contemMenu" style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
44 | - <div id="menus" ></div> | ||
45 | -</td> | ||
46 | -</tr> | ||
47 | -<tr> | ||
48 | - <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
49 | - <div id='guia1obj' > | ||
50 | - <div style='left:5px;top:10px;' id=buscaRapida ></div> | ||
51 | - <div id=listaPropriedades style='top:15px;' ></div> | ||
52 | - <div id=listaTemas style='top:15px;'></div> | ||
53 | - </div> | ||
54 | - <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
55 | - <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
56 | - <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
57 | - </td> | ||
58 | - <td style="vertical-align:top;border-width:0px;"> | ||
59 | - <table width="100%" style="vertical-align:top;border-width:0px"> | ||
60 | - <tr><td class=verdeclaro id=contemImg > | ||
61 | - <div id=googleearth style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
62 | - </td></tr> | ||
63 | - </table> | ||
64 | - </td> | ||
65 | - </tr> | ||
66 | -<tr> | ||
67 | - <td class=tdbranca > | ||
68 | - <div id="seletorIdiomas" ></div> | ||
69 | - <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
70 | - </td> | ||
71 | - <td class=tdbranca > | ||
72 | - <table width=100% ><tr> | ||
73 | - <td class=tdbranca > | ||
74 | - </td> | ||
75 | - <td class=tdbranca style=text-align:center > | ||
76 | - <div id=escala ></div> | ||
77 | - </td> | ||
78 | - <td class=tdbranca > | ||
79 | - <div id=inserirKml ></div> | ||
80 | - </td> | ||
81 | - <td class=tdbranca > | ||
82 | - <div id=localizarxy ></div> | ||
83 | - </td> | ||
84 | - </tr> | ||
85 | - <tr><td></td><td class="tdbranca"><div style="text-align:left;font-size:10px;background-color:white;display:none;" id=mostraUTM ></div></td><td></td></tr> | ||
86 | - </table> | ||
87 | - </td> | ||
88 | -</tr> | ||
89 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
90 | -<tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> | ||
91 | -<tr style="border:0px"><td colspan=3 style=background-color:black;color:white >geoprocessamento@mma.gov.br</td></tr> | ||
92 | -</table> | ||
93 | -</center> | ||
94 | -<center> | ||
95 | -<br><br> | ||
96 | -<table> | ||
97 | -<tr> | ||
98 | - <td><center><h1><div id=versaoi3geo ></div><h2>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> | ||
99 | -</tr> | ||
100 | -<tr> | ||
101 | - <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> | ||
102 | -</tr> | ||
103 | -<tr> | ||
104 | - <td><center> | ||
105 | - <script type="text/javascript" src="http://www.ohloh.net/p/150688/widgets/project_users.js?style=red"></script> | ||
106 | - </td> | ||
107 | -</tr> | ||
108 | -</table> | ||
109 | -<script type="text/javascript"> | ||
110 | -/* | ||
111 | -Title: Google Earth (experimental) | ||
112 | - | ||
113 | -Abre o i3geo com a navegação controlada pelo Google Earth em 3d. | ||
114 | - | ||
115 | -File: i3geo/aplicmap/googleearth.htm | ||
116 | - | ||
117 | -Exemplo: | ||
118 | - | ||
119 | -http://localhost/i3geo/ms_criamapa.php?interface=googleearth.phtml | ||
120 | - | ||
121 | -*/ | ||
122 | -i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
123 | -g_mapaRefDisplay = "none" | ||
124 | -g_janelaMen = "nao"; | ||
125 | -g_mostraRosa = "nao" | ||
126 | -g_opcoesTemas = "sim"; | ||
127 | -i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja" | ||
128 | -i3GEO.Interface.ATUAL = "googleearth"; | ||
129 | -i3GEO.Interface.IDCORPO = "contemImg"; | ||
130 | -i3GEO.barraDeBotoes.INCLUIBOTAO = { | ||
131 | - identifica: true, | ||
132 | - identificaBalao: true, | ||
133 | - mede: true, | ||
134 | - area: false, | ||
135 | - imprimir: true, | ||
136 | - reinicia: false, | ||
137 | - exten: true, | ||
138 | - referencia: false, | ||
139 | - inserexy: true, | ||
140 | - textofid: true, | ||
141 | - selecao: true, | ||
142 | - google: false, | ||
143 | - buscafotos: true, | ||
144 | - wiki: true, | ||
145 | - metar: true, | ||
146 | - lentei: false, | ||
147 | - confluence: true, | ||
148 | - inseregrafico: true, | ||
149 | - v3d: true | ||
150 | -}; | ||
151 | -i3GEO.barraDeBotoes.BOTAOPADRAO = ""; | ||
152 | -i3GEO.barraDeBotoes.AUTO = true | ||
153 | -i3GEO.arvoreDeTemas.TIPOBOTAO = "radio"; | ||
154 | -i3GEO.arvoreDeTemas.ATIVATEMAIMEDIATO = true; | ||
155 | -i3GEO.barraDeBotoes.AJUDA = true; | ||
156 | -i3GEO.mapa.legendaHTML.incluiBotaoLibera = false; | ||
157 | - | ||
158 | -i3GEO.cria(); | ||
159 | -i3GEO.inicia(); | ||
160 | - | ||
161 | -</script> | ||
162 | - | ||
163 | -</body> | ||
164 | -</html> | ||
165 | \ No newline at end of file | 0 | \ No newline at end of file |
aplicmap/googlemaps.phtml
@@ -1,148 +0,0 @@ | @@ -1,148 +0,0 @@ | ||
1 | -<?php | ||
2 | -include_once("../ms_configura.php"); | ||
3 | -?> | ||
4 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
5 | -<html> | ||
6 | -<head> | ||
7 | -<meta http-equiv="Category" content="I3Geo Mapa interativo MMA"> | ||
8 | -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
9 | - <style type="text/css"> | ||
10 | - .olControlEditingToolbar { | ||
11 | - float:left; | ||
12 | - right: 0px; | ||
13 | - height:30px; | ||
14 | - width: 150px; | ||
15 | - } | ||
16 | -</style> | ||
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/i3geo.js"></script> | ||
20 | -</head> | ||
21 | -<body id="i3geo" > | ||
22 | -<center> | ||
23 | -<table id='mst' summary="" style='display:none' width=100% cellspacing='0'> | ||
24 | -<tr style="border:0px"> | ||
25 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | ||
26 | -</tr> | ||
27 | -<tr> | ||
28 | -<td> | ||
29 | - <table width=100% cellspacing=0 cellpadding=0 > | ||
30 | - <tr> | ||
31 | - <td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td> | ||
32 | - <td> | ||
33 | - <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
34 | - <div id=guia1 class=guia ></div> | ||
35 | - <div id=guia2 class=guia ></div> | ||
36 | - <div id=guia4 class=guia ></div> | ||
37 | - <div id=guia5 class=guia ></div> | ||
38 | - </div> | ||
39 | - </td> | ||
40 | - </tr> | ||
41 | - </table> | ||
42 | -</td> | ||
43 | -<td id="contemMenu" style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
44 | - <div id="menus" ></div> | ||
45 | -</td> | ||
46 | -</tr> | ||
47 | -<tr> | ||
48 | - <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
49 | - <div id='guia1obj' > | ||
50 | - <div style='left:5px;top:10px;' id=buscaRapida ></div> | ||
51 | - <div id=listaPropriedades style='top:15px;' ></div> | ||
52 | - <div id=listaTemas style='top:15px;'></div> | ||
53 | - </div> | ||
54 | - <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
55 | - <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
56 | - <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
57 | - </td> | ||
58 | - <td style="vertical-align:top;border-width:0px;"> | ||
59 | - <table width="100%" style="vertical-align:top;border-width:0px"> | ||
60 | - <tr><td class=verdeclaro id=contemImg > | ||
61 | - <div id=googlemapsdiv style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
62 | - </td></tr> | ||
63 | - </table> | ||
64 | - </td> | ||
65 | - </tr> | ||
66 | -<tr> | ||
67 | - <td class=tdbranca > | ||
68 | - <div id="seletorIdiomas" ></div> | ||
69 | - <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
70 | - </td> | ||
71 | - <td class=tdbranca > | ||
72 | - <table width=100% ><tr> | ||
73 | - <td class=tdbranca > | ||
74 | - </td> | ||
75 | - <td class=tdbranca style=text-align:center > | ||
76 | - <div id=escala ></div> | ||
77 | - </td> | ||
78 | - <td class=tdbranca > | ||
79 | - <div id=inserirKml ></div> | ||
80 | - </td> | ||
81 | - <td class=tdbranca > | ||
82 | - <div id=localizarxy ></div> | ||
83 | - </td> | ||
84 | - </tr> | ||
85 | - <tr><td></td><td class="tdbranca"><div style="text-align:left;font-size:10px;background-color:white;display:none;" id=mostraUTM ></div></td><td></td></tr> | ||
86 | - </table> | ||
87 | - </td> | ||
88 | -</tr> | ||
89 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
90 | -<tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> | ||
91 | -<tr style="border:0px"><td colspan=3 style=background-color:black;color:white >geoprocessamento@mma.gov.br</td></tr> | ||
92 | -</table> | ||
93 | -</center> | ||
94 | -<center> | ||
95 | -<br><br> | ||
96 | -<table> | ||
97 | -<tr> | ||
98 | - <td><center><h1><div id=versaoi3geo ></div><h2>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> | ||
99 | -</tr> | ||
100 | -<tr> | ||
101 | - <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> | ||
102 | -</tr> | ||
103 | -<tr> | ||
104 | - <td><center> | ||
105 | - <script type="text/javascript" src="http://www.ohloh.net/p/150688/widgets/project_users.js?style=red"></script> | ||
106 | - </td> | ||
107 | -</tr> | ||
108 | -</table> | ||
109 | -<script type="text/javascript"> | ||
110 | -/* | ||
111 | -Title: Google Maps | ||
112 | - | ||
113 | -Abre o i3geo com a navegação controlada pelo Google Maps. | ||
114 | - | ||
115 | -Arquivo: i3geo/aplicmap/googlemaps.phtml | ||
116 | - | ||
117 | -Exemplo: | ||
118 | - | ||
119 | -http://localhost/i3geo/aplicmap/googlemaps.phtml | ||
120 | - | ||
121 | -*/ | ||
122 | -i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
123 | - | ||
124 | -i3GEO.Interface.ATUAL = "googlemaps"; | ||
125 | -i3GEO.Interface.IDCORPO = "contemImg"; | ||
126 | -i3GEO.configura.diminuixN = 20; | ||
127 | - | ||
128 | -i3GEO.cria(); | ||
129 | - | ||
130 | -i3GEO.barraDeBotoes.AUTOALTURA = false; | ||
131 | -i3GEO.barraDeBotoes.ATIVAMENUCONTEXTO = false; | ||
132 | -i3GEO.barraDeBotoes.PERMITEFECHAR = true; | ||
133 | -i3GEO.barraDeBotoes.PERMITEDESLOCAR = true; | ||
134 | -i3GEO.barraDeBotoes.AUTO = true; | ||
135 | -i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja"; | ||
136 | - | ||
137 | -i3GEO.Interface.BARRABOTOESLEFT = 80; | ||
138 | -i3GEO.Interface.BARRABOTOESTOP = 20; | ||
139 | - | ||
140 | -i3GEO.idioma.IDSELETOR = "seletorIdiomas"; | ||
141 | -i3GEO.Interface.ATIVAMENUCONTEXTO = true; | ||
142 | -i3GEO.arvoreDeTemas.TIPOBOTAO = "radio"; | ||
143 | -i3GEO.arvoreDeTemas.ATIVATEMAIMEDIATO = true; | ||
144 | - | ||
145 | -i3GEO.inicia(); | ||
146 | -</script> | ||
147 | -</body> | ||
148 | -</html> | ||
149 | \ No newline at end of file | 0 | \ No newline at end of file |
aplicmap/index.htm
1 | +<html> | ||
2 | +<head> | ||
3 | +</head> | ||
4 | +<body> | ||
5 | +</body> | ||
1 | <script> | 6 | <script> |
2 | -/* | ||
3 | -Title: Redirecionador para o ms_criamapa.php com extensão HTM | ||
4 | - | ||
5 | -Redireciona o navegador para o ms_criamapa.php | ||
6 | - | ||
7 | -File: i3geo/index.htm | ||
8 | -*/ | ||
9 | - | ||
10 | -window.location="ms_criamapa.php" | ||
11 | -</script> | ||
12 | \ No newline at end of file | 7 | \ No newline at end of file |
8 | +window.location="../ms_criamapa.php" | ||
9 | +</script> | ||
10 | +</html> | ||
13 | \ No newline at end of file | 11 | \ No newline at end of file |
aplicmap/index.html
1 | <html> | 1 | <html> |
2 | <head> | 2 | <head> |
3 | -<meta http-equiv="Category" content="Geoprocessamento Mapas Mapserver"> | ||
4 | -<meta name= "description" content= "Interface integrada de ferramentas de geoprocessamento para internet - I3Geo"> | ||
5 | -<meta name="keywords" content="dados geograficos, mapa interativo, i3geo, geoprocessamento, mapa, gis, sig, geografia, cartografia, meio ambiente"> | ||
6 | - | ||
7 | -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
8 | </head> | 3 | </head> |
9 | <body> | 4 | <body> |
10 | -<pre> | ||
11 | -Mapa interativo i3Geo | ||
12 | -Elaborado com Mapserver e PHP-Mapscript | ||
13 | -O i3Geo é software livre! | ||
14 | -Áreas: meio-ambiente, geoprocessamento, SIG | ||
15 | </body> | 5 | </body> |
16 | <script> | 6 | <script> |
17 | -/* | ||
18 | -Title: Redirecionador para o ms_criamapa.php com extensão HTML | ||
19 | - | ||
20 | -Redireciona o navegador para o ms_criamapa.php | ||
21 | - | ||
22 | -File: i3geo/index.html | ||
23 | -*/ | ||
24 | window.location="../ms_criamapa.php" | 7 | window.location="../ms_criamapa.php" |
25 | </script> | 8 | </script> |
26 | </html> | 9 | </html> |
27 | \ No newline at end of file | 10 | \ No newline at end of file |
aplicmap/minima.htm
@@ -1,116 +0,0 @@ | @@ -1,116 +0,0 @@ | ||
1 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | -<html> | ||
3 | -<head> | ||
4 | -<meta http-equiv="Category" content="I3Geo Mapa interativo MMA geoprocessamento sig mobile"> | ||
5 | -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
6 | -<title>i3Geo - Mapa interativo</title> | ||
7 | - | ||
8 | -<!-- Leitura dos programas javaScript e estilos individualmente. Pode-se ler os | ||
9 | -arquivos não compactados, bastando substituir por i3geonaocompacto --> | ||
10 | -<script type="text/javascript" src="../classesjs/i3geo.js"></script> | ||
11 | - | ||
12 | -<!-- | ||
13 | -<style> | ||
14 | -#box1 | ||
15 | -{font-size:0px;cursor:crosshair;opacity:.25;background-color: gray;position: absolute;visibility: hidden;width: 0px;height: 0px;border: 2px solid green;} | ||
16 | -</style> | ||
17 | ---> | ||
18 | - | ||
19 | -</head> | ||
20 | -<body id=i3geo > | ||
21 | -<center> | ||
22 | -<table id='mst' style=display:none width=100% cellspacing='0'> | ||
23 | -<!-- Inclui a barra superior. Se vc não quiser o menu, é só comentar --> | ||
24 | -<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | ||
25 | -<tr> | ||
26 | -<td> | ||
27 | -</td> | ||
28 | -<td style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
29 | -</td> | ||
30 | -</tr> | ||
31 | -<tr> | ||
32 | - <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
33 | - <!-- Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico | ||
34 | - <div id=buscaRapida ></div> | ||
35 | - --> | ||
36 | - <div id='guia1obj' ><div style='left:5px;top:10px;' id=buscaRapida ></div><div id=listaTemas style='top:15px;'></div></div> | ||
37 | - <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
38 | - <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
39 | - <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
40 | - </td> | ||
41 | - <td style="vertical-align:top;border-width:0px;"> | ||
42 | - <table width="100%" style="vertical-align:top;border-width:0px"> | ||
43 | - <!-- Corpo do mapa. Pode ser reposicionado, mas não mude os IDs. Se vc quiser que o mapa tenha um tamanho específico, inclua o estilo, exemplo, style=width:300px;height:300px --> | ||
44 | - <tr><td class=verdeclaro id=contemImg > | ||
45 | - <div id=corpoMapa style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
46 | - </td></tr> | ||
47 | - </table> | ||
48 | - | ||
49 | - </td> | ||
50 | - </tr> | ||
51 | -<!-- Mostra as coordenadas conforme o mouse é movimentado | ||
52 | - <div class=pcenter10 id='longlat'>Longitude e latitude</div> | ||
53 | ---> | ||
54 | -<!-- Escala gráfica. Pode ser excluída. | ||
55 | - <div id="escalaGrafica" style="text-align:left"></div> | ||
56 | ---> | ||
57 | -<!--- vc pode optar por colocar mensagens de ajuda em algum lugar | ||
58 | -<tr><td colspan=2 ><div id=ajuda class=verdeescuro style="text-align:left;" >I3Geo</div></td></tr> | ||
59 | ---> | ||
60 | -<tr> | ||
61 | - <td class=tdbranca > | ||
62 | - <div id=visual ></div> | ||
63 | - <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
64 | - </td> | ||
65 | - <td class=tdbranca > | ||
66 | - <table width=100% ><tr> | ||
67 | - <td class=tdbranca ><div id=lugarquadros ></div></td> | ||
68 | - <td class=tdbranca ><div id=localizarxy >Aguarde...</div></td> | ||
69 | - <td class=tdbranca ><div id=escala ></div></td> | ||
70 | - <!-- A opção de localização 'onde estou?' baseia-se na identificação do IP do usuário. Para | ||
71 | - que esta opção funcione corretamente, deve estar instalado no I3Geo o pacote geoIP. Veja no | ||
72 | - SVN do portal do software público o diretório arquivos_versões/pacotes para maiores informações --> | ||
73 | - <td class=tdbranca ><div id=ondeestou ></div></td> | ||
74 | - </tr></table> | ||
75 | - </td> | ||
76 | -</tr> | ||
77 | -<tr style="border:0px"><td colspan=3 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
78 | -</table> | ||
79 | -<a style=text-align:center;color:white href="mailto:edmar.moretti@mma.gov.br">Críticas e sugestões</a> | ||
80 | -</center> | ||
81 | -<!-- barra de botoes que serão incluídos na janela móvel de navegação --> | ||
82 | -<div id=barraDeBotoes1 style='display:none'> | ||
83 | - <table title="zoom" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="zoom" alt="" src="../imagens/branco.gif" id='zoomli'/></td></tr></table> | ||
84 | - <table title="desloca" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="desloca" alt="" src="../imagens/branco.gif" ID='pan'/></td></tr></table> | ||
85 | - <table title="info" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="info" alt="" src="../imagens/branco.gif" id='identifica'/></td></tr></table> | ||
86 | - <table title="geral" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="geral" alt="" src="../imagens/branco.gif" ID='zoomtot'/></td></tr></table> | ||
87 | - <table title="extensao" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="extensao" alt="" src="../imagens/branco.gif" id="exten"/></td></tr></table> | ||
88 | - <table title="mede" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="mede" alt="" src="../imagens/branco.gif" id='mede'/></td></tr></table> | ||
89 | - <table title="area" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="area" alt="" src="../imagens/branco.gif" id='area'/></td></tr></table> | ||
90 | - <table title="imprimir" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="imprimir" alt="" src="../imagens/branco.gif" id='imprimir'/></td></tr></table> | ||
91 | -</div> | ||
92 | -<!-- Variáveis globais e inicialização do mapa--> | ||
93 | -<script type="text/javascript"> | ||
94 | -/* | ||
95 | -Title: Interface minima | ||
96 | - | ||
97 | -Interface alternativa para o i3Geo | ||
98 | - | ||
99 | -Exemplo: | ||
100 | - | ||
101 | -http://localhost/i3geo/ms_criamapa.php?interface=minima.htm | ||
102 | - | ||
103 | -*/ | ||
104 | -g_locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
105 | -g_barraFerramentas2 = "nao" | ||
106 | -g_mapaRefDisplay = "none" | ||
107 | -; | ||
108 | -g_embedLegenda = "sim"; | ||
109 | -objmapa = new Mapa(); | ||
110 | - | ||
111 | -g_visual = "default"; | ||
112 | -g_autoRedesenho = 0; | ||
113 | -objmapa.inicializa(); | ||
114 | -</script> | ||
115 | -</body> | ||
116 | -</html> | ||
117 | \ No newline at end of file | 0 | \ No newline at end of file |
aplicmap/ogc_wmc_output.cml
@@ -1,28 +0,0 @@ | @@ -1,28 +0,0 @@ | ||
1 | -<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?> | ||
2 | -<ViewContext version="1.1.0" id="i3geoogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.opengis.net/context" xmlns:sld="http://www.opengis.net/sld" xsi:schemaLocation="http://www.opengis.net/context http://schemas.opengis.net/context/1.1.0/context.xsd"> | ||
3 | - <General> | ||
4 | - <Window width="450" height="450"/> | ||
5 | - <!-- Bounding box corners and spatial reference system --> | ||
6 | - <BoundingBox SRS="EPSG:4291" minx="-76.512593" miny="-36.948432" maxx="-29.585185" maxy="7.046013"/> | ||
7 | - <!-- Title of Context --> | ||
8 | - <Title>I3Geo Brasil MMA</Title> | ||
9 | - <ContactInformation> | ||
10 | - <ContactPersonPrimary> | ||
11 | - <ContactPerson></ContactPerson> | ||
12 | - <ContactOrganization></ContactOrganization> | ||
13 | - </ContactPersonPrimary> | ||
14 | - <ContactPosition></ContactPosition> | ||
15 | - <ContactAddress> | ||
16 | - <AddressType></AddressType> | ||
17 | - <Address></Address> | ||
18 | - <City></City> | ||
19 | - <StateOrProvince></StateOrProvince> | ||
20 | - <PostCode></PostCode> | ||
21 | - <Country></Country> | ||
22 | - </ContactAddress> | ||
23 | - <ContactElectronicMailAddress></ContactElectronicMailAddress> | ||
24 | - </ContactInformation> | ||
25 | - </General> | ||
26 | - <LayerList> | ||
27 | - </LayerList> | ||
28 | -</ViewContext> |
aplicmap/openlayers.htm
@@ -1,242 +0,0 @@ | @@ -1,242 +0,0 @@ | ||
1 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | -<html> | ||
3 | -<head> | ||
4 | -<meta http-equiv="Category" content="I3Geo Mapa interativo MMA geoprocessamento sig mobile"> | ||
5 | -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
6 | -<title>i3GEO - OpenLayers</title> | ||
7 | -<script type="text/javascript" src="../classesjs/i3geo.js"></script> | ||
8 | -<script type="text/javascript" src="../pacotes/openlayers/OpenLayers29.js.php"></script> | ||
9 | -</head> | ||
10 | -<body id="i3geo"> | ||
11 | - | ||
12 | -<table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> | ||
13 | - | ||
14 | -<!-- | ||
15 | - Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR | ||
16 | ---> | ||
17 | -<tr style="border:0px"> | ||
18 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | ||
19 | -</tr> | ||
20 | -<tr> | ||
21 | -<td> | ||
22 | - <table width=100% cellspacing=0 cellpadding=0 > | ||
23 | - <tr> | ||
24 | - <td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td> | ||
25 | - <td> | ||
26 | - <!-- | ||
27 | - Guias principais, não mude o ID, apenas o nome se for desejado | ||
28 | - --> | ||
29 | - | ||
30 | - <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
31 | - <div id=guia1 class=guia ></div> | ||
32 | - <div id=guia2 class=guia ></div> | ||
33 | - <div id=guia4 class=guia ></div> | ||
34 | - <div id=guia5 class=guia ></div> | ||
35 | - </div> | ||
36 | - </td> | ||
37 | - | ||
38 | - </tr> | ||
39 | - </table> | ||
40 | -</td> | ||
41 | -<td id="contemMenu" style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
42 | - <!-- | ||
43 | - menu suspenso | ||
44 | - --> | ||
45 | - <div id="menus" ></div> | ||
46 | -</td> | ||
47 | -</tr> | ||
48 | -<tr> | ||
49 | - <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
50 | - <!-- | ||
51 | - As divs guiaNobj guardam o conteúdo que é mostrado quando a guia é clicada | ||
52 | - Para cada botão na guia deve haver um div com o conteúdo, pe. | ||
53 | - o div com id=guia1 deve ter um div com id=guia1obj | ||
54 | - --> | ||
55 | - <div id='guia1obj' > | ||
56 | - <!-- Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico --> | ||
57 | - <div style='left:5px;top:10px;' id=buscaRapida ></div> | ||
58 | - <!-- Esta div acrescenta a lista de propriedades do mapa --> | ||
59 | - <div id=listaPropriedades style='top:15px;' ></div> | ||
60 | - <!-- 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 --> | ||
61 | - <div id=listaLayersBase style='top:15px;'></div> | ||
62 | - <!-- Esta div acrescenta a lista de de camadas disponíveis no mapa atual --> | ||
63 | - <div id=listaTemas style='top:15px;'></div> | ||
64 | - </div> | ||
65 | - | ||
66 | - <!-- se vc quiser colocar a arvore de adição de temas em um lugar específico, | ||
67 | - use o div abaixo, caso contrário, a árvore será colocada na guia definida em objmapa.guiaMenu, por default a guia2 | ||
68 | - <div id=arvoreAdicionaTema style='top:25px;' ></div> | ||
69 | - <div id=outrasOpcoesAdiciona style='top:25px;' ></div> | ||
70 | - --> | ||
71 | - | ||
72 | - <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
73 | - <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
74 | - <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
75 | - </td> | ||
76 | - <td style="vertical-align:top;border-width:0px;"> | ||
77 | - <table width="100%" style="vertical-align:top;border-width:0px"> | ||
78 | - <tr><td class=verdeclaro id=contemImg > | ||
79 | - <div id=corpoMapa style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
80 | - </td></tr> | ||
81 | - </table> | ||
82 | - </td> | ||
83 | - </tr> | ||
84 | - | ||
85 | -<tr> | ||
86 | - | ||
87 | - <td class=tdbranca > | ||
88 | - <!-- | ||
89 | - Nesse div são incluídos os ícones que permitem ao usuário modificar o visual de cores dos ícones | ||
90 | - <div id=visual ></div> | ||
91 | - --> | ||
92 | - <!-- aqui serão incluídas as bandeiras que permitem a troca de idioma --> | ||
93 | - <div id="seletorIdiomas" ></div> | ||
94 | - <!-- aqui será incluído o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> | ||
95 | - <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
96 | - </td> | ||
97 | - <td class=tdbranca > | ||
98 | - <table width=100% > | ||
99 | - <tr> | ||
100 | - <td class=tdbranca > | ||
101 | - <!-- aqui será incluída a escala numérica --> | ||
102 | - <div id=escala style="text-align:right;" ></div> | ||
103 | - </td> | ||
104 | - <td class=tdbranca > | ||
105 | - <!-- aqui será incluído o gadget que mostra a coordenada geográfica da posição do mouse --> | ||
106 | - <div id=localizarxy style="text-align:left;font-size:10px;">Aguarde...</div> | ||
107 | - </td> | ||
108 | - | ||
109 | - <!-- | ||
110 | - A opção de localização 'onde estou?' baseia-se na identificação do IP do usuário. Para | ||
111 | - que esta opção funcione corretamente, deve estar instalado no I3Geo o pacote geoIP. Veja no | ||
112 | - SVN do portal do software público o diretório arquivos_versões/pacotes para maiores informações | ||
113 | - --> | ||
114 | - <td class=tdbranca ><div id=ondeestou ></div></td> | ||
115 | - </tr> | ||
116 | - <!-- esta div recebe o cálculo do posicionamento do mouse em coordenadas UTM | ||
117 | - As coordenadas UTM apenas serão mostradas nessa div se o parâmetro | ||
118 | - i3GEO.gadgets.mostraCoordenadasUTM.idhtml for diferente de i3GEO.gadgets.mostraCoordenadasGEO.idhtml | ||
119 | - se os IDs forem iguais, o tipo de coordenada mostrada será intercalada, ora UTM ora GEO. | ||
120 | - <tr><td></td><td class="tdbranca"><div style="text-align:left;font-size:8px;background-color:white;display:none;" id=mostraUTM ></div></td><td></td></tr> | ||
121 | - --> | ||
122 | - </table> | ||
123 | - </td> | ||
124 | -</tr> | ||
125 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
126 | -<!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> | ||
127 | -<tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> | ||
128 | -<tr style="border:0px"><td colspan=3 style=background-color:black;color:white >geoprocessamento@mma.gov.br</td></tr> | ||
129 | - | ||
130 | -</table> | ||
131 | -<center> | ||
132 | -<br><br> | ||
133 | -<table> | ||
134 | -<tr> | ||
135 | - <td><center><h1><div id=versaoi3geo ></div><h2>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> | ||
136 | -</tr> | ||
137 | -<tr> | ||
138 | - <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> | ||
139 | -</tr> | ||
140 | -<tr> | ||
141 | - <td><center> | ||
142 | - <script type="text/javascript" src="http://www.ohloh.net/p/150688/widgets/project_users.js?style=red"></script> | ||
143 | - </td> | ||
144 | -</tr> | ||
145 | -</table> | ||
146 | -<script type="text/javascript"> | ||
147 | -/* | ||
148 | -Title: Interface Openlayers | ||
149 | - | ||
150 | -Abre o i3geo com todas as suas funcionalidades e interface de navegação controlada pela API Openlayers. | ||
151 | - | ||
152 | -File: i3geo/aplicmap/openlayers.htm | ||
153 | - | ||
154 | -Exemplo: | ||
155 | - | ||
156 | -http://<host>/i3geo/ms_criamapa.php | ||
157 | - | ||
158 | -Para definir quais botões das barras de ferramentas serão incluídos no mapa, veja: <classe_barradebotoes.js> i3GEO.barraDeBotoes.INCLUIBOTAO | ||
159 | - | ||
160 | -*/ | ||
161 | -/* | ||
162 | - Indica a localização correta do i3geo. | ||
163 | - | ||
164 | - É utilizada para identificar o local correto onde estão os programas em php que são utilizados. | ||
165 | -*/ | ||
166 | -i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
167 | - | ||
168 | -i3GEO.Interface.ATUAL = "openlayers"; | ||
169 | -i3GEO.Interface.IDCORPO = "contemImg"; | ||
170 | -i3GEO.configura.diminuixN = 20 | ||
171 | - | ||
172 | -i3GEO.Interface.openlayers.GADGETS = { | ||
173 | - PanZoomBar:true, | ||
174 | - PanZoom:false, | ||
175 | - LayerSwitcher:true, | ||
176 | - ScaleLine:true, | ||
177 | - OverviewMap:false | ||
178 | - }; | ||
179 | -i3GEO.Interface.openlayers.TILES = false; | ||
180 | -/* | ||
181 | -Após a criação, é criado o objeto i3geoOL que corresponde ao objeto map da API do OpenLayers. | ||
182 | -Vc pode usar i3geoOL para aplicar os métodos e verificar as propriedades da API do OpenLayers | ||
183 | -*/ | ||
184 | -i3GEO.cria(); | ||
185 | -/* | ||
186 | - Inicializa o mapa | ||
187 | -*/ | ||
188 | -i3GEO.barraDeBotoes.AUTOALTURA = false; | ||
189 | -i3GEO.barraDeBotoes.ATIVAMENUCONTEXTO = false; | ||
190 | -i3GEO.barraDeBotoes.PERMITEFECHAR = true; | ||
191 | -i3GEO.barraDeBotoes.PERMITEDESLOCAR = true; | ||
192 | -i3GEO.barraDeBotoes.AUTO = true; | ||
193 | -i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja" | ||
194 | - | ||
195 | -i3GEO.Interface.BARRABOTOESLEFT = 50 | ||
196 | -i3GEO.Interface.BARRABOTOESTOP = 10 | ||
197 | - | ||
198 | -i3GEO.idioma.IDSELETOR = "seletorIdiomas" | ||
199 | -i3GEO.Interface.ATIVAMENUCONTEXTO = true | ||
200 | -i3GEO.arvoreDeTemas.TIPOBOTAO = "radio"; | ||
201 | -i3GEO.arvoreDeTemas.ATIVATEMAIMEDIATO = true | ||
202 | -// | ||
203 | -//esta é uma variável interna do OpenLayers que define o endereço do diretório onde estão as imagens usadas nos ícones | ||
204 | -// | ||
205 | -OpenLayers.ImgPath = "../pacotes/openlayers/img/" | ||
206 | -// | ||
207 | -//adiciona camadas que podem ser ativadas como fundo do mapa | ||
208 | -// | ||
209 | -var ims = new OpenLayers.Layer.ArcGIS93Rest( | ||
210 | - "ESRI Imagery World 2D", | ||
211 | - "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer/export", | ||
212 | - {}, | ||
213 | - {isBaseLayer:true,visibility:false} | ||
214 | -); | ||
215 | -var wsm = new OpenLayers.Layer.ArcGIS93Rest( | ||
216 | - "ESRI World Street Map", | ||
217 | - "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer/export", | ||
218 | - {}, | ||
219 | - {isBaseLayer:true,visibility:false} | ||
220 | -); | ||
221 | -var bra = new OpenLayers.Layer.WMS( | ||
222 | - "Base carto MMA", | ||
223 | - "http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/baseraster.map", | ||
224 | - {layers:"baseraster",srs:"EPSG:4291",format:"image/png",isBaseLayer:false}, | ||
225 | - {isBaseLayer:true,visibility:false} | ||
226 | -); | ||
227 | -var osm = new OpenLayers.Layer.WMS( | ||
228 | - "Open Street Map", | ||
229 | - "http://full.wms.geofabrik.de/std/demo_key", | ||
230 | - {layers:""}, | ||
231 | - {isBaseLayer:true,visibility:false} | ||
232 | -); | ||
233 | - | ||
234 | -i3GEO.Interface.openlayers.LAYERSADICIONAIS = [ims,wsm,bra,osm]; | ||
235 | - | ||
236 | -// | ||
237 | -//inicia o mapa | ||
238 | -// | ||
239 | -i3GEO.inicia(); | ||
240 | -</script> | ||
241 | -</body> | ||
242 | -</html> | ||
243 | \ No newline at end of file | 0 | \ No newline at end of file |
aplicmap/schema.ini
aplicmap/simples.php
@@ -1,85 +0,0 @@ | @@ -1,85 +0,0 @@ | ||
1 | -<?php | ||
2 | -echo ' | ||
3 | -<link rel="stylesheet" type="text/css" href="'.$caminho.'css/geral.css"> | ||
4 | -<link rel="stylesheet" type="text/css" href="'.$caminho.'css/botoes.css"> | ||
5 | -<link rel="stylesheet" type="text/css" href="'.$caminho.'pacotes/jsobjects/documentation.css"> | ||
6 | -<script src="'.$caminho.'pacotes/cpaint/cpaint2.inc.compressed.js" type="text/javascript"></script> | ||
7 | -<script type="text/javascript" src="'.$caminho.'pacotes/jsobjects/jsUI-Global/common.js"></script> | ||
8 | -<script type="text/javascript" src="'.$caminho.'pacotes/jsobjects/jsUI-Global/uiCommon.js"></script> | ||
9 | -<script type="text/javascript" src="'.$caminho.'pacotes/jsobjects/jsUI-Treeview/component.js"></script> | ||
10 | -<script type="text/javascript" src="'.$caminho.'classesjs/funcoes_compacto.js"></script> | ||
11 | -<script type="text/javascript" src="'.$caminho.'classesjs/ferramentas_compacto.js"></script> | ||
12 | -<script type="text/javascript" src="'.$caminho.'classesjs/ajax_compacto.js"></script> | ||
13 | -<script type="text/javascript" src="'.$caminho.'classesjs/iniciamma_compacto.js"></script> | ||
14 | -<body id=i3geo > | ||
15 | -<center> | ||
16 | -<table id="mst" width=100% cellspacing="0"> | ||
17 | - <tr> | ||
18 | - <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left"> | ||
19 | - <table width=100% cellspacing=0 cellpadding=0 > | ||
20 | - <tr><td> | ||
21 | - <div style="background-color:rgb(200,200,200);cursor:pointer;position:relative;font-family: verdana, arial, helvetica, sans-serif;text-align: center"> | ||
22 | - <div id=guia1 ><b> Temas </b>|</div><div id=guia2 ><b> Adiciona </b>|</div><div id=guia4 ><b> Legenda </b>|</div> | ||
23 | - </div> | ||
24 | - </td></tr> | ||
25 | - </table> | ||
26 | - <div id="guia1obj" ><div id=listaTemas ></div></div> | ||
27 | - <div id="guia2obj" style="display:none;">Aguarde...<img alt="" src="'.$caminho.'imagens/branco.gif" width=248 /></div> | ||
28 | - <div id="guia4obj" style="display:none;text-align:left"><div id="legenda" style="text-align:left"></div></div> | ||
29 | - </td> | ||
30 | - <td id="ferramentas" class=tdbranca style="vertical-align:top;width:90px"> | ||
31 | - <center> | ||
32 | - <table cellspacing=0 cellpadding=0 > | ||
33 | - <tr><td> | ||
34 | - <div id=ferramentas1> | ||
35 | - <table><tr><td><img alt="redesenha" title="redesenha" src="'.$caminho.'imagens/branco.gif" ID="executa"></td></tr></table> | ||
36 | - <table><tr><td></td></tr></table> | ||
37 | - <table><tr><td><img alt="info" title="info" src="'.$caminho.'imagens/branco.gif" id="identifica"/></td></tr></table> | ||
38 | - <table><tr><td></td></tr></table> | ||
39 | - <table><tr><td><img alt="zoom geral" title="zoom geral" src="'.$caminho.'imagens/branco.gif" ID="zoomtot"/></td></tr></table> | ||
40 | - <table><tr><td></td></tr></table> | ||
41 | - <table><tr><td><img alt="desloca" title="desloca" src="'.$caminho.'imagens/branco.gif" ID="pan"/></td></tr></table> | ||
42 | - <table><tr><td></td></tr></table> | ||
43 | - <table><tr><td><img alt="zoom" title="zoom" src="'.$caminho.'imagens/branco.gif" id="zoomli"/></td></tr></table> | ||
44 | - <table><tr><td></td></tr></table> | ||
45 | - <table><tr><td><img alt="aproxima" title="aproxima" src="'.$caminho.'imagens/branco.gif" id="zoomiauto"/></td></tr></table> | ||
46 | - <table><tr><td></td></tr></table> | ||
47 | - <table><tr><td><img alt="afasta" title="afasta" src="'.$caminho.'imagens/branco.gif" id="zoomoauto"/></td></tr></table> | ||
48 | - <table><tr><td></td></tr></table> | ||
49 | - <table><tr><td><img alt="referência" title="referência" src="'.$caminho.'imagens/branco.gif" id="referencia"/></td></tr></table> | ||
50 | - <table><tr><td></td></tr></table> | ||
51 | - <table><tr><td><img alt="mede" title="mede" src="'.$caminho.'imagens/branco.gif" id="mede"/></td></tr></table> | ||
52 | - <table><tr><td></td></tr></table> | ||
53 | - <table><tr><td><img alt="google" title="google" src="'.$caminho.'imagens/branco.gif" id="google"/></td></tr></table> | ||
54 | - <table><tr><td><img alt="" src="'.$caminho.'imagens/branco.gif" width=70 height=0></td></tr></table> | ||
55 | - </div> | ||
56 | - </td></tr> | ||
57 | - </table> | ||
58 | - </center> | ||
59 | - </td> | ||
60 | - <td class=verdeclaro style="vertical-align:top;"> | ||
61 | - <table style="vertical-align:top;"> | ||
62 | - <tr><td class=verdeclaro id=contemImg > | ||
63 | - <div id=corpoMapaO ></div><div id=corpoMapa ></div><div id=corpoMapaL ></div><div id=corpoMapaN ></div><div id=corpoMapaS ></div> | ||
64 | - </td></tr> | ||
65 | - <tr><td class=verdeclaro ><div class=pcenter10 id="longlat">Longitude e latitude</div></td></tr> | ||
66 | - <tr> | ||
67 | - <td class=verdeclaro ><div style="text-align:center" id="escalaGrafica"></div></td> | ||
68 | - </tr> | ||
69 | - </table> | ||
70 | - </td> | ||
71 | - </tr> | ||
72 | - <tr><td colspan=3 ><div id=ajuda class=verdeescuro style="text-align:left;" >I3Geo</div></td></tr> | ||
73 | -</table> | ||
74 | -<p><a href="http://mapserver.gis.umn.edu/"><img alt="" title="Mapserver" name="mapserver" src="'.$caminho.'imagens/mapserv.png" /></a></p> | ||
75 | -</center> | ||
76 | -</body> | ||
77 | -<script type="text/javascript"> | ||
78 | -g_locaplic = "http://"+window.location.host+"/i3geo"; | ||
79 | -echo 'document.body.onmouseover=function(){this.onmousemove=processevent1;};'; | ||
80 | -echo "m ='".$tmpfname."';"; | ||
81 | -echo "e = '".$mapext."';"; | ||
82 | -echo 'objmapa = new Mapa(e,m);'; | ||
83 | -echo 'objmapa.inicializa();'; | ||
84 | -echo '</script>'; | ||
85 | -?> | ||
86 | \ No newline at end of file | 0 | \ No newline at end of file |
aplicmap/simples1.htm
@@ -1,537 +0,0 @@ | @@ -1,537 +0,0 @@ | ||
1 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | -<html> | ||
3 | -<head> | ||
4 | -<meta http-equiv="Category" content="I3Geo Mapa interativo MMA geoprocessamento sig mobile"> | ||
5 | -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
6 | -<title>i3Geo - Mapa interativo</title> | ||
7 | - | ||
8 | -<!-- Leitura dos programas javaScript e estilos individualmente. Pode-se ler os | ||
9 | -arquivos não compactados, bastando substituir por i3geonaocompacto --> | ||
10 | -<script type="text/javascript" src="../classesjs/i3geo.js"></script> | ||
11 | - | ||
12 | -<!-- | ||
13 | -<style> | ||
14 | -#box1 | ||
15 | -{font-size:0px;cursor:crosshair;opacity:.25;background-color: gray;position: absolute;visibility: hidden;width: 0px;height: 0px;border: 2px solid green;} | ||
16 | -</style> | ||
17 | ---> | ||
18 | - | ||
19 | -</head> | ||
20 | -<body id=i3geo > | ||
21 | -<center> | ||
22 | -<table id='mst' style=display:none width=100% cellspacing='0'> | ||
23 | -<!-- Inclui a barra superior. Se vc não quiser o menu, é só comentar --> | ||
24 | -<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | ||
25 | -<tr> | ||
26 | -<td> | ||
27 | - <table width=100% cellspacing=0 cellpadding=0 > | ||
28 | - <tr> | ||
29 | - <td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td> | ||
30 | - <td> | ||
31 | - <!-- Guias principais, não mude o ID, apenas o nome se for desejado --> | ||
32 | - <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
33 | - <div id=guia1 class=guia >Temas</div> | ||
34 | - <div id=guia2 class=guia >Adiciona</div> | ||
35 | - <div id=guia4 class=guia >Legenda</div> | ||
36 | - <div id=guia5 class=guia >Mapas</div> | ||
37 | - </div> | ||
38 | - </td> | ||
39 | - </tr> | ||
40 | - </table> | ||
41 | -</td> | ||
42 | -<td style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
43 | -</td> | ||
44 | -</tr> | ||
45 | -<tr> | ||
46 | - <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
47 | - <!-- Esta div acrescenta a lista de propriedades do mapa, caso vc queira colocá-la em um lugar específico | ||
48 | - <div id=listaPropriedades ></div> | ||
49 | - --> | ||
50 | - <!-- Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico | ||
51 | - <div id=buscaRapida ></div> | ||
52 | - --> | ||
53 | - <div id='guia1obj' ><div style='left:5px;top:10px;' id=buscaRapida ></div><div id=listaPropriedades style='top:15px;' ></div><div id=listaTemas style='top:15px;'></div></div> | ||
54 | - <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
55 | - <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
56 | - <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
57 | - </td> | ||
58 | - <td style="vertical-align:top;border-width:0px;"> | ||
59 | - <table width="100%" style="vertical-align:top;border-width:0px"> | ||
60 | - <!-- Corpo do mapa. Pode ser reposicionado, mas não mude os IDs. Se vc quiser que o mapa tenha um tamanho específico, inclua o estilo, exemplo, style=width:300px;height:300px --> | ||
61 | - <tr><td class=verdeclaro id=contemImg > | ||
62 | - <div id=corpoMapa style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
63 | - </td></tr> | ||
64 | - </table> | ||
65 | - </td> | ||
66 | - </tr> | ||
67 | -<!-- Mostra as coordenadas conforme o mouse é movimentado | ||
68 | - <div class=pcenter10 id='longlat'>Longitude e latitude</div> | ||
69 | ---> | ||
70 | -<!-- Escala gráfica. Pode ser excluída. | ||
71 | - <div id="escalaGrafica" style="text-align:left"></div> | ||
72 | ---> | ||
73 | -<!--- vc pode optar por colocar mensagens de ajuda em algum lugar | ||
74 | -<tr><td colspan=2 ><div id=ajuda class=verdeescuro style="text-align:left;" >I3Geo</div></td></tr> | ||
75 | ---> | ||
76 | -<tr> | ||
77 | - <td class=tdbranca > | ||
78 | - <div id=visual ></div> | ||
79 | - <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
80 | - </td> | ||
81 | - <td class=tdbranca > | ||
82 | - <table width=100% ><tr> | ||
83 | - <td class=tdbranca ><div id=lugarquadros ></div></td> | ||
84 | - <td class=tdbranca ><div id=localizarxy >Aguarde...</div></td> | ||
85 | - <td class=tdbranca ><div id=escala ></div></td> | ||
86 | - <!-- A opção de localização 'onde estou?' baseia-se na identificação do IP do usuário. Para | ||
87 | - que esta opção funcione corretamente, deve estar instalado no I3Geo o pacote geoIP. Veja no | ||
88 | - SVN do portal do software público o diretório arquivos_versões/pacotes para maiores informações --> | ||
89 | - <td class=tdbranca ><div id=ondeestou ></div></td> | ||
90 | - </tr></table> | ||
91 | - </td> | ||
92 | -</tr> | ||
93 | -<tr style="border:0px"><td colspan=3 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
94 | -</table> | ||
95 | -<a style=text-align:center;color:white href="mailto:edmar.moretti@mma.gov.br">Críticas e sugestões</a> | ||
96 | -</center> | ||
97 | -<!-- barra de botoes que serão incluídos na janela móvel de navegação --> | ||
98 | -<div id=barraDeBotoes1 style='display:none'> | ||
99 | - <table title="zoom" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="zoom" alt="" src="../imagens/branco.gif" id='zoomli'/></td></tr></table> | ||
100 | - <table title="desloca" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="desloca" alt="" src="../imagens/branco.gif" ID='pan'/></td></tr></table> | ||
101 | - <table title="info" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="info" alt="" src="../imagens/branco.gif" id='identifica'/></td></tr></table> | ||
102 | - <table title="geral" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="geral" alt="" src="../imagens/branco.gif" ID='zoomtot'/></td></tr></table> | ||
103 | - <table title="extensao" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="extensao" alt="" src="../imagens/branco.gif" id="exten"/></td></tr></table> | ||
104 | - <table title="mede" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="mede" alt="" src="../imagens/branco.gif" id='mede'/></td></tr></table> | ||
105 | - <table title="area" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="area" alt="" src="../imagens/branco.gif" id='area'/></td></tr></table> | ||
106 | - <table title="imprimir" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="imprimir" alt="" src="../imagens/branco.gif" id='imprimir'/></td></tr></table> | ||
107 | -</div> | ||
108 | -<div id=barraDeBotoes2 style='display:none'> | ||
109 | - <table style="width:100%"><caption style="text-align:center"> </caption> | ||
110 | - <tr><td style='background-color:rgb(250,250,250);'><img title="" alt="" src="../imagens/branco.gif" id='sobeferramentas'/></td></tr> | ||
111 | - </table> | ||
112 | - | ||
113 | - <div style='display:inline;background-color:rgb(250,250,250);'> | ||
114 | - <p style='font-size:6px;'> </p> | ||
115 | - <img title="reinicia" alt="" src="../imagens/branco.gif" id='reinicia'/> | ||
116 | - </div> | ||
117 | - <div style='display:inline;background-color:rgb(250,250,250);'> | ||
118 | - <p style='font-size:6px;'> </p> | ||
119 | - <img title="referencia" alt="" src="../imagens/branco.gif" id='referencia'/> | ||
120 | - </div> | ||
121 | - <div style='display:inline;background-color:rgb(250,250,250);'> | ||
122 | - <p style='font-size:6px;'> </p> | ||
123 | - <img title="insere xy" alt="" src="../imagens/branco.gif" id='inserexy'/> | ||
124 | - </div> | ||
125 | - <div style='display:inline;background-color:rgb(250,250,250);'> | ||
126 | - <p style='font-size:6px;'> </p> | ||
127 | - <img title="insere grafico" alt="" src="../imagens/branco.gif" id='inseregrafico'/> | ||
128 | - </div> | ||
129 | - <div style='display:inline;background-color:rgb(250,250,250);'> | ||
130 | - <p style='font-size:6px;'> </p> | ||
131 | - <img title="texto" alt="" src="../imagens/branco.gif" id='textofid'/> | ||
132 | - </div> | ||
133 | - <div style='display:inline;background-color:rgb(250,250,250);'> | ||
134 | - <p style='font-size:6px;'> </p> | ||
135 | - <img title="selecao" alt="" src="../imagens/branco.gif" id='selecao'/> | ||
136 | - </div> | ||
137 | - <div style='display:inline;background-color:rgb(250,250,250);'> | ||
138 | - <p style='font-size:6px;'> </p> | ||
139 | - <img title="google" alt="" src="../imagens/branco.gif" id='google'/> | ||
140 | - </div> | ||
141 | - | ||
142 | - <div style='display:none;background-color:rgb(250,250,250);'> | ||
143 | - <p style='font-size:6px;'> </p> | ||
144 | - <img title="lente" alt="" src="../imagens/branco.gif" id='lentei'/> | ||
145 | - </div> | ||
146 | - <div style='display:none;background-color:rgb(250,250,250);'> | ||
147 | - <p style='font-size:6px;'> </p> | ||
148 | - <img title="scielo" alt="" src="../imagens/branco.gif" id='scielo'/> | ||
149 | - </div> | ||
150 | - <div style='display:none;background-color:rgb(250,250,250);'> | ||
151 | - <p style='font-size:6px;'> </p> | ||
152 | - <img title="confluencias" alt="" src="../imagens/branco.gif" id='confluence'/> | ||
153 | - </div> | ||
154 | - <div style='display:none;background-color:rgb(250,250,250);'> | ||
155 | - <p style='font-size:6px;'> </p> | ||
156 | - <img title="busca na wikipedia" alt="" src="../imagens/branco.gif" id='wiki'/> | ||
157 | - </div> | ||
158 | - <div style='display:none;background-color:rgb(250,250,250);'> | ||
159 | - <p style='font-size:6px;'> </p> | ||
160 | - <img title="3d" alt="" src="../imagens/branco.gif" id='v3d'/> | ||
161 | - </div> | ||
162 | - <div style='display:none;background-color:rgb(250,250,250);'> | ||
163 | - <p style='font-size:6px;'> </p> | ||
164 | - <img title="fotos" alt="" src="../imagens/branco.gif" id='buscafotos'/> | ||
165 | - </div> | ||
166 | - | ||
167 | - <table style="width:100%;"><tr><td style='background-color:rgb(250,250,250);'><p style='font-size:6px;'> </p><img title="" alt="" src="../imagens/branco.gif" id='desceferramentas'/></td></tr></table> | ||
168 | -</div> | ||
169 | -<!-- Variáveis globais e inicialização do mapa--> | ||
170 | -<script type="text/javascript"> | ||
171 | -/* | ||
172 | -Title: Interface simples 1 | ||
173 | - | ||
174 | -Interface alternativa para o i3Geo | ||
175 | - | ||
176 | -Exemplo: | ||
177 | - | ||
178 | -http://localhost/i3geo/ms_criamapa.php?interface=simples1.htm | ||
179 | - | ||
180 | -*/ | ||
181 | -/* | ||
182 | - Variable: g_locaplic | ||
183 | - | ||
184 | - Indica a localização correta do i3geo. | ||
185 | - | ||
186 | - É utilizada para identificar o local correto onde estão os programas em php que são utilizados. | ||
187 | -*/ | ||
188 | -g_locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
189 | -/* | ||
190 | - Variable: g_funcaoTip | ||
191 | - | ||
192 | - Função ajax que será executada para mostrar informações do tipo TIP. | ||
193 | - | ||
194 | - A função é executada pelo CPAINT e avaliada com "eval". | ||
195 | - | ||
196 | - Default: | ||
197 | - | ||
198 | - g_funcaoTip = "verificaTipDefault()"; | ||
199 | -*/ | ||
200 | - | ||
201 | -/* | ||
202 | - Variable: g_tempotip (opcional) | ||
203 | - | ||
204 | - Tempo utilizado para verificar se o mouse está parado. | ||
205 | - | ||
206 | - Se o mouse estiver parado, a função de mostrar tip é ativada. | ||
207 | - | ||
208 | - Default: | ||
209 | - | ||
210 | - g_tempotip = 1000; | ||
211 | -*/ | ||
212 | - | ||
213 | -/* | ||
214 | - Variable: g_tipotip | ||
215 | - | ||
216 | - Define como o tip será mostrado. | ||
217 | - | ||
218 | - Pode ser definida como "simples" ou "completo" | ||
219 | - | ||
220 | - Default: | ||
221 | - | ||
222 | - g_tipotip = "completo"; | ||
223 | -*/ | ||
224 | - | ||
225 | -/* | ||
226 | - Variable: g_tipoimagem | ||
227 | - | ||
228 | - Indica o tipo de filtro de imagem que está ativo. O filtro ativo é aplicado sobre a imagem toda a vez que o mapa é refeito. | ||
229 | - | ||
230 | - Default: | ||
231 | - | ||
232 | - g_tipoimagem = "nenhum"; | ||
233 | -*/ | ||
234 | - | ||
235 | -/* | ||
236 | - Variable: destacaTamanho | ||
237 | - | ||
238 | - Valor em pixel do retângulo de destaque de temas. | ||
239 | - | ||
240 | - Default: | ||
241 | - | ||
242 | - destacaTamanho = 75; | ||
243 | -*/ | ||
244 | - | ||
245 | -/* | ||
246 | - Variable: g_entorno | ||
247 | - | ||
248 | - Indica se o preenchimento do entorno do mapa está ou não ativo. | ||
249 | - | ||
250 | - Utilizado para criar o efeito de auto-preenchimento do mapa quando é executada a função pan. | ||
251 | - | ||
252 | - É alterada em uma opção específica no menu suspenso. | ||
253 | - | ||
254 | - Default: | ||
255 | - | ||
256 | - g_entorno = "nao"; | ||
257 | -*/ | ||
258 | - | ||
259 | -/* | ||
260 | - Variable: g_guiaativa | ||
261 | - | ||
262 | - Indica qual guia do mapa iniciará ativa. | ||
263 | - | ||
264 | - Default: | ||
265 | - | ||
266 | - g_guiaativa = "guia1"; | ||
267 | -*/ | ||
268 | - | ||
269 | -/* | ||
270 | - Variable: g_diminuixM | ||
271 | - | ||
272 | - Diminui a largura do mapa em pixels no caso do navegador ser o IE. | ||
273 | - | ||
274 | - Default: | ||
275 | - | ||
276 | - g_diminuixM = 20; | ||
277 | -*/ | ||
278 | - | ||
279 | -/* | ||
280 | - Variable: g_diminuixN | ||
281 | - | ||
282 | - Diminui a largura do mapa em pixels no caso do navegador ser o FF. | ||
283 | - | ||
284 | - Default: | ||
285 | - | ||
286 | - g_diminuixN = 20; | ||
287 | -*/ | ||
288 | -/* | ||
289 | - Variable: g_diminuiyM | ||
290 | - | ||
291 | - Diminui a altura do mapa em pixels no caso do navegador ser o IE. | ||
292 | - | ||
293 | - Default: | ||
294 | - | ||
295 | - g_diminuiyM = 150; | ||
296 | -*/ | ||
297 | - | ||
298 | -/* | ||
299 | - Variable: g_diminuiyN | ||
300 | - | ||
301 | - Diminui a altura do mapa em pixels no caso do navegador ser o FF. | ||
302 | - | ||
303 | - Default: | ||
304 | - | ||
305 | - g_diminuiyN = 120; | ||
306 | -*/ | ||
307 | - | ||
308 | -/* | ||
309 | - Variable: g_janelazoom | ||
310 | - | ||
311 | - Define se a barra de zoom será aberta no mapa. | ||
312 | - | ||
313 | - Default: | ||
314 | - | ||
315 | - g_janelazoom = "sim" | ||
316 | -*/ | ||
317 | - | ||
318 | -/* | ||
319 | - Variable: g_barraFerramentas1 | ||
320 | - | ||
321 | - Define se a barra de ferramentas 1 será mostrada | ||
322 | - | ||
323 | - Defaul: | ||
324 | - | ||
325 | - g_barraFerramentas1 = "sim" | ||
326 | -*/ | ||
327 | - | ||
328 | -/* | ||
329 | - Variable: g_barraFerramentas2 | ||
330 | - | ||
331 | - Define se a barra de ferramentas 2 será mostrada | ||
332 | - | ||
333 | - Defaul: | ||
334 | - | ||
335 | - g_barraFerramentas2 = "sim" | ||
336 | -*/ | ||
337 | - | ||
338 | -/* | ||
339 | - Variable: g_mapaRefDisplay | ||
340 | - | ||
341 | - Indica a visibilidade do mapa de referência na inicialização | ||
342 | - | ||
343 | - Pode ser "block" ou "none". | ||
344 | -*/ | ||
345 | -g_mapaRefDisplay = "block" | ||
346 | - | ||
347 | -/* | ||
348 | - Variable: g_docaguias | ||
349 | - | ||
350 | - Variável que define se o mapa deve iniciar com as guias em janela ou não. | ||
351 | - | ||
352 | - Default: | ||
353 | - | ||
354 | - g_docaguias = "nao"; | ||
355 | -*/ | ||
356 | - | ||
357 | -/* | ||
358 | - Variable: g_downloadbase | ||
359 | - | ||
360 | - Variável que define se na guia 2 será mostrada a opção de download. | ||
361 | - | ||
362 | - Default: | ||
363 | - | ||
364 | - g_downloadbase = "sim"; | ||
365 | -*/ | ||
366 | - | ||
367 | -/* | ||
368 | - Variable: g_conectargeorss | ||
369 | - | ||
370 | - Variável que define se na guia 2 será mostrada a opção de conexão com GeoRSS. | ||
371 | - | ||
372 | - Default: | ||
373 | - | ||
374 | - g_conectargeorss = "sim"; | ||
375 | -*/ | ||
376 | - | ||
377 | -/* | ||
378 | - Variable: g_uploadlocal | ||
379 | - | ||
380 | - Variável que define se na guia 2 será mostrada a opção de upload. | ||
381 | - | ||
382 | - Default: | ||
383 | - | ||
384 | - g_uploadlocal = "sim"; | ||
385 | -*/ | ||
386 | - | ||
387 | -/* | ||
388 | - Variable: g_conectarwms | ||
389 | - | ||
390 | - Variável que define se na guia 2 será mostrada a opção de conexão com WMS. | ||
391 | - | ||
392 | - Default: | ||
393 | - | ||
394 | - g_conectarwms = "sim"; | ||
395 | -*/ | ||
396 | - | ||
397 | -/* | ||
398 | - Variable: g_janelaMen | ||
399 | - | ||
400 | - Variável que define se a janela de mensagens começará aberta. | ||
401 | - | ||
402 | - Default: | ||
403 | - | ||
404 | - g_janelaMen = "sim"; | ||
405 | -*/ | ||
406 | - | ||
407 | -/* | ||
408 | - Variable: g_mostraRosa | ||
409 | - | ||
410 | - Variável que define se a rosa dos ventos deve ser mostrada junto ao mouse | ||
411 | - | ||
412 | - Default: | ||
413 | - | ||
414 | - g_mostraRosa = "sim" | ||
415 | -*/ | ||
416 | - | ||
417 | -/* | ||
418 | - Variable: g_opcoesTemas | ||
419 | - | ||
420 | - Variável que define se as opcoes adicionais de cada tema serao mostradas. | ||
421 | - | ||
422 | - Default: | ||
423 | - | ||
424 | - g_opcoesTemas = "sim"; | ||
425 | -*/ | ||
426 | - | ||
427 | -/* | ||
428 | - Variable: g_3dmap | ||
429 | - | ||
430 | - Variável que define o nome do map_file que possuí o layer para uso na função 3d. | ||
431 | - | ||
432 | - Pode ser caminho completo. Se não, busca no aplicmap. | ||
433 | -*/ | ||
434 | -; | ||
435 | - | ||
436 | -/* | ||
437 | - Variable: g_embedLegenda | ||
438 | - | ||
439 | - Indica se a legenda deve ser incluida no corpo do mapa. | ||
440 | - | ||
441 | - Default: | ||
442 | - | ||
443 | - g_embedLegenda = "nao"; | ||
444 | -*/ | ||
445 | - | ||
446 | -/* | ||
447 | -Variable: g_mashuppar | ||
448 | - | ||
449 | -Parâmetros de inicialização que podem ser utilizados na interface mashup. | ||
450 | - | ||
451 | -Os parâmetros são os mesmos que podem ser utilizados quando o i3geo é inicializado pelo ms_criamapa.php. | ||
452 | - | ||
453 | -Exemplo: g_mashuppar = "&pontos=-54 -12&temasa=biomas&layers=biomas" | ||
454 | - | ||
455 | -g_mashuppar = "&mapext=-53 -26 -42 -18"; | ||
456 | -*/ | ||
457 | - | ||
458 | -/* | ||
459 | - Variable: g_mensagempadrao | ||
460 | - | ||
461 | - Mensagem padrão que será mostrada na janela de mensagens. | ||
462 | - | ||
463 | - g_mensagempadrao = "O I3Geo é software livre! Para download clique <a href='http://mapas.mma.gov.br/download' target=blanck >aqui</a>"; | ||
464 | -*/ | ||
465 | - | ||
466 | -objmapa = new Mapa(); | ||
467 | - | ||
468 | -/* | ||
469 | -Variable: g_visual | ||
470 | - | ||
471 | -Indica qual o tipo de visual para abertura do mapa. | ||
472 | - | ||
473 | -Os visuais disponíveis são obtidos do diretório i3geo/imagens/visual na inicialização do i3geo. | ||
474 | -*/ | ||
475 | -g_visual = "default"; | ||
476 | - | ||
477 | -/* | ||
478 | -Variable: g_autoRedesenho | ||
479 | - | ||
480 | -Ativa o auto redesenho após um determinado tempo (milisegundos). | ||
481 | - | ||
482 | -Após decorrido o tempo definido, o mapa é redesenhado. Se for 0 o temporizador não é ativado. | ||
483 | -*/ | ||
484 | -g_autoRedesenho = 0; | ||
485 | - | ||
486 | -/* | ||
487 | - Variable: objmapa.guiaTemas | ||
488 | - | ||
489 | - Define qual div corresponde ao local de listagem das camadas disponíveis no mapa | ||
490 | -*/ | ||
491 | -objmapa.guiaTemas = "guia1" | ||
492 | - | ||
493 | -/* | ||
494 | - Variable: objmapa.guiaMenu | ||
495 | - | ||
496 | - Define qual div corresponde ao local de inclusão do menu de temas | ||
497 | -*/ | ||
498 | -objmapa.guiaMenu = "guia2"; | ||
499 | - | ||
500 | -/* | ||
501 | - Variable: objmapa.guiaLegenda | ||
502 | - | ||
503 | - Define qual div corresponde ao local onde será incluida a legenda em HTML | ||
504 | -*/ | ||
505 | -objmapa.guiaLegenda = "guia4"; | ||
506 | - | ||
507 | -/* | ||
508 | - Variable: objmapa.guiaListaMapas | ||
509 | - | ||
510 | - Define qual div corresponde ao local onde será colocada a lista de links para outros mapas | ||
511 | -*/ | ||
512 | -objmapa.guiaListaMapas = "guia5"; | ||
513 | - | ||
514 | -/* | ||
515 | - Este é um exemplo de como incluir opções que são executadas | ||
516 | - quando o usuário clica no mapa. | ||
517 | - Vc pode criar um botao novo, e quando ele for clicado, | ||
518 | - definir a variavel 'clicouBotaoTeste'. | ||
519 | - O objeto 'funcoesClickMapa' é um array que pode armazenar strigs. | ||
520 | - | ||
521 | - function teste() | ||
522 | - { | ||
523 | - g_tipoacao = ""; | ||
524 | - clicouBotaoTeste = "sim"; | ||
525 | - if (clicouBotaoTeste == "sim") | ||
526 | - {wdocaf("300px","280px",g_locaplic+'/ferramentas/exemplo/index.htm?x='+objposicaocursor.ddx+'&y='+objposicaocursor.ddy,"","","");} | ||
527 | - } | ||
528 | - objmapa.funcoesClickMapa.push("teste()") | ||
529 | -*/ | ||
530 | - | ||
531 | -/* | ||
532 | - Inicializa o mapa | ||
533 | -*/ | ||
534 | -objmapa.inicializa(); | ||
535 | -</script> | ||
536 | -</body> | ||
537 | -</html> | ||
538 | \ No newline at end of file | 0 | \ No newline at end of file |
aplicmap/simples2.htm
@@ -1,474 +0,0 @@ | @@ -1,474 +0,0 @@ | ||
1 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | -<html> | ||
3 | -<head> | ||
4 | -<meta http-equiv="Category" content="I3Geo Mapa interativo MMA geoprocessamento sig mobile"> | ||
5 | -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
6 | -<title>i3Geo - Mapa interativo</title> | ||
7 | - | ||
8 | -<!-- Leitura dos programas javaScript e estilos individualmente. Pode-se ler os | ||
9 | -arquivos não compactados, bastando substituir por i3geonaocompacto --> | ||
10 | -<script type="text/javascript" src="../classesjs/i3geo.js"></script> | ||
11 | - | ||
12 | -<!-- | ||
13 | -<style> | ||
14 | -#box1 | ||
15 | -{font-size:0px;cursor:crosshair;opacity:.25;background-color: gray;position: absolute;visibility: hidden;width: 0px;height: 0px;border: 2px solid green;} | ||
16 | -</style> | ||
17 | ---> | ||
18 | - | ||
19 | -</head> | ||
20 | -<body id=i3geo > | ||
21 | -<center> | ||
22 | -<table id='mst' style=display:none width=100% cellspacing='0'> | ||
23 | -<!-- Inclui a barra superior. Se vc não quiser o menu, é só comentar --> | ||
24 | -<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | ||
25 | -<tr> | ||
26 | -<td> | ||
27 | - <table width=100% cellspacing=0 cellpadding=0 > | ||
28 | - <tr> | ||
29 | - <td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td> | ||
30 | - <td> | ||
31 | - <!-- Guias principais, não mude o ID, apenas o nome se for desejado --> | ||
32 | - <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
33 | - <div id=guia1 class=guia >Temas</div> | ||
34 | - <div id=guia2 class=guia >Adiciona</div> | ||
35 | - <div id=guia4 class=guia >Legenda</div> | ||
36 | - <div id=guia5 class=guia >Mapas</div> | ||
37 | - </div> | ||
38 | - </td> | ||
39 | - </tr> | ||
40 | - </table> | ||
41 | -</td> | ||
42 | -<td style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
43 | -</td> | ||
44 | -</tr> | ||
45 | -<tr> | ||
46 | - <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
47 | - <!-- Esta div acrescenta a lista de propriedades do mapa, caso vc queira colocá-la em um lugar específico | ||
48 | - <div id=listaPropriedades ></div> | ||
49 | - --> | ||
50 | - <!-- Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico | ||
51 | - <div id=buscaRapida ></div> | ||
52 | - --> | ||
53 | - <div id='guia1obj' ><div style='left:5px;top:10px;' id=buscaRapida ></div><div id=listaPropriedades style='top:15px;' ></div><div id=listaTemas style='top:15px;'></div></div> | ||
54 | - <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
55 | - <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
56 | - <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
57 | - </td> | ||
58 | - <td style="vertical-align:top;border-width:0px;"> | ||
59 | - <table width="100%" style="vertical-align:top;border-width:0px"> | ||
60 | - <!-- Corpo do mapa. Pode ser reposicionado, mas não mude os IDs. Se vc quiser que o mapa tenha um tamanho específico, inclua o estilo, exemplo, style=width:300px;height:300px --> | ||
61 | - <tr><td class=verdeclaro id=contemImg > | ||
62 | - <div id=corpoMapa style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
63 | - </td></tr> | ||
64 | - </table> | ||
65 | - </td> | ||
66 | - </tr> | ||
67 | -<!-- Mostra as coordenadas conforme o mouse é movimentado | ||
68 | - <div class=pcenter10 id='longlat'>Longitude e latitude</div> | ||
69 | ---> | ||
70 | -<!-- Escala gráfica. Pode ser excluída. | ||
71 | - <div id="escalaGrafica" style="text-align:left"></div> | ||
72 | ---> | ||
73 | -<!--- vc pode optar por colocar mensagens de ajuda em algum lugar | ||
74 | -<tr><td colspan=2 ><div id=ajuda class=verdeescuro style="text-align:left;" >I3Geo</div></td></tr> | ||
75 | ---> | ||
76 | -<tr> | ||
77 | - <td class=tdbranca > | ||
78 | - <div id=visual ></div> | ||
79 | - <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
80 | - </td> | ||
81 | - <td class=tdbranca > | ||
82 | - <table width=100% ><tr> | ||
83 | - <td class=tdbranca ><div id=lugarquadros ></div></td> | ||
84 | - <td class=tdbranca ><div id=localizarxy >Aguarde...</div></td> | ||
85 | - <td class=tdbranca ><div id=escala ></div></td> | ||
86 | - <!-- A opção de localização 'onde estou?' baseia-se na identificação do IP do usuário. Para | ||
87 | - que esta opção funcione corretamente, deve estar instalado no I3Geo o pacote geoIP. Veja no | ||
88 | - SVN do portal do software público o diretório arquivos_versões/pacotes para maiores informações --> | ||
89 | - <td class=tdbranca ><div id=ondeestou ></div></td> | ||
90 | - </tr></table> | ||
91 | - </td> | ||
92 | -</tr> | ||
93 | -<tr style="border:0px"><td colspan=3 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
94 | -</table> | ||
95 | -<a style=text-align:center;color:white href="mailto:edmar.moretti@mma.gov.br">Críticas e sugestões</a> | ||
96 | -</center> | ||
97 | -<!-- barra de botoes que serão incluídos na janela móvel de navegação --> | ||
98 | -<div id=barraDeBotoes1 style='display:none'> | ||
99 | - <table title="zoom" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="zoom" alt="" src="../imagens/branco.gif" id='zoomli'/></td></tr></table> | ||
100 | - <table title="desloca" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="desloca" alt="" src="../imagens/branco.gif" ID='pan'/></td></tr></table> | ||
101 | - <table title="info" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="info" alt="" src="../imagens/branco.gif" id='identifica'/></td></tr></table> | ||
102 | - <table title="geral" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="geral" alt="" src="../imagens/branco.gif" ID='zoomtot'/></td></tr></table> | ||
103 | - <table title="extensao" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="extensao" alt="" src="../imagens/branco.gif" id="exten"/></td></tr></table> | ||
104 | - <table title="mede" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="mede" alt="" src="../imagens/branco.gif" id='mede'/></td></tr></table> | ||
105 | - <table title="area" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="area" alt="" src="../imagens/branco.gif" id='area'/></td></tr></table> | ||
106 | - <table title="imprimir" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="imprimir" alt="" src="../imagens/branco.gif" id='imprimir'/></td></tr></table> | ||
107 | -</div> | ||
108 | -<!-- Variáveis globais e inicialização do mapa--> | ||
109 | -<script type="text/javascript"> | ||
110 | -/* | ||
111 | -Title: Interface simples 2 | ||
112 | - | ||
113 | -Interface alternativa para o i3Geo | ||
114 | - | ||
115 | -Exemplo: | ||
116 | - | ||
117 | -http://localhost/i3geo/ms_criamapa.php?interface=simples2.htm | ||
118 | -*/ | ||
119 | -/* | ||
120 | - Variable: g_locaplic | ||
121 | - | ||
122 | - Indica a localização correta do i3geo. | ||
123 | - | ||
124 | - É utilizada para identificar o local correto onde estão os programas em php que são utilizados. | ||
125 | -*/ | ||
126 | -g_locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
127 | -/* | ||
128 | - Variable: g_funcaoTip | ||
129 | - | ||
130 | - Função ajax que será executada para mostrar informações do tipo TIP. | ||
131 | - | ||
132 | - A função é executada pelo CPAINT e avaliada com "eval". | ||
133 | - | ||
134 | - Default: | ||
135 | - | ||
136 | - g_funcaoTip = "verificaTipDefault()"; | ||
137 | -*/ | ||
138 | - | ||
139 | -/* | ||
140 | - Variable: g_tempotip (opcional) | ||
141 | - | ||
142 | - Tempo utilizado para verificar se o mouse está parado. | ||
143 | - | ||
144 | - Se o mouse estiver parado, a função de mostrar tip é ativada. | ||
145 | - | ||
146 | - Default: | ||
147 | - | ||
148 | - g_tempotip = 1000; | ||
149 | -*/ | ||
150 | - | ||
151 | -/* | ||
152 | - Variable: g_tipotip | ||
153 | - | ||
154 | - Define como o tip será mostrado. | ||
155 | - | ||
156 | - Pode ser definida como "simples" ou "completo" | ||
157 | - | ||
158 | - Default: | ||
159 | - | ||
160 | - g_tipotip = "completo"; | ||
161 | -*/ | ||
162 | - | ||
163 | -/* | ||
164 | - Variable: g_tipoimagem | ||
165 | - | ||
166 | - Indica o tipo de filtro de imagem que está ativo. O filtro ativo é aplicado sobre a imagem toda a vez que o mapa é refeito. | ||
167 | - | ||
168 | - Default: | ||
169 | - | ||
170 | - g_tipoimagem = "nenhum"; | ||
171 | -*/ | ||
172 | - | ||
173 | -/* | ||
174 | - Variable: destacaTamanho | ||
175 | - | ||
176 | - Valor em pixel do retângulo de destaque de temas. | ||
177 | - | ||
178 | - Default: | ||
179 | - | ||
180 | - destacaTamanho = 75; | ||
181 | -*/ | ||
182 | - | ||
183 | -/* | ||
184 | - Variable: g_entorno | ||
185 | - | ||
186 | - Indica se o preenchimento do entorno do mapa está ou não ativo. | ||
187 | - | ||
188 | - Utilizado para criar o efeito de auto-preenchimento do mapa quando é executada a função pan. | ||
189 | - | ||
190 | - É alterada em uma opção específica no menu suspenso. | ||
191 | - | ||
192 | - Default: | ||
193 | - | ||
194 | - g_entorno = "nao"; | ||
195 | -*/ | ||
196 | - | ||
197 | -/* | ||
198 | - Variable: g_guiaativa | ||
199 | - | ||
200 | - Indica qual guia do mapa iniciará ativa. | ||
201 | - | ||
202 | - Default: | ||
203 | - | ||
204 | - g_guiaativa = "guia1"; | ||
205 | -*/ | ||
206 | - | ||
207 | -/* | ||
208 | - Variable: g_diminuixM | ||
209 | - | ||
210 | - Diminui a largura do mapa em pixels no caso do navegador ser o IE. | ||
211 | - | ||
212 | - Default: | ||
213 | - | ||
214 | - g_diminuixM = 20; | ||
215 | -*/ | ||
216 | - | ||
217 | -/* | ||
218 | - Variable: g_diminuixN | ||
219 | - | ||
220 | - Diminui a largura do mapa em pixels no caso do navegador ser o FF. | ||
221 | - | ||
222 | - Default: | ||
223 | - | ||
224 | - g_diminuixN = 20; | ||
225 | -*/ | ||
226 | -/* | ||
227 | - Variable: g_diminuiyM | ||
228 | - | ||
229 | - Diminui a altura do mapa em pixels no caso do navegador ser o IE. | ||
230 | - | ||
231 | - Default: | ||
232 | - | ||
233 | - g_diminuiyM = 150; | ||
234 | -*/ | ||
235 | - | ||
236 | -/* | ||
237 | - Variable: g_diminuiyN | ||
238 | - | ||
239 | - Diminui a altura do mapa em pixels no caso do navegador ser o FF. | ||
240 | - | ||
241 | - Default: | ||
242 | - | ||
243 | - g_diminuiyN = 120; | ||
244 | -*/ | ||
245 | - | ||
246 | -/* | ||
247 | - Variable: g_janelazoom | ||
248 | - | ||
249 | - Define se a barra de zoom será aberta no mapa. | ||
250 | - | ||
251 | - Default: | ||
252 | - | ||
253 | - g_janelazoom = "sim" | ||
254 | -*/ | ||
255 | - | ||
256 | -/* | ||
257 | - Variable: g_barraFerramentas1 | ||
258 | - | ||
259 | - Define se a barra de ferramentas 1 será mostrada | ||
260 | - | ||
261 | - Defaul: | ||
262 | - | ||
263 | - g_barraFerramentas1 = "sim" | ||
264 | -*/ | ||
265 | - | ||
266 | -/* | ||
267 | - Variable: g_barraFerramentas2 | ||
268 | - | ||
269 | - Define se a barra de ferramentas 2 será mostrada | ||
270 | - | ||
271 | - Defaul: | ||
272 | -*/ | ||
273 | -g_barraFerramentas2 = "nao" | ||
274 | - | ||
275 | -/* | ||
276 | - Variable: g_mapaRefDisplay | ||
277 | - | ||
278 | - Indica a visibilidade do mapa de referência na inicialização | ||
279 | - | ||
280 | - Pode ser "block" ou "none". | ||
281 | -*/ | ||
282 | -g_mapaRefDisplay = "none" | ||
283 | - | ||
284 | -/* | ||
285 | - Variable: g_docaguias | ||
286 | - | ||
287 | - Variável que define se o mapa deve iniciar com as guias em janela ou não. | ||
288 | - | ||
289 | - Default: | ||
290 | - | ||
291 | - g_docaguias = "nao"; | ||
292 | -*/ | ||
293 | - | ||
294 | -/* | ||
295 | - Variable: g_downloadbase | ||
296 | - | ||
297 | - Variável que define se na guia 2 será mostrada a opção de download. | ||
298 | - | ||
299 | - Default: | ||
300 | - | ||
301 | - g_downloadbase = "sim"; | ||
302 | -*/ | ||
303 | - | ||
304 | -/* | ||
305 | - Variable: g_conectargeorss | ||
306 | - | ||
307 | - Variável que define se na guia 2 será mostrada a opção de conexão com GeoRSS. | ||
308 | - | ||
309 | - Default: | ||
310 | - | ||
311 | - g_conectargeorss = "sim"; | ||
312 | -*/ | ||
313 | - | ||
314 | -/* | ||
315 | - Variable: g_uploadlocal | ||
316 | - | ||
317 | - Variável que define se na guia 2 será mostrada a opção de upload. | ||
318 | - | ||
319 | - Default: | ||
320 | - | ||
321 | - g_uploadlocal = "sim"; | ||
322 | -*/ | ||
323 | - | ||
324 | -/* | ||
325 | - Variable: g_conectarwms | ||
326 | - | ||
327 | - Variável que define se na guia 2 será mostrada a opção de conexão com WMS. | ||
328 | - | ||
329 | - Default: | ||
330 | - | ||
331 | - g_conectarwms = "sim"; | ||
332 | -*/ | ||
333 | - | ||
334 | -/* | ||
335 | - Variable: g_janelaMen | ||
336 | - | ||
337 | - Variável que define se a janela de mensagens começará aberta. | ||
338 | - | ||
339 | - Default: | ||
340 | - | ||
341 | - g_janelaMen = "sim"; | ||
342 | -*/ | ||
343 | - | ||
344 | -/* | ||
345 | - Variable: g_mostraRosa | ||
346 | - | ||
347 | - Variável que define se a rosa dos ventos deve ser mostrada junto ao mouse | ||
348 | - | ||
349 | - Default: | ||
350 | - | ||
351 | - g_mostraRosa = "sim" | ||
352 | -*/ | ||
353 | - | ||
354 | -/* | ||
355 | - Variable: g_opcoesTemas | ||
356 | - | ||
357 | - Variável que define se as opcoes adicionais de cada tema serao mostradas. | ||
358 | - | ||
359 | - Default: | ||
360 | - | ||
361 | - g_opcoesTemas = "sim"; | ||
362 | -*/ | ||
363 | - | ||
364 | -/* | ||
365 | - Variable: g_3dmap | ||
366 | - | ||
367 | - Variável que define o nome do map_file que possuí o layer para uso na função 3d. | ||
368 | - | ||
369 | - Pode ser caminho completo. Se não, busca no aplicmap. | ||
370 | -*/ | ||
371 | -; | ||
372 | - | ||
373 | -/* | ||
374 | - Variable: g_embedLegenda | ||
375 | - | ||
376 | - Indica se a legenda deve ser incluida no corpo do mapa. | ||
377 | - | ||
378 | - Default: | ||
379 | - | ||
380 | - g_embedLegenda = "nao"; | ||
381 | -*/ | ||
382 | - | ||
383 | -/* | ||
384 | -Variable: g_mashuppar | ||
385 | - | ||
386 | -Parâmetros de inicialização que podem ser utilizados na interface mashup. | ||
387 | - | ||
388 | -Os parâmetros são os mesmos que podem ser utilizados quando o i3geo é inicializado pelo ms_criamapa.php. | ||
389 | - | ||
390 | -Exemplo: g_mashuppar = "&pontos=-54 -12&temasa=biomas&layers=biomas" | ||
391 | - | ||
392 | -g_mashuppar = "&mapext=-53 -26 -42 -18"; | ||
393 | -*/ | ||
394 | - | ||
395 | -/* | ||
396 | - Variable: g_mensagempadrao | ||
397 | - | ||
398 | - Mensagem padrão que será mostrada na janela de mensagens. | ||
399 | - | ||
400 | - g_mensagempadrao = "O I3Geo é software livre! Para download clique <a href='http://mapas.mma.gov.br/download' target=blanck >aqui</a>"; | ||
401 | -*/ | ||
402 | - | ||
403 | -objmapa = new Mapa(); | ||
404 | - | ||
405 | -/* | ||
406 | -Variable: g_visual | ||
407 | - | ||
408 | -Indica qual o tipo de visual para abertura do mapa. | ||
409 | - | ||
410 | -Os visuais disponíveis são obtidos do diretório i3geo/imagens/visual na inicialização do i3geo. | ||
411 | -*/ | ||
412 | -g_visual = "default"; | ||
413 | - | ||
414 | -/* | ||
415 | -Variable: g_autoRedesenho | ||
416 | - | ||
417 | -Ativa o auto redesenho após um determinado tempo (milisegundos). | ||
418 | - | ||
419 | -Após decorrido o tempo definido, o mapa é redesenhado. Se for 0 o temporizador não é ativado. | ||
420 | -*/ | ||
421 | -g_autoRedesenho = 0; | ||
422 | - | ||
423 | -/* | ||
424 | - Variable: objmapa.guiaTemas | ||
425 | - | ||
426 | - Define qual div corresponde ao local de listagem das camadas disponíveis no mapa | ||
427 | -*/ | ||
428 | -objmapa.guiaTemas = "guia1" | ||
429 | - | ||
430 | -/* | ||
431 | - Variable: objmapa.guiaMenu | ||
432 | - | ||
433 | - Define qual div corresponde ao local de inclusão do menu de temas | ||
434 | -*/ | ||
435 | -objmapa.guiaMenu = "guia2"; | ||
436 | - | ||
437 | -/* | ||
438 | - Variable: objmapa.guiaLegenda | ||
439 | - | ||
440 | - Define qual div corresponde ao local onde será incluida a legenda em HTML | ||
441 | -*/ | ||
442 | -objmapa.guiaLegenda = "guia4"; | ||
443 | - | ||
444 | -/* | ||
445 | - Variable: objmapa.guiaListaMapas | ||
446 | - | ||
447 | - Define qual div corresponde ao local onde será colocada a lista de links para outros mapas | ||
448 | -*/ | ||
449 | -objmapa.guiaListaMapas = "guia5"; | ||
450 | - | ||
451 | -/* | ||
452 | - Este é um exemplo de como incluir opções que são executadas | ||
453 | - quando o usuário clica no mapa. | ||
454 | - Vc pode criar um botao novo, e quando ele for clicado, | ||
455 | - definir a variavel 'clicouBotaoTeste'. | ||
456 | - O objeto 'funcoesClickMapa' é um array que pode armazenar strigs. | ||
457 | - | ||
458 | - function teste() | ||
459 | - { | ||
460 | - g_tipoacao = ""; | ||
461 | - clicouBotaoTeste = "sim"; | ||
462 | - if (clicouBotaoTeste == "sim") | ||
463 | - {wdocaf("300px","280px",g_locaplic+'/ferramentas/exemplo/index.htm?x='+objposicaocursor.ddx+'&y='+objposicaocursor.ddy,"","","");} | ||
464 | - } | ||
465 | - objmapa.funcoesClickMapa.push("teste()") | ||
466 | -*/ | ||
467 | - | ||
468 | -/* | ||
469 | - Inicializa o mapa | ||
470 | -*/ | ||
471 | -objmapa.inicializa(); | ||
472 | -</script> | ||
473 | -</body> | ||
474 | -</html> | ||
475 | \ No newline at end of file | 0 | \ No newline at end of file |
aplicmap/zerocal.htm
@@ -1,117 +0,0 @@ | @@ -1,117 +0,0 @@ | ||
1 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | -<html> | ||
3 | -<head> | ||
4 | -<meta http-equiv="Category" content="I3Geo Mapa interativo MMA"> | ||
5 | -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
6 | -<title>MMA - Mapa interativo</title> | ||
7 | -<script type="text/javascript" src="../classesjs/zerocal/i3geo.js"></script> | ||
8 | -</head> | ||
9 | -<body id=i3geo > | ||
10 | -<center> | ||
11 | -<table id='mst' style=display:none width=100% cellspacing='0'> | ||
12 | -<!-- Inclui a barra superior. Se vc não quiser o menu, é só comentar --> | ||
13 | -<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | ||
14 | -<tr> | ||
15 | -<td> | ||
16 | - <table width=100% cellspacing=0 cellpadding=0 > | ||
17 | - <tr> | ||
18 | - <td> | ||
19 | - <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
20 | - <div id=guia1 class=guia >Temas</div> | ||
21 | - <div id=guia2 class=guia >Adiciona</div> | ||
22 | - <div id=guia4 class=guia >Legenda</div> | ||
23 | - <div id=guia5 class=guia >Mapas</div> | ||
24 | - </div> | ||
25 | - </td> | ||
26 | - </tr> | ||
27 | - </table> | ||
28 | -</td> | ||
29 | -<td style="text-align:left;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
30 | - <img title="desloca" alt="" src="../imagens/branco.gif" ID='pan'/> | ||
31 | - <img title="zoom" alt="" src="../imagens/branco.gif" id='zoomli'/> | ||
32 | - <img title="aproxima" alt="" src="../imagens/branco.gif" id='zoomiauto'/> | ||
33 | - <img title="afasta" alt="" src="../imagens/branco.gif" id='zoomoauto'/> | ||
34 | - <img title="geral" alt="" src="../imagens/branco.gif" ID='zoomtot'/> | ||
35 | - | ||
36 | - <img title="reinicia" alt="" src="../imagens/branco.gif" id='reinicia'/> | ||
37 | - <img title="referencia" alt="" src="../imagens/branco.gif" id='referencia'/> | ||
38 | - <img title="insere xy" alt="" src="../imagens/branco.gif" id='inserexy'/> | ||
39 | - <img title="insere grafico" alt="" src="../imagens/branco.gif" id='inseregrafico'/> | ||
40 | - <img title="texto" alt="" src="../imagens/branco.gif" id='textofid'/> | ||
41 | - <img title="selecao" alt="" src="../imagens/branco.gif" id='selecao'/> | ||
42 | - <img title="identifica" alt="" src="../imagens/branco.gif" id='identifica'/> | ||
43 | - <img title="info" alt="" src="../imagens/branco.gif" id='identificaBalao'/> | ||
44 | - | ||
45 | - | ||
46 | - <img title="lente" alt="" src="../imagens/branco.gif" id='lentei'/> | ||
47 | - <img title="scielo" alt="" src="../imagens/branco.gif" id='scielo'/> | ||
48 | - <img title="confluencias" alt="" src="../imagens/branco.gif" id='confluence'/> | ||
49 | - <img title="busca na wikipedia" alt="" src="../imagens/branco.gif" id='wiki'/> | ||
50 | - <img title="google" alt="" src="../imagens/branco.gif" id='google'/> | ||
51 | - <img title="3d" alt="" src="../imagens/branco.gif" id='v3d'/> | ||
52 | - <img title="extensao" alt="" src="../imagens/branco.gif" id="exten"/> | ||
53 | - <img title="mede" alt="" src="../imagens/branco.gif" id='mede'/> | ||
54 | - <img title="imprimir" alt="" src="../imagens/branco.gif" id='imprimir'/> | ||
55 | -</td> | ||
56 | -</tr> | ||
57 | -<tr> | ||
58 | - <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
59 | - <div id='guia1obj' ><div id=buscaRapida ></div><div id=listaPropriedades ></div><div id=listaTemas ></div></div> | ||
60 | - <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
61 | - <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
62 | - <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
63 | - </td> | ||
64 | - <td style="vertical-align:top;border-width:0px;"> | ||
65 | - <table width="100%" style="vertical-align:top;border-width:0px"> | ||
66 | - <tr><td class=verdeclaro id=contemImg > | ||
67 | - <div id=corpoMapa style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
68 | - </td></tr> | ||
69 | - </table> | ||
70 | - </td> | ||
71 | - </tr> | ||
72 | -<tr> | ||
73 | - <td class=tdbranca > | ||
74 | - <div id=bandeiras ></div> | ||
75 | - <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
76 | - </td> | ||
77 | - <td class=tdbranca > | ||
78 | - <table width=100% ><tr> | ||
79 | - <td class=tdbranca ><div id=localizarxy >Aguarde...</div></td> | ||
80 | - <td class=tdbranca ><div id=escala ></div></td> | ||
81 | - </tr></table> | ||
82 | - </td> | ||
83 | -</tr> | ||
84 | -<tr style="border:0px"><td colspan=3 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
85 | -</table> | ||
86 | -<a style=text-align:center;color:white href="mailto:edmar.moretti@mma.gov.br">Críticas e sugestões</a> | ||
87 | -</center> | ||
88 | -<script type="text/javascript"> | ||
89 | -/* | ||
90 | -Title: Interface zerocal | ||
91 | - | ||
92 | -Abre o i3geo com funcionalidades principais com um menor volume de scripts. | ||
93 | - | ||
94 | -Essa interface foi criada para atender aos usuários que não possuem conexão rápida com a internet. | ||
95 | - | ||
96 | -File: i3geo/aplicmap/zerocal.htm | ||
97 | - | ||
98 | -Exemplo: | ||
99 | - | ||
100 | -http://<host>/i3geo/ms_criamapa.php?interface=zerocal.htm | ||
101 | - | ||
102 | -*/ | ||
103 | -g_locaplic = "http://"+window.location.host+"/i3geo"; | ||
104 | -g_mapaRefDisplay = "block" | ||
105 | -; | ||
106 | -objmapa = new Mapa(); | ||
107 | -g_autoRedesenho = 0; | ||
108 | -objmapa.guiaTemas = "guia1" | ||
109 | -objmapa.guiaMenu = "guia2"; | ||
110 | -objmapa.guiaLegenda = "guia4"; | ||
111 | -objmapa.guiaListaMapas = "guia5"; | ||
112 | -i3GEO.idioma.IDSELETOR = "bandeiras" | ||
113 | -i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja" | ||
114 | -objmapa.inicializa(); | ||
115 | -</script> | ||
116 | -</body> | ||
117 | -</html> | ||
118 | \ No newline at end of file | 0 | \ No newline at end of file |
guia_de_migracao.txt
1 | GUIA DE UPDATES | 1 | GUIA DE UPDATES |
2 | ------------------------------------------------------------------------------------------------- | 2 | ------------------------------------------------------------------------------------------------- |
3 | +Para a versão 4.5 | ||
4 | + | ||
5 | + Os arquivos com as interfaces HTML dos diferentes mapas do i3Geo foram movidos do diretório | ||
6 | + i3geo/aplicmap para o diretório i3geo/interface. Caso existam links apontando diretamente para | ||
7 | + esses arquivos, vc pode simplesmente copiar os arquivos existentes na nova pasta para a antiga. | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | +------------------------------------------------------------------------------------------------- | ||
3 | Para a versão 4.4 | 12 | Para a versão 4.4 |
4 | 13 | ||
5 | Verifique se o PHP está configurado (php.ini) para permitir a passagem de parâmetros por referência | 14 | Verifique se o PHP está configurado (php.ini) para permitir a passagem de parâmetros por referência |
No preview for this file type
@@ -0,0 +1,75 @@ | @@ -0,0 +1,75 @@ | ||
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | +<html> | ||
3 | +<head> | ||
4 | +<meta http-equiv="Category" content="I3Geo Mapa interativo MMA"> | ||
5 | +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
6 | + <style type="text/css"> | ||
7 | + .olControlEditingToolbar { | ||
8 | + float:left; | ||
9 | + right: 0px; | ||
10 | + height:30px; | ||
11 | + width: 150px; | ||
12 | + } | ||
13 | +</style> | ||
14 | +<title>i3GEO - Flamingo</title> | ||
15 | +<!-- Leitura dos programas javaScript e estilos. Pode-se ler os arquivos não compactados, bastando excluir a palavra _compacto --> | ||
16 | +<script type="text/javascript" src="../classesjs/i3geonaocompacto.js"></script> | ||
17 | +<script type="text/javascript" src="../pacotes/flamingo/js/swfobject.js"></script> | ||
18 | +</head> | ||
19 | +<body id=i3geo > | ||
20 | +<center> | ||
21 | +<table id='mst' width=100% cellspacing='0'> | ||
22 | +<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | ||
23 | +<tr> | ||
24 | + <td class=tdbranca id=contemFerramentas style="border:0px;vertical-align:top;width:268px;text-align:left;"> | ||
25 | + <table width=100% cellspacing=0 cellpadding=0 > | ||
26 | + <tr><td style="background-color:white;border-bottom:0px solid rgb(230,230,230);height:45px"> | ||
27 | + <!-- Guias principais, não mude o ID, apenas o nome se for desejado --> | ||
28 | + <div style="top:0px;cursor:pointer;"> | ||
29 | + <div id=guia1 class=guia value="Mostra os temas atualmente inseridos no mapa e que podem estar visíveis ou não." > Temas </div> | ||
30 | + <div id=guia2 class=guia value="Mostra a lista de temas disponíveis no servidor de dados, possibilitando que novos temas sejam adicionados ao mapa."> Adiciona </div> | ||
31 | + <div id=guia4 class=guia value="Mostra a legnda do mapa atual." > Legenda </div> | ||
32 | + </div> | ||
33 | + </td></tr> | ||
34 | + </table> | ||
35 | + <div id='guia1obj' ><div id=listaTemas ></div></div> | ||
36 | + <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
37 | + <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
38 | + </td> | ||
39 | + <td class=verdeclaro style="background-color:white;vertical-align:top;border-width:0px;"> | ||
40 | + <table width="100%" style="vertical-align:top;"> | ||
41 | + <!-- Corpo do mapa. Pode ser reposicionado, mas não mude os IDs --> | ||
42 | + <tr><td></td></tr> | ||
43 | + <tr><td class=verdeclaro id=contemImg > | ||
44 | + <div id=flamingo style="text-align:left;background-image:url('../imagens/i3geo1bw.jpg')"></div> | ||
45 | + </td></tr> | ||
46 | + </table> | ||
47 | + </td> | ||
48 | + </tr> | ||
49 | +<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
50 | +</table> | ||
51 | +</center> | ||
52 | +<!-- Variáveis globais e inicialização do mapa--> | ||
53 | +<script type="text/javascript"> | ||
54 | +/* | ||
55 | +Title: Flamingo | ||
56 | + | ||
57 | +Abre o i3geo com a navegação controlada pelo Flamingo. | ||
58 | + | ||
59 | +File: i3geo/aplicmap/flamingo.htm | ||
60 | + | ||
61 | +Exemplo: | ||
62 | + | ||
63 | +http://localhost/i3geo/ms_criamapa.php?interface=flamingo.htm | ||
64 | + | ||
65 | +*/ | ||
66 | +g_locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
67 | +i3GEO.configura.mapaRefDisplay = "none"; | ||
68 | +i3GEO.interface.ATUAL = "flamingo"; | ||
69 | +i3GEO.interface.IDCORPO = "contemImg"; | ||
70 | +i3GEO.cria(); | ||
71 | +i3GEO.inicia(); | ||
72 | +</script> | ||
73 | + | ||
74 | +</body> | ||
75 | +</html> | ||
0 | \ No newline at end of file | 76 | \ No newline at end of file |
@@ -0,0 +1,235 @@ | @@ -0,0 +1,235 @@ | ||
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | +<html> | ||
3 | +<head> | ||
4 | +<meta NAME="keywords" content="mapserver,i3geo,mapas interativos,geoprocessamento,software livre, software publico, gpl"> | ||
5 | +<meta NAME="description" content="i3Geo - baseado no Mapserver, é um software livre para criação de mapas interativos e geoprocessamento - licenciado sob GPL e Software Publico"> | ||
6 | +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
7 | +<title>i3Geo</title> | ||
8 | +<!-- | ||
9 | + Leitura dos programas javaScript e estilos. | ||
10 | + Os códigos do i3geo são compactados para tornar o carregamento mais rápido. | ||
11 | + Se vc alterar os códigos originais, não se esqueça de compactá-los com classesjs/compactajs.php. | ||
12 | + Para depurar o código sem ter de compactá-los, substitua na linha abaixo | ||
13 | + o arquivo i3geo.js por i3geonaocompacto.js | ||
14 | + No modo não compactado o código está adaptado para uso com o Firebug do Firefox. | ||
15 | +--> | ||
16 | +<script type="text/javascript" src="../classesjs/i3geo.js"></script> | ||
17 | +<style> | ||
18 | +.yui-log .i3geo {background-color:yellow;} /* customize a color */ | ||
19 | +.yui-log .redesenho {background-color:yellow;} /* customize a color */ | ||
20 | +.yui-log .janela {background-color:yellow;} /* customize a color */ | ||
21 | +.yui-log-bd {text-align:left;} | ||
22 | +.yui-log-entry yui-log-verbose, p{text-align:left;} | ||
23 | + .info {text-align:left;} | ||
24 | +</style> | ||
25 | +</head> | ||
26 | +<body id="i3geo"> | ||
27 | + | ||
28 | +<table id='mst' summary="" style='display:none;' width=100% cellspacing='0' > | ||
29 | + | ||
30 | +<!-- | ||
31 | + Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR | ||
32 | +--> | ||
33 | +<tr style="border:0px"> | ||
34 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | ||
35 | +</tr> | ||
36 | +<tr> | ||
37 | +<td> | ||
38 | + <table width=100% cellspacing=0 cellpadding=0 > | ||
39 | + <tr> | ||
40 | + <td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td> | ||
41 | + <td> | ||
42 | + <!-- | ||
43 | + Guias principais, não mude o ID | ||
44 | + --> | ||
45 | + | ||
46 | + <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
47 | + <div id=guia1 class=guia ></div> | ||
48 | + <div id=guia2 class=guia ></div> | ||
49 | + <div id=guia4 class=guia ></div> | ||
50 | + <div id=guia5 class=guia ></div> | ||
51 | + </div> | ||
52 | + </td> | ||
53 | + | ||
54 | + </tr> | ||
55 | + </table> | ||
56 | +</td> | ||
57 | +<td id="contemMenu" style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
58 | + <!-- | ||
59 | + menu suspenso | ||
60 | + --> | ||
61 | + <div id="menus" ></div> | ||
62 | +</td> | ||
63 | +</tr> | ||
64 | +<tr> | ||
65 | + <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
66 | + <!-- | ||
67 | + Esta div acrescenta a lista de propriedades do mapa, caso vc queira colocá-la em um lugar específico | ||
68 | + --> | ||
69 | + | ||
70 | + <!--<div id=listaPropriedades ></div>--> | ||
71 | + <!-- | ||
72 | + Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico | ||
73 | + --> | ||
74 | + <!-- <div id=buscaRapida ></div> --> | ||
75 | + <!-- | ||
76 | + As divs guiaNobj guardam o conteúdo que é mostrado quando a guia é clicada | ||
77 | + Para cada botão na guia deve haver um div com o conteúdo, pe. | ||
78 | + o div com id=guia1 deve ter um div com id=guia1obj | ||
79 | + --> | ||
80 | + <div id='guia1obj' > | ||
81 | + <div style='left:5px;top:10px;' id=buscaRapida ></div> | ||
82 | + <div id=listaPropriedades style='top:15px;' ></div> | ||
83 | + <div id=listaTemas style='top:15px;'></div> | ||
84 | + <!-- se vc quiser colocar a arvore de adição de temas em um lugar específico, use o div abaixo, caso contrário, a árvore será colocada na guia definida em objmapa.guiaMenu | ||
85 | + <div id=arvoreAdicionaTema style='top:25px;' ></div> | ||
86 | + <div id=outrasOpcoesAdiciona style='top:25px;' ></div> | ||
87 | + --> | ||
88 | + </div> | ||
89 | + | ||
90 | + <div id='guia2obj' style='display:none;'>Aguarde...<img alt="aguarde" src="../imagens/branco.gif" width=248 /></div> | ||
91 | + <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
92 | + <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
93 | + </td> | ||
94 | + <td style="vertical-align:top;border-width:0px;"> | ||
95 | + <table width="100%" style="vertical-align:top;border-width:0px"> | ||
96 | + <!-- | ||
97 | + Corpo do mapa. Pode ser reposicionado, mas não mude os IDs. Se vc quiser que o mapa tenha um tamanho específico, inclua o estilo, exemplo, style=width:300px;height:300px | ||
98 | + Vc pode usar o estilo para definir o tamanho do mapa. Se não tiver estilo definido, o tamanho será automático | ||
99 | + --> | ||
100 | + <tr><td class=verdeclaro id=contemImg > | ||
101 | + | ||
102 | + <div id=corpoMapa style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
103 | + </td></tr> | ||
104 | + </table> | ||
105 | + </td> | ||
106 | + </tr> | ||
107 | +<!-- | ||
108 | +Mostra as coordenadas conforme o mouse é movimentado | ||
109 | +--> | ||
110 | +<!-- <div class=pcenter10 id='longlat'>Longitude e latitude</div> --> | ||
111 | +<!-- | ||
112 | +Escala gráfica. Pode ser excluída. | ||
113 | +--> | ||
114 | +<!-- <div id="escalaGrafica" style="text-align:left"></div> --> | ||
115 | +<!-- | ||
116 | +vc pode optar por colocar mensagens de ajuda em algum lugar | ||
117 | +--> | ||
118 | +<!-- | ||
119 | +<tr><td colspan=2 ><div id=i3geo_ajuda class=verdeescuro style="text-align:left;" >I3Geo</div></td></tr> | ||
120 | +--> | ||
121 | +<tr> | ||
122 | + | ||
123 | + <td class=tdbranca > | ||
124 | + <!-- | ||
125 | + Nesse div são incluídos os ícones que permitem ao usuário modificar o visual de cores dos ícones | ||
126 | + <div id=visual ></div> | ||
127 | + --> | ||
128 | + <!-- aqui serão incluídas as bandeiras que permitem a troca de idioma --> | ||
129 | + <div id="seletorIdiomas" ></div> | ||
130 | + <!-- aqui será incluído o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> | ||
131 | + <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
132 | + </td> | ||
133 | + <td class=tdbranca > | ||
134 | + <table width=100% ><tr> | ||
135 | + <td class=tdbranca ><div id=lugarquadros ></div></td> | ||
136 | + <td class=tdbranca style=text-align:center > | ||
137 | + <!-- aqui será incluído o gadget que mostra a coordenada geográfica da posição do mouse --> | ||
138 | + <div id=localizarxy style="text-align:left;font-size:10px;">Aguarde...</div> | ||
139 | + </td> | ||
140 | + <td class=tdbranca > | ||
141 | + <!-- aqui será incluída a escala numérica --> | ||
142 | + <div id=escala ></div> | ||
143 | + </td> | ||
144 | + <!-- | ||
145 | + A opção de localização 'onde estou?' baseia-se na identificação do IP do usuário. Para | ||
146 | + que esta opção funcione corretamente, deve estar instalado no I3Geo o pacote geoIP. Veja no | ||
147 | + SVN do portal do software público o diretório arquivos_versões/pacotes para maiores informações | ||
148 | + --> | ||
149 | + <td class=tdbranca ><div id=ondeestou ></div></td> | ||
150 | + </tr> | ||
151 | + <!-- esta div recebe o cálculo do posicionamento do mouse em coordenadas UTM | ||
152 | + As coordenadas UTM apenas serão mostradas nessa div se o parâmetro | ||
153 | + i3GEO.gadgets.mostraCoordenadasUTM.idhtml for diferente de i3GEO.gadgets.mostraCoordenadasGEO.idhtml | ||
154 | + se os IDs forem iguais, o tipo de coordenada mostrada será intercalada, ora UTM ora GEO. | ||
155 | + <tr><td></td><td class="tdbranca"><div style="text-align:left;font-size:8px;background-color:white;display:none;" id=mostraUTM ></div></td><td></td></tr> | ||
156 | + --> | ||
157 | + </table> | ||
158 | + </td> | ||
159 | +</tr> | ||
160 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
161 | +<!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> | ||
162 | +<tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> | ||
163 | +<tr style="border:0px"><td colspan=3 style=background-color:black;color:white >geoprocessamento@mma.gov.br</td></tr> | ||
164 | +</table> | ||
165 | + | ||
166 | +<center> | ||
167 | +<br><br> | ||
168 | +<table> | ||
169 | +<tr> | ||
170 | + <td><center><h1><div id=versaoi3geo ></div><h2>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> | ||
171 | +</tr> | ||
172 | +<tr> | ||
173 | + <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> | ||
174 | +</tr> | ||
175 | +<tr> | ||
176 | + <td><center> | ||
177 | + <script type="text/javascript" src="http://www.ohloh.net/p/150688/widgets/project_users.js?style=red"></script> | ||
178 | + </td> | ||
179 | +</tr> | ||
180 | +</table> | ||
181 | +<script type="text/javascript"> | ||
182 | +/* | ||
183 | +Title: Interface normal | ||
184 | + | ||
185 | +Abre o i3geo com todas as suas funcionalidades. | ||
186 | + | ||
187 | +File: i3geo/aplicmap/geral.htm | ||
188 | + | ||
189 | +Exemplo: | ||
190 | + | ||
191 | +http://<host>/i3geo/ms_criamapa.php | ||
192 | + | ||
193 | +Para definir quais botões das barras de ferramentas serão incluídos no mapa, veja: <classe_barradebotoes.js> i3GEO.barraDeBotoes.INCLUIBOTAO | ||
194 | + | ||
195 | +*/ | ||
196 | +/* | ||
197 | +i3GEO.configura.locaplic indica a localização correta do i3geo. | ||
198 | + | ||
199 | +Se vc instalou o i3geo em um diretório diferente do normal, altere o valor da variável abaixo. | ||
200 | + | ||
201 | +Por exemplo, se vc instalou no diretório "i3geoteste", modifique para: | ||
202 | + | ||
203 | +i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geoteste"; | ||
204 | +*/ | ||
205 | +i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
206 | + | ||
207 | +i3GEO.cria() | ||
208 | + | ||
209 | +i3GEO.barraDeBotoes.AUTOALTURA = false | ||
210 | +i3GEO.barraDeBotoes.ATIVAMENUCONTEXTO = true | ||
211 | +i3GEO.barraDeBotoes.PERMITEFECHAR = true | ||
212 | +i3GEO.barraDeBotoes.PERMITEDESLOCAR = true | ||
213 | +i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja" | ||
214 | +i3GEO.barraDeBotoes.AUTO = true //as barras de botões serão construídas automaticamente | ||
215 | + | ||
216 | +i3GEO.idioma.IDSELETOR = "seletorIdiomas" | ||
217 | +i3GEO.interface.ATIVAMENUCONTEXTO = true; | ||
218 | + | ||
219 | +//i3GEO.gadgets.PARAMETROS.mostraCoordenadasUTM.idhtml = ""; | ||
220 | + | ||
221 | +i3GEO.inicia(); | ||
222 | +// | ||
223 | +//inclui um tema via javascript | ||
224 | +/* | ||
225 | +var temp = function(){alert("oi");i3GEO.atualiza();} | ||
226 | +i3GEO.php.ligatemas(temp,"","biomashp","sim"); | ||
227 | +*/ | ||
228 | + | ||
229 | +//esconde a opção de inclusão da escala quando a resolução da tela for muito pequena | ||
230 | +if($i("escala") && i3GEO.parametros.w < 500) | ||
231 | +{$i("escala").style.display="none";} | ||
232 | +</script> | ||
233 | +</body> | ||
234 | + | ||
235 | +</html> | ||
0 | \ No newline at end of file | 236 | \ No newline at end of file |
@@ -0,0 +1,164 @@ | @@ -0,0 +1,164 @@ | ||
1 | +<?php | ||
2 | +include_once("../ms_configura.php"); | ||
3 | +?> | ||
4 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
5 | +<html> | ||
6 | +<head> | ||
7 | +<meta http-equiv="Category" content="I3Geo Mapa interativo MMA"> | ||
8 | +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
9 | + <style type="text/css"> | ||
10 | + .olControlEditingToolbar { | ||
11 | + float:left; | ||
12 | + right: 0px; | ||
13 | + height:30px; | ||
14 | + width: 150px; | ||
15 | + } | ||
16 | +</style> | ||
17 | +<title>i3GEO - Google Earth</title> | ||
18 | +<script type="text/javascript" src="http://www.google.com/jsapi?key=<?php echo $googleApiKey; ?>"></script> | ||
19 | +<script type="text/javascript" src="../classesjs/i3geo.js"></script> | ||
20 | +</head> | ||
21 | +<body id="i3geo" > | ||
22 | +<center> | ||
23 | +<table id='mst' summary="" style='display:none' width=100% cellspacing='0'> | ||
24 | +<tr style="border:0px"> | ||
25 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | ||
26 | +</tr> | ||
27 | +<tr> | ||
28 | +<td> | ||
29 | + <table width=100% cellspacing=0 cellpadding=0 > | ||
30 | + <tr> | ||
31 | + <td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td> | ||
32 | + <td> | ||
33 | + <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
34 | + <div id=guia1 class=guia ></div> | ||
35 | + <div id=guia2 class=guia ></div> | ||
36 | + <div id=guia4 class=guia ></div> | ||
37 | + <div id=guia5 class=guia ></div> | ||
38 | + </div> | ||
39 | + </td> | ||
40 | + </tr> | ||
41 | + </table> | ||
42 | +</td> | ||
43 | +<td id="contemMenu" style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
44 | + <div id="menus" ></div> | ||
45 | +</td> | ||
46 | +</tr> | ||
47 | +<tr> | ||
48 | + <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
49 | + <div id='guia1obj' > | ||
50 | + <div style='left:5px;top:10px;' id=buscaRapida ></div> | ||
51 | + <div id=listaPropriedades style='top:15px;' ></div> | ||
52 | + <div id=listaTemas style='top:15px;'></div> | ||
53 | + </div> | ||
54 | + <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
55 | + <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
56 | + <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
57 | + </td> | ||
58 | + <td style="vertical-align:top;border-width:0px;"> | ||
59 | + <table width="100%" style="vertical-align:top;border-width:0px"> | ||
60 | + <tr><td class=verdeclaro id=contemImg > | ||
61 | + <div id=googleearth style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
62 | + </td></tr> | ||
63 | + </table> | ||
64 | + </td> | ||
65 | + </tr> | ||
66 | +<tr> | ||
67 | + <td class=tdbranca > | ||
68 | + <div id="seletorIdiomas" ></div> | ||
69 | + <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
70 | + </td> | ||
71 | + <td class=tdbranca > | ||
72 | + <table width=100% ><tr> | ||
73 | + <td class=tdbranca > | ||
74 | + </td> | ||
75 | + <td class=tdbranca style=text-align:center > | ||
76 | + <div id=escala ></div> | ||
77 | + </td> | ||
78 | + <td class=tdbranca > | ||
79 | + <div id=inserirKml ></div> | ||
80 | + </td> | ||
81 | + <td class=tdbranca > | ||
82 | + <div id=localizarxy ></div> | ||
83 | + </td> | ||
84 | + </tr> | ||
85 | + <tr><td></td><td class="tdbranca"><div style="text-align:left;font-size:10px;background-color:white;display:none;" id=mostraUTM ></div></td><td></td></tr> | ||
86 | + </table> | ||
87 | + </td> | ||
88 | +</tr> | ||
89 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
90 | +<tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> | ||
91 | +<tr style="border:0px"><td colspan=3 style=background-color:black;color:white >geoprocessamento@mma.gov.br</td></tr> | ||
92 | +</table> | ||
93 | +</center> | ||
94 | +<center> | ||
95 | +<br><br> | ||
96 | +<table> | ||
97 | +<tr> | ||
98 | + <td><center><h1><div id=versaoi3geo ></div><h2>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> | ||
99 | +</tr> | ||
100 | +<tr> | ||
101 | + <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> | ||
102 | +</tr> | ||
103 | +<tr> | ||
104 | + <td><center> | ||
105 | + <script type="text/javascript" src="http://www.ohloh.net/p/150688/widgets/project_users.js?style=red"></script> | ||
106 | + </td> | ||
107 | +</tr> | ||
108 | +</table> | ||
109 | +<script type="text/javascript"> | ||
110 | +/* | ||
111 | +Title: Google Earth (experimental) | ||
112 | + | ||
113 | +Abre o i3geo com a navegação controlada pelo Google Earth em 3d. | ||
114 | + | ||
115 | +File: i3geo/aplicmap/googleearth.htm | ||
116 | + | ||
117 | +Exemplo: | ||
118 | + | ||
119 | +http://localhost/i3geo/ms_criamapa.php?interface=googleearth.phtml | ||
120 | + | ||
121 | +*/ | ||
122 | +i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
123 | +g_mapaRefDisplay = "none" | ||
124 | +g_janelaMen = "nao"; | ||
125 | +g_mostraRosa = "nao" | ||
126 | +g_opcoesTemas = "sim"; | ||
127 | +i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja" | ||
128 | +i3GEO.Interface.ATUAL = "googleearth"; | ||
129 | +i3GEO.Interface.IDCORPO = "contemImg"; | ||
130 | +i3GEO.barraDeBotoes.INCLUIBOTAO = { | ||
131 | + identifica: true, | ||
132 | + identificaBalao: true, | ||
133 | + mede: true, | ||
134 | + area: false, | ||
135 | + imprimir: true, | ||
136 | + reinicia: false, | ||
137 | + exten: true, | ||
138 | + referencia: false, | ||
139 | + inserexy: true, | ||
140 | + textofid: true, | ||
141 | + selecao: true, | ||
142 | + google: false, | ||
143 | + buscafotos: true, | ||
144 | + wiki: true, | ||
145 | + metar: true, | ||
146 | + lentei: false, | ||
147 | + confluence: true, | ||
148 | + inseregrafico: true, | ||
149 | + v3d: true | ||
150 | +}; | ||
151 | +i3GEO.barraDeBotoes.BOTAOPADRAO = ""; | ||
152 | +i3GEO.barraDeBotoes.AUTO = true | ||
153 | +i3GEO.arvoreDeTemas.TIPOBOTAO = "radio"; | ||
154 | +i3GEO.arvoreDeTemas.ATIVATEMAIMEDIATO = true; | ||
155 | +i3GEO.barraDeBotoes.AJUDA = true; | ||
156 | +i3GEO.mapa.legendaHTML.incluiBotaoLibera = false; | ||
157 | + | ||
158 | +i3GEO.cria(); | ||
159 | +i3GEO.inicia(); | ||
160 | + | ||
161 | +</script> | ||
162 | + | ||
163 | +</body> | ||
164 | +</html> | ||
0 | \ No newline at end of file | 165 | \ No newline at end of file |
@@ -0,0 +1,148 @@ | @@ -0,0 +1,148 @@ | ||
1 | +<?php | ||
2 | +include_once("../ms_configura.php"); | ||
3 | +?> | ||
4 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
5 | +<html> | ||
6 | +<head> | ||
7 | +<meta http-equiv="Category" content="I3Geo Mapa interativo MMA"> | ||
8 | +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
9 | + <style type="text/css"> | ||
10 | + .olControlEditingToolbar { | ||
11 | + float:left; | ||
12 | + right: 0px; | ||
13 | + height:30px; | ||
14 | + width: 150px; | ||
15 | + } | ||
16 | +</style> | ||
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/i3geo.js"></script> | ||
20 | +</head> | ||
21 | +<body id="i3geo" > | ||
22 | +<center> | ||
23 | +<table id='mst' summary="" style='display:none' width=100% cellspacing='0'> | ||
24 | +<tr style="border:0px"> | ||
25 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | ||
26 | +</tr> | ||
27 | +<tr> | ||
28 | +<td> | ||
29 | + <table width=100% cellspacing=0 cellpadding=0 > | ||
30 | + <tr> | ||
31 | + <td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td> | ||
32 | + <td> | ||
33 | + <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
34 | + <div id=guia1 class=guia ></div> | ||
35 | + <div id=guia2 class=guia ></div> | ||
36 | + <div id=guia4 class=guia ></div> | ||
37 | + <div id=guia5 class=guia ></div> | ||
38 | + </div> | ||
39 | + </td> | ||
40 | + </tr> | ||
41 | + </table> | ||
42 | +</td> | ||
43 | +<td id="contemMenu" style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
44 | + <div id="menus" ></div> | ||
45 | +</td> | ||
46 | +</tr> | ||
47 | +<tr> | ||
48 | + <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
49 | + <div id='guia1obj' > | ||
50 | + <div style='left:5px;top:10px;' id=buscaRapida ></div> | ||
51 | + <div id=listaPropriedades style='top:15px;' ></div> | ||
52 | + <div id=listaTemas style='top:15px;'></div> | ||
53 | + </div> | ||
54 | + <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
55 | + <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
56 | + <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
57 | + </td> | ||
58 | + <td style="vertical-align:top;border-width:0px;"> | ||
59 | + <table width="100%" style="vertical-align:top;border-width:0px"> | ||
60 | + <tr><td class=verdeclaro id=contemImg > | ||
61 | + <div id=googlemapsdiv style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
62 | + </td></tr> | ||
63 | + </table> | ||
64 | + </td> | ||
65 | + </tr> | ||
66 | +<tr> | ||
67 | + <td class=tdbranca > | ||
68 | + <div id="seletorIdiomas" ></div> | ||
69 | + <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
70 | + </td> | ||
71 | + <td class=tdbranca > | ||
72 | + <table width=100% ><tr> | ||
73 | + <td class=tdbranca > | ||
74 | + </td> | ||
75 | + <td class=tdbranca style=text-align:center > | ||
76 | + <div id=escala ></div> | ||
77 | + </td> | ||
78 | + <td class=tdbranca > | ||
79 | + <div id=inserirKml ></div> | ||
80 | + </td> | ||
81 | + <td class=tdbranca > | ||
82 | + <div id=localizarxy ></div> | ||
83 | + </td> | ||
84 | + </tr> | ||
85 | + <tr><td></td><td class="tdbranca"><div style="text-align:left;font-size:10px;background-color:white;display:none;" id=mostraUTM ></div></td><td></td></tr> | ||
86 | + </table> | ||
87 | + </td> | ||
88 | +</tr> | ||
89 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
90 | +<tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> | ||
91 | +<tr style="border:0px"><td colspan=3 style=background-color:black;color:white >geoprocessamento@mma.gov.br</td></tr> | ||
92 | +</table> | ||
93 | +</center> | ||
94 | +<center> | ||
95 | +<br><br> | ||
96 | +<table> | ||
97 | +<tr> | ||
98 | + <td><center><h1><div id=versaoi3geo ></div><h2>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> | ||
99 | +</tr> | ||
100 | +<tr> | ||
101 | + <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> | ||
102 | +</tr> | ||
103 | +<tr> | ||
104 | + <td><center> | ||
105 | + <script type="text/javascript" src="http://www.ohloh.net/p/150688/widgets/project_users.js?style=red"></script> | ||
106 | + </td> | ||
107 | +</tr> | ||
108 | +</table> | ||
109 | +<script type="text/javascript"> | ||
110 | +/* | ||
111 | +Title: Google Maps | ||
112 | + | ||
113 | +Abre o i3geo com a navegação controlada pelo Google Maps. | ||
114 | + | ||
115 | +Arquivo: i3geo/aplicmap/googlemaps.phtml | ||
116 | + | ||
117 | +Exemplo: | ||
118 | + | ||
119 | +http://localhost/i3geo/aplicmap/googlemaps.phtml | ||
120 | + | ||
121 | +*/ | ||
122 | +i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
123 | + | ||
124 | +i3GEO.Interface.ATUAL = "googlemaps"; | ||
125 | +i3GEO.Interface.IDCORPO = "contemImg"; | ||
126 | +i3GEO.configura.diminuixN = 20; | ||
127 | + | ||
128 | +i3GEO.cria(); | ||
129 | + | ||
130 | +i3GEO.barraDeBotoes.AUTOALTURA = false; | ||
131 | +i3GEO.barraDeBotoes.ATIVAMENUCONTEXTO = false; | ||
132 | +i3GEO.barraDeBotoes.PERMITEFECHAR = true; | ||
133 | +i3GEO.barraDeBotoes.PERMITEDESLOCAR = true; | ||
134 | +i3GEO.barraDeBotoes.AUTO = true; | ||
135 | +i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja"; | ||
136 | + | ||
137 | +i3GEO.Interface.BARRABOTOESLEFT = 80; | ||
138 | +i3GEO.Interface.BARRABOTOESTOP = 20; | ||
139 | + | ||
140 | +i3GEO.idioma.IDSELETOR = "seletorIdiomas"; | ||
141 | +i3GEO.Interface.ATIVAMENUCONTEXTO = true; | ||
142 | +i3GEO.arvoreDeTemas.TIPOBOTAO = "radio"; | ||
143 | +i3GEO.arvoreDeTemas.ATIVATEMAIMEDIATO = true; | ||
144 | + | ||
145 | +i3GEO.inicia(); | ||
146 | +</script> | ||
147 | +</body> | ||
148 | +</html> | ||
0 | \ No newline at end of file | 149 | \ No newline at end of file |
@@ -0,0 +1,116 @@ | @@ -0,0 +1,116 @@ | ||
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | +<html> | ||
3 | +<head> | ||
4 | +<meta http-equiv="Category" content="I3Geo Mapa interativo MMA geoprocessamento sig mobile"> | ||
5 | +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
6 | +<title>i3Geo - Mapa interativo</title> | ||
7 | + | ||
8 | +<!-- Leitura dos programas javaScript e estilos individualmente. Pode-se ler os | ||
9 | +arquivos não compactados, bastando substituir por i3geonaocompacto --> | ||
10 | +<script type="text/javascript" src="../classesjs/i3geo.js"></script> | ||
11 | + | ||
12 | +<!-- | ||
13 | +<style> | ||
14 | +#box1 | ||
15 | +{font-size:0px;cursor:crosshair;opacity:.25;background-color: gray;position: absolute;visibility: hidden;width: 0px;height: 0px;border: 2px solid green;} | ||
16 | +</style> | ||
17 | +--> | ||
18 | + | ||
19 | +</head> | ||
20 | +<body id=i3geo > | ||
21 | +<center> | ||
22 | +<table id='mst' style=display:none width=100% cellspacing='0'> | ||
23 | +<!-- Inclui a barra superior. Se vc não quiser o menu, é só comentar --> | ||
24 | +<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | ||
25 | +<tr> | ||
26 | +<td> | ||
27 | +</td> | ||
28 | +<td style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
29 | +</td> | ||
30 | +</tr> | ||
31 | +<tr> | ||
32 | + <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
33 | + <!-- Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico | ||
34 | + <div id=buscaRapida ></div> | ||
35 | + --> | ||
36 | + <div id='guia1obj' ><div style='left:5px;top:10px;' id=buscaRapida ></div><div id=listaTemas style='top:15px;'></div></div> | ||
37 | + <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
38 | + <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
39 | + <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
40 | + </td> | ||
41 | + <td style="vertical-align:top;border-width:0px;"> | ||
42 | + <table width="100%" style="vertical-align:top;border-width:0px"> | ||
43 | + <!-- Corpo do mapa. Pode ser reposicionado, mas não mude os IDs. Se vc quiser que o mapa tenha um tamanho específico, inclua o estilo, exemplo, style=width:300px;height:300px --> | ||
44 | + <tr><td class=verdeclaro id=contemImg > | ||
45 | + <div id=corpoMapa style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
46 | + </td></tr> | ||
47 | + </table> | ||
48 | + | ||
49 | + </td> | ||
50 | + </tr> | ||
51 | +<!-- Mostra as coordenadas conforme o mouse é movimentado | ||
52 | + <div class=pcenter10 id='longlat'>Longitude e latitude</div> | ||
53 | +--> | ||
54 | +<!-- Escala gráfica. Pode ser excluída. | ||
55 | + <div id="escalaGrafica" style="text-align:left"></div> | ||
56 | +--> | ||
57 | +<!--- vc pode optar por colocar mensagens de ajuda em algum lugar | ||
58 | +<tr><td colspan=2 ><div id=ajuda class=verdeescuro style="text-align:left;" >I3Geo</div></td></tr> | ||
59 | +--> | ||
60 | +<tr> | ||
61 | + <td class=tdbranca > | ||
62 | + <div id=visual ></div> | ||
63 | + <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
64 | + </td> | ||
65 | + <td class=tdbranca > | ||
66 | + <table width=100% ><tr> | ||
67 | + <td class=tdbranca ><div id=lugarquadros ></div></td> | ||
68 | + <td class=tdbranca ><div id=localizarxy >Aguarde...</div></td> | ||
69 | + <td class=tdbranca ><div id=escala ></div></td> | ||
70 | + <!-- A opção de localização 'onde estou?' baseia-se na identificação do IP do usuário. Para | ||
71 | + que esta opção funcione corretamente, deve estar instalado no I3Geo o pacote geoIP. Veja no | ||
72 | + SVN do portal do software público o diretório arquivos_versões/pacotes para maiores informações --> | ||
73 | + <td class=tdbranca ><div id=ondeestou ></div></td> | ||
74 | + </tr></table> | ||
75 | + </td> | ||
76 | +</tr> | ||
77 | +<tr style="border:0px"><td colspan=3 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
78 | +</table> | ||
79 | +<a style=text-align:center;color:white href="mailto:edmar.moretti@mma.gov.br">Críticas e sugestões</a> | ||
80 | +</center> | ||
81 | +<!-- barra de botoes que serão incluídos na janela móvel de navegação --> | ||
82 | +<div id=barraDeBotoes1 style='display:none'> | ||
83 | + <table title="zoom" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="zoom" alt="" src="../imagens/branco.gif" id='zoomli'/></td></tr></table> | ||
84 | + <table title="desloca" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="desloca" alt="" src="../imagens/branco.gif" ID='pan'/></td></tr></table> | ||
85 | + <table title="info" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="info" alt="" src="../imagens/branco.gif" id='identifica'/></td></tr></table> | ||
86 | + <table title="geral" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="geral" alt="" src="../imagens/branco.gif" ID='zoomtot'/></td></tr></table> | ||
87 | + <table title="extensao" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="extensao" alt="" src="../imagens/branco.gif" id="exten"/></td></tr></table> | ||
88 | + <table title="mede" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="mede" alt="" src="../imagens/branco.gif" id='mede'/></td></tr></table> | ||
89 | + <table title="area" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="area" alt="" src="../imagens/branco.gif" id='area'/></td></tr></table> | ||
90 | + <table title="imprimir" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="imprimir" alt="" src="../imagens/branco.gif" id='imprimir'/></td></tr></table> | ||
91 | +</div> | ||
92 | +<!-- Variáveis globais e inicialização do mapa--> | ||
93 | +<script type="text/javascript"> | ||
94 | +/* | ||
95 | +Title: Interface minima | ||
96 | + | ||
97 | +Interface alternativa para o i3Geo | ||
98 | + | ||
99 | +Exemplo: | ||
100 | + | ||
101 | +http://localhost/i3geo/ms_criamapa.php?interface=minima.htm | ||
102 | + | ||
103 | +*/ | ||
104 | +g_locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
105 | +g_barraFerramentas2 = "nao" | ||
106 | +g_mapaRefDisplay = "none" | ||
107 | +; | ||
108 | +g_embedLegenda = "sim"; | ||
109 | +objmapa = new Mapa(); | ||
110 | + | ||
111 | +g_visual = "default"; | ||
112 | +g_autoRedesenho = 0; | ||
113 | +objmapa.inicializa(); | ||
114 | +</script> | ||
115 | +</body> | ||
116 | +</html> | ||
0 | \ No newline at end of file | 117 | \ No newline at end of file |
@@ -0,0 +1,242 @@ | @@ -0,0 +1,242 @@ | ||
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | +<html> | ||
3 | +<head> | ||
4 | +<meta http-equiv="Category" content="I3Geo Mapa interativo MMA geoprocessamento sig mobile"> | ||
5 | +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
6 | +<title>i3GEO - OpenLayers</title> | ||
7 | +<script type="text/javascript" src="../classesjs/i3geo.js"></script> | ||
8 | +<script type="text/javascript" src="../pacotes/openlayers/OpenLayers29.js.php"></script> | ||
9 | +</head> | ||
10 | +<body id="i3geo"> | ||
11 | + | ||
12 | +<table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> | ||
13 | + | ||
14 | +<!-- | ||
15 | + Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR | ||
16 | +--> | ||
17 | +<tr style="border:0px"> | ||
18 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | ||
19 | +</tr> | ||
20 | +<tr> | ||
21 | +<td> | ||
22 | + <table width=100% cellspacing=0 cellpadding=0 > | ||
23 | + <tr> | ||
24 | + <td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td> | ||
25 | + <td> | ||
26 | + <!-- | ||
27 | + Guias principais, não mude o ID, apenas o nome se for desejado | ||
28 | + --> | ||
29 | + | ||
30 | + <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
31 | + <div id=guia1 class=guia ></div> | ||
32 | + <div id=guia2 class=guia ></div> | ||
33 | + <div id=guia4 class=guia ></div> | ||
34 | + <div id=guia5 class=guia ></div> | ||
35 | + </div> | ||
36 | + </td> | ||
37 | + | ||
38 | + </tr> | ||
39 | + </table> | ||
40 | +</td> | ||
41 | +<td id="contemMenu" style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
42 | + <!-- | ||
43 | + menu suspenso | ||
44 | + --> | ||
45 | + <div id="menus" ></div> | ||
46 | +</td> | ||
47 | +</tr> | ||
48 | +<tr> | ||
49 | + <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
50 | + <!-- | ||
51 | + As divs guiaNobj guardam o conteúdo que é mostrado quando a guia é clicada | ||
52 | + Para cada botão na guia deve haver um div com o conteúdo, pe. | ||
53 | + o div com id=guia1 deve ter um div com id=guia1obj | ||
54 | + --> | ||
55 | + <div id='guia1obj' > | ||
56 | + <!-- Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico --> | ||
57 | + <div style='left:5px;top:10px;' id=buscaRapida ></div> | ||
58 | + <!-- Esta div acrescenta a lista de propriedades do mapa --> | ||
59 | + <div id=listaPropriedades style='top:15px;' ></div> | ||
60 | + <!-- 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 --> | ||
61 | + <div id=listaLayersBase style='top:15px;'></div> | ||
62 | + <!-- Esta div acrescenta a lista de de camadas disponíveis no mapa atual --> | ||
63 | + <div id=listaTemas style='top:15px;'></div> | ||
64 | + </div> | ||
65 | + | ||
66 | + <!-- se vc quiser colocar a arvore de adição de temas em um lugar específico, | ||
67 | + use o div abaixo, caso contrário, a árvore será colocada na guia definida em objmapa.guiaMenu, por default a guia2 | ||
68 | + <div id=arvoreAdicionaTema style='top:25px;' ></div> | ||
69 | + <div id=outrasOpcoesAdiciona style='top:25px;' ></div> | ||
70 | + --> | ||
71 | + | ||
72 | + <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
73 | + <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
74 | + <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
75 | + </td> | ||
76 | + <td style="vertical-align:top;border-width:0px;"> | ||
77 | + <table width="100%" style="vertical-align:top;border-width:0px"> | ||
78 | + <tr><td class=verdeclaro id=contemImg > | ||
79 | + <div id=corpoMapa style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
80 | + </td></tr> | ||
81 | + </table> | ||
82 | + </td> | ||
83 | + </tr> | ||
84 | + | ||
85 | +<tr> | ||
86 | + | ||
87 | + <td class=tdbranca > | ||
88 | + <!-- | ||
89 | + Nesse div são incluídos os ícones que permitem ao usuário modificar o visual de cores dos ícones | ||
90 | + <div id=visual ></div> | ||
91 | + --> | ||
92 | + <!-- aqui serão incluídas as bandeiras que permitem a troca de idioma --> | ||
93 | + <div id="seletorIdiomas" ></div> | ||
94 | + <!-- aqui será incluído o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> | ||
95 | + <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
96 | + </td> | ||
97 | + <td class=tdbranca > | ||
98 | + <table width=100% > | ||
99 | + <tr> | ||
100 | + <td class=tdbranca > | ||
101 | + <!-- aqui será incluída a escala numérica --> | ||
102 | + <div id=escala style="text-align:right;" ></div> | ||
103 | + </td> | ||
104 | + <td class=tdbranca > | ||
105 | + <!-- aqui será incluído o gadget que mostra a coordenada geográfica da posição do mouse --> | ||
106 | + <div id=localizarxy style="text-align:left;font-size:10px;">Aguarde...</div> | ||
107 | + </td> | ||
108 | + | ||
109 | + <!-- | ||
110 | + A opção de localização 'onde estou?' baseia-se na identificação do IP do usuário. Para | ||
111 | + que esta opção funcione corretamente, deve estar instalado no I3Geo o pacote geoIP. Veja no | ||
112 | + SVN do portal do software público o diretório arquivos_versões/pacotes para maiores informações | ||
113 | + --> | ||
114 | + <td class=tdbranca ><div id=ondeestou ></div></td> | ||
115 | + </tr> | ||
116 | + <!-- esta div recebe o cálculo do posicionamento do mouse em coordenadas UTM | ||
117 | + As coordenadas UTM apenas serão mostradas nessa div se o parâmetro | ||
118 | + i3GEO.gadgets.mostraCoordenadasUTM.idhtml for diferente de i3GEO.gadgets.mostraCoordenadasGEO.idhtml | ||
119 | + se os IDs forem iguais, o tipo de coordenada mostrada será intercalada, ora UTM ora GEO. | ||
120 | + <tr><td></td><td class="tdbranca"><div style="text-align:left;font-size:8px;background-color:white;display:none;" id=mostraUTM ></div></td><td></td></tr> | ||
121 | + --> | ||
122 | + </table> | ||
123 | + </td> | ||
124 | +</tr> | ||
125 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
126 | +<!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> | ||
127 | +<tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> | ||
128 | +<tr style="border:0px"><td colspan=3 style=background-color:black;color:white >geoprocessamento@mma.gov.br</td></tr> | ||
129 | + | ||
130 | +</table> | ||
131 | +<center> | ||
132 | +<br><br> | ||
133 | +<table> | ||
134 | +<tr> | ||
135 | + <td><center><h1><div id=versaoi3geo ></div><h2>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> | ||
136 | +</tr> | ||
137 | +<tr> | ||
138 | + <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> | ||
139 | +</tr> | ||
140 | +<tr> | ||
141 | + <td><center> | ||
142 | + <script type="text/javascript" src="http://www.ohloh.net/p/150688/widgets/project_users.js?style=red"></script> | ||
143 | + </td> | ||
144 | +</tr> | ||
145 | +</table> | ||
146 | +<script type="text/javascript"> | ||
147 | +/* | ||
148 | +Title: Interface Openlayers | ||
149 | + | ||
150 | +Abre o i3geo com todas as suas funcionalidades e interface de navegação controlada pela API Openlayers. | ||
151 | + | ||
152 | +File: i3geo/aplicmap/openlayers.htm | ||
153 | + | ||
154 | +Exemplo: | ||
155 | + | ||
156 | +http://<host>/i3geo/ms_criamapa.php | ||
157 | + | ||
158 | +Para definir quais botões das barras de ferramentas serão incluídos no mapa, veja: <classe_barradebotoes.js> i3GEO.barraDeBotoes.INCLUIBOTAO | ||
159 | + | ||
160 | +*/ | ||
161 | +/* | ||
162 | + Indica a localização correta do i3geo. | ||
163 | + | ||
164 | + É utilizada para identificar o local correto onde estão os programas em php que são utilizados. | ||
165 | +*/ | ||
166 | +i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
167 | + | ||
168 | +i3GEO.Interface.ATUAL = "openlayers"; | ||
169 | +i3GEO.Interface.IDCORPO = "contemImg"; | ||
170 | +i3GEO.configura.diminuixN = 20 | ||
171 | + | ||
172 | +i3GEO.Interface.openlayers.GADGETS = { | ||
173 | + PanZoomBar:true, | ||
174 | + PanZoom:false, | ||
175 | + LayerSwitcher:true, | ||
176 | + ScaleLine:true, | ||
177 | + OverviewMap:false | ||
178 | + }; | ||
179 | +i3GEO.Interface.openlayers.TILES = false; | ||
180 | +/* | ||
181 | +Após a criação, é criado o objeto i3geoOL que corresponde ao objeto map da API do OpenLayers. | ||
182 | +Vc pode usar i3geoOL para aplicar os métodos e verificar as propriedades da API do OpenLayers | ||
183 | +*/ | ||
184 | +i3GEO.cria(); | ||
185 | +/* | ||
186 | + Inicializa o mapa | ||
187 | +*/ | ||
188 | +i3GEO.barraDeBotoes.AUTOALTURA = false; | ||
189 | +i3GEO.barraDeBotoes.ATIVAMENUCONTEXTO = false; | ||
190 | +i3GEO.barraDeBotoes.PERMITEFECHAR = true; | ||
191 | +i3GEO.barraDeBotoes.PERMITEDESLOCAR = true; | ||
192 | +i3GEO.barraDeBotoes.AUTO = true; | ||
193 | +i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja" | ||
194 | + | ||
195 | +i3GEO.Interface.BARRABOTOESLEFT = 50 | ||
196 | +i3GEO.Interface.BARRABOTOESTOP = 10 | ||
197 | + | ||
198 | +i3GEO.idioma.IDSELETOR = "seletorIdiomas" | ||
199 | +i3GEO.Interface.ATIVAMENUCONTEXTO = true | ||
200 | +i3GEO.arvoreDeTemas.TIPOBOTAO = "radio"; | ||
201 | +i3GEO.arvoreDeTemas.ATIVATEMAIMEDIATO = true | ||
202 | +// | ||
203 | +//esta é uma variável interna do OpenLayers que define o endereço do diretório onde estão as imagens usadas nos ícones | ||
204 | +// | ||
205 | +OpenLayers.ImgPath = "../pacotes/openlayers/img/" | ||
206 | +// | ||
207 | +//adiciona camadas que podem ser ativadas como fundo do mapa | ||
208 | +// | ||
209 | +var ims = new OpenLayers.Layer.ArcGIS93Rest( | ||
210 | + "ESRI Imagery World 2D", | ||
211 | + "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer/export", | ||
212 | + {}, | ||
213 | + {isBaseLayer:true,visibility:false} | ||
214 | +); | ||
215 | +var wsm = new OpenLayers.Layer.ArcGIS93Rest( | ||
216 | + "ESRI World Street Map", | ||
217 | + "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer/export", | ||
218 | + {}, | ||
219 | + {isBaseLayer:true,visibility:false} | ||
220 | +); | ||
221 | +var bra = new OpenLayers.Layer.WMS( | ||
222 | + "Base carto MMA", | ||
223 | + "http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/baseraster.map", | ||
224 | + {layers:"baseraster",srs:"EPSG:4291",format:"image/png",isBaseLayer:false}, | ||
225 | + {isBaseLayer:true,visibility:false} | ||
226 | +); | ||
227 | +var osm = new OpenLayers.Layer.WMS( | ||
228 | + "Open Street Map", | ||
229 | + "http://full.wms.geofabrik.de/std/demo_key", | ||
230 | + {layers:""}, | ||
231 | + {isBaseLayer:true,visibility:false} | ||
232 | +); | ||
233 | + | ||
234 | +i3GEO.Interface.openlayers.LAYERSADICIONAIS = [ims,wsm,bra,osm]; | ||
235 | + | ||
236 | +// | ||
237 | +//inicia o mapa | ||
238 | +// | ||
239 | +i3GEO.inicia(); | ||
240 | +</script> | ||
241 | +</body> | ||
242 | +</html> | ||
0 | \ No newline at end of file | 243 | \ No newline at end of file |
@@ -0,0 +1,85 @@ | @@ -0,0 +1,85 @@ | ||
1 | +<?php | ||
2 | +echo ' | ||
3 | +<link rel="stylesheet" type="text/css" href="'.$caminho.'css/geral.css"> | ||
4 | +<link rel="stylesheet" type="text/css" href="'.$caminho.'css/botoes.css"> | ||
5 | +<link rel="stylesheet" type="text/css" href="'.$caminho.'pacotes/jsobjects/documentation.css"> | ||
6 | +<script src="'.$caminho.'pacotes/cpaint/cpaint2.inc.compressed.js" type="text/javascript"></script> | ||
7 | +<script type="text/javascript" src="'.$caminho.'pacotes/jsobjects/jsUI-Global/common.js"></script> | ||
8 | +<script type="text/javascript" src="'.$caminho.'pacotes/jsobjects/jsUI-Global/uiCommon.js"></script> | ||
9 | +<script type="text/javascript" src="'.$caminho.'pacotes/jsobjects/jsUI-Treeview/component.js"></script> | ||
10 | +<script type="text/javascript" src="'.$caminho.'classesjs/funcoes_compacto.js"></script> | ||
11 | +<script type="text/javascript" src="'.$caminho.'classesjs/ferramentas_compacto.js"></script> | ||
12 | +<script type="text/javascript" src="'.$caminho.'classesjs/ajax_compacto.js"></script> | ||
13 | +<script type="text/javascript" src="'.$caminho.'classesjs/iniciamma_compacto.js"></script> | ||
14 | +<body id=i3geo > | ||
15 | +<center> | ||
16 | +<table id="mst" width=100% cellspacing="0"> | ||
17 | + <tr> | ||
18 | + <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left"> | ||
19 | + <table width=100% cellspacing=0 cellpadding=0 > | ||
20 | + <tr><td> | ||
21 | + <div style="background-color:rgb(200,200,200);cursor:pointer;position:relative;font-family: verdana, arial, helvetica, sans-serif;text-align: center"> | ||
22 | + <div id=guia1 ><b> Temas </b>|</div><div id=guia2 ><b> Adiciona </b>|</div><div id=guia4 ><b> Legenda </b>|</div> | ||
23 | + </div> | ||
24 | + </td></tr> | ||
25 | + </table> | ||
26 | + <div id="guia1obj" ><div id=listaTemas ></div></div> | ||
27 | + <div id="guia2obj" style="display:none;">Aguarde...<img alt="" src="'.$caminho.'imagens/branco.gif" width=248 /></div> | ||
28 | + <div id="guia4obj" style="display:none;text-align:left"><div id="legenda" style="text-align:left"></div></div> | ||
29 | + </td> | ||
30 | + <td id="ferramentas" class=tdbranca style="vertical-align:top;width:90px"> | ||
31 | + <center> | ||
32 | + <table cellspacing=0 cellpadding=0 > | ||
33 | + <tr><td> | ||
34 | + <div id=ferramentas1> | ||
35 | + <table><tr><td><img alt="redesenha" title="redesenha" src="'.$caminho.'imagens/branco.gif" ID="executa"></td></tr></table> | ||
36 | + <table><tr><td></td></tr></table> | ||
37 | + <table><tr><td><img alt="info" title="info" src="'.$caminho.'imagens/branco.gif" id="identifica"/></td></tr></table> | ||
38 | + <table><tr><td></td></tr></table> | ||
39 | + <table><tr><td><img alt="zoom geral" title="zoom geral" src="'.$caminho.'imagens/branco.gif" ID="zoomtot"/></td></tr></table> | ||
40 | + <table><tr><td></td></tr></table> | ||
41 | + <table><tr><td><img alt="desloca" title="desloca" src="'.$caminho.'imagens/branco.gif" ID="pan"/></td></tr></table> | ||
42 | + <table><tr><td></td></tr></table> | ||
43 | + <table><tr><td><img alt="zoom" title="zoom" src="'.$caminho.'imagens/branco.gif" id="zoomli"/></td></tr></table> | ||
44 | + <table><tr><td></td></tr></table> | ||
45 | + <table><tr><td><img alt="aproxima" title="aproxima" src="'.$caminho.'imagens/branco.gif" id="zoomiauto"/></td></tr></table> | ||
46 | + <table><tr><td></td></tr></table> | ||
47 | + <table><tr><td><img alt="afasta" title="afasta" src="'.$caminho.'imagens/branco.gif" id="zoomoauto"/></td></tr></table> | ||
48 | + <table><tr><td></td></tr></table> | ||
49 | + <table><tr><td><img alt="referência" title="referência" src="'.$caminho.'imagens/branco.gif" id="referencia"/></td></tr></table> | ||
50 | + <table><tr><td></td></tr></table> | ||
51 | + <table><tr><td><img alt="mede" title="mede" src="'.$caminho.'imagens/branco.gif" id="mede"/></td></tr></table> | ||
52 | + <table><tr><td></td></tr></table> | ||
53 | + <table><tr><td><img alt="google" title="google" src="'.$caminho.'imagens/branco.gif" id="google"/></td></tr></table> | ||
54 | + <table><tr><td><img alt="" src="'.$caminho.'imagens/branco.gif" width=70 height=0></td></tr></table> | ||
55 | + </div> | ||
56 | + </td></tr> | ||
57 | + </table> | ||
58 | + </center> | ||
59 | + </td> | ||
60 | + <td class=verdeclaro style="vertical-align:top;"> | ||
61 | + <table style="vertical-align:top;"> | ||
62 | + <tr><td class=verdeclaro id=contemImg > | ||
63 | + <div id=corpoMapaO ></div><div id=corpoMapa ></div><div id=corpoMapaL ></div><div id=corpoMapaN ></div><div id=corpoMapaS ></div> | ||
64 | + </td></tr> | ||
65 | + <tr><td class=verdeclaro ><div class=pcenter10 id="longlat">Longitude e latitude</div></td></tr> | ||
66 | + <tr> | ||
67 | + <td class=verdeclaro ><div style="text-align:center" id="escalaGrafica"></div></td> | ||
68 | + </tr> | ||
69 | + </table> | ||
70 | + </td> | ||
71 | + </tr> | ||
72 | + <tr><td colspan=3 ><div id=ajuda class=verdeescuro style="text-align:left;" >I3Geo</div></td></tr> | ||
73 | +</table> | ||
74 | +<p><a href="http://mapserver.gis.umn.edu/"><img alt="" title="Mapserver" name="mapserver" src="'.$caminho.'imagens/mapserv.png" /></a></p> | ||
75 | +</center> | ||
76 | +</body> | ||
77 | +<script type="text/javascript"> | ||
78 | +g_locaplic = "http://"+window.location.host+"/i3geo"; | ||
79 | +echo 'document.body.onmouseover=function(){this.onmousemove=processevent1;};'; | ||
80 | +echo "m ='".$tmpfname."';"; | ||
81 | +echo "e = '".$mapext."';"; | ||
82 | +echo 'objmapa = new Mapa(e,m);'; | ||
83 | +echo 'objmapa.inicializa();'; | ||
84 | +echo '</script>'; | ||
85 | +?> | ||
0 | \ No newline at end of file | 86 | \ No newline at end of file |
@@ -0,0 +1,537 @@ | @@ -0,0 +1,537 @@ | ||
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | +<html> | ||
3 | +<head> | ||
4 | +<meta http-equiv="Category" content="I3Geo Mapa interativo MMA geoprocessamento sig mobile"> | ||
5 | +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
6 | +<title>i3Geo - Mapa interativo</title> | ||
7 | + | ||
8 | +<!-- Leitura dos programas javaScript e estilos individualmente. Pode-se ler os | ||
9 | +arquivos não compactados, bastando substituir por i3geonaocompacto --> | ||
10 | +<script type="text/javascript" src="../classesjs/i3geo.js"></script> | ||
11 | + | ||
12 | +<!-- | ||
13 | +<style> | ||
14 | +#box1 | ||
15 | +{font-size:0px;cursor:crosshair;opacity:.25;background-color: gray;position: absolute;visibility: hidden;width: 0px;height: 0px;border: 2px solid green;} | ||
16 | +</style> | ||
17 | +--> | ||
18 | + | ||
19 | +</head> | ||
20 | +<body id=i3geo > | ||
21 | +<center> | ||
22 | +<table id='mst' style=display:none width=100% cellspacing='0'> | ||
23 | +<!-- Inclui a barra superior. Se vc não quiser o menu, é só comentar --> | ||
24 | +<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | ||
25 | +<tr> | ||
26 | +<td> | ||
27 | + <table width=100% cellspacing=0 cellpadding=0 > | ||
28 | + <tr> | ||
29 | + <td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td> | ||
30 | + <td> | ||
31 | + <!-- Guias principais, não mude o ID, apenas o nome se for desejado --> | ||
32 | + <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
33 | + <div id=guia1 class=guia >Temas</div> | ||
34 | + <div id=guia2 class=guia >Adiciona</div> | ||
35 | + <div id=guia4 class=guia >Legenda</div> | ||
36 | + <div id=guia5 class=guia >Mapas</div> | ||
37 | + </div> | ||
38 | + </td> | ||
39 | + </tr> | ||
40 | + </table> | ||
41 | +</td> | ||
42 | +<td style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
43 | +</td> | ||
44 | +</tr> | ||
45 | +<tr> | ||
46 | + <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
47 | + <!-- Esta div acrescenta a lista de propriedades do mapa, caso vc queira colocá-la em um lugar específico | ||
48 | + <div id=listaPropriedades ></div> | ||
49 | + --> | ||
50 | + <!-- Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico | ||
51 | + <div id=buscaRapida ></div> | ||
52 | + --> | ||
53 | + <div id='guia1obj' ><div style='left:5px;top:10px;' id=buscaRapida ></div><div id=listaPropriedades style='top:15px;' ></div><div id=listaTemas style='top:15px;'></div></div> | ||
54 | + <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
55 | + <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
56 | + <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
57 | + </td> | ||
58 | + <td style="vertical-align:top;border-width:0px;"> | ||
59 | + <table width="100%" style="vertical-align:top;border-width:0px"> | ||
60 | + <!-- Corpo do mapa. Pode ser reposicionado, mas não mude os IDs. Se vc quiser que o mapa tenha um tamanho específico, inclua o estilo, exemplo, style=width:300px;height:300px --> | ||
61 | + <tr><td class=verdeclaro id=contemImg > | ||
62 | + <div id=corpoMapa style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
63 | + </td></tr> | ||
64 | + </table> | ||
65 | + </td> | ||
66 | + </tr> | ||
67 | +<!-- Mostra as coordenadas conforme o mouse é movimentado | ||
68 | + <div class=pcenter10 id='longlat'>Longitude e latitude</div> | ||
69 | +--> | ||
70 | +<!-- Escala gráfica. Pode ser excluída. | ||
71 | + <div id="escalaGrafica" style="text-align:left"></div> | ||
72 | +--> | ||
73 | +<!--- vc pode optar por colocar mensagens de ajuda em algum lugar | ||
74 | +<tr><td colspan=2 ><div id=ajuda class=verdeescuro style="text-align:left;" >I3Geo</div></td></tr> | ||
75 | +--> | ||
76 | +<tr> | ||
77 | + <td class=tdbranca > | ||
78 | + <div id=visual ></div> | ||
79 | + <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
80 | + </td> | ||
81 | + <td class=tdbranca > | ||
82 | + <table width=100% ><tr> | ||
83 | + <td class=tdbranca ><div id=lugarquadros ></div></td> | ||
84 | + <td class=tdbranca ><div id=localizarxy >Aguarde...</div></td> | ||
85 | + <td class=tdbranca ><div id=escala ></div></td> | ||
86 | + <!-- A opção de localização 'onde estou?' baseia-se na identificação do IP do usuário. Para | ||
87 | + que esta opção funcione corretamente, deve estar instalado no I3Geo o pacote geoIP. Veja no | ||
88 | + SVN do portal do software público o diretório arquivos_versões/pacotes para maiores informações --> | ||
89 | + <td class=tdbranca ><div id=ondeestou ></div></td> | ||
90 | + </tr></table> | ||
91 | + </td> | ||
92 | +</tr> | ||
93 | +<tr style="border:0px"><td colspan=3 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
94 | +</table> | ||
95 | +<a style=text-align:center;color:white href="mailto:edmar.moretti@mma.gov.br">Críticas e sugestões</a> | ||
96 | +</center> | ||
97 | +<!-- barra de botoes que serão incluídos na janela móvel de navegação --> | ||
98 | +<div id=barraDeBotoes1 style='display:none'> | ||
99 | + <table title="zoom" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="zoom" alt="" src="../imagens/branco.gif" id='zoomli'/></td></tr></table> | ||
100 | + <table title="desloca" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="desloca" alt="" src="../imagens/branco.gif" ID='pan'/></td></tr></table> | ||
101 | + <table title="info" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="info" alt="" src="../imagens/branco.gif" id='identifica'/></td></tr></table> | ||
102 | + <table title="geral" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="geral" alt="" src="../imagens/branco.gif" ID='zoomtot'/></td></tr></table> | ||
103 | + <table title="extensao" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="extensao" alt="" src="../imagens/branco.gif" id="exten"/></td></tr></table> | ||
104 | + <table title="mede" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="mede" alt="" src="../imagens/branco.gif" id='mede'/></td></tr></table> | ||
105 | + <table title="area" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="area" alt="" src="../imagens/branco.gif" id='area'/></td></tr></table> | ||
106 | + <table title="imprimir" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="imprimir" alt="" src="../imagens/branco.gif" id='imprimir'/></td></tr></table> | ||
107 | +</div> | ||
108 | +<div id=barraDeBotoes2 style='display:none'> | ||
109 | + <table style="width:100%"><caption style="text-align:center"> </caption> | ||
110 | + <tr><td style='background-color:rgb(250,250,250);'><img title="" alt="" src="../imagens/branco.gif" id='sobeferramentas'/></td></tr> | ||
111 | + </table> | ||
112 | + | ||
113 | + <div style='display:inline;background-color:rgb(250,250,250);'> | ||
114 | + <p style='font-size:6px;'> </p> | ||
115 | + <img title="reinicia" alt="" src="../imagens/branco.gif" id='reinicia'/> | ||
116 | + </div> | ||
117 | + <div style='display:inline;background-color:rgb(250,250,250);'> | ||
118 | + <p style='font-size:6px;'> </p> | ||
119 | + <img title="referencia" alt="" src="../imagens/branco.gif" id='referencia'/> | ||
120 | + </div> | ||
121 | + <div style='display:inline;background-color:rgb(250,250,250);'> | ||
122 | + <p style='font-size:6px;'> </p> | ||
123 | + <img title="insere xy" alt="" src="../imagens/branco.gif" id='inserexy'/> | ||
124 | + </div> | ||
125 | + <div style='display:inline;background-color:rgb(250,250,250);'> | ||
126 | + <p style='font-size:6px;'> </p> | ||
127 | + <img title="insere grafico" alt="" src="../imagens/branco.gif" id='inseregrafico'/> | ||
128 | + </div> | ||
129 | + <div style='display:inline;background-color:rgb(250,250,250);'> | ||
130 | + <p style='font-size:6px;'> </p> | ||
131 | + <img title="texto" alt="" src="../imagens/branco.gif" id='textofid'/> | ||
132 | + </div> | ||
133 | + <div style='display:inline;background-color:rgb(250,250,250);'> | ||
134 | + <p style='font-size:6px;'> </p> | ||
135 | + <img title="selecao" alt="" src="../imagens/branco.gif" id='selecao'/> | ||
136 | + </div> | ||
137 | + <div style='display:inline;background-color:rgb(250,250,250);'> | ||
138 | + <p style='font-size:6px;'> </p> | ||
139 | + <img title="google" alt="" src="../imagens/branco.gif" id='google'/> | ||
140 | + </div> | ||
141 | + | ||
142 | + <div style='display:none;background-color:rgb(250,250,250);'> | ||
143 | + <p style='font-size:6px;'> </p> | ||
144 | + <img title="lente" alt="" src="../imagens/branco.gif" id='lentei'/> | ||
145 | + </div> | ||
146 | + <div style='display:none;background-color:rgb(250,250,250);'> | ||
147 | + <p style='font-size:6px;'> </p> | ||
148 | + <img title="scielo" alt="" src="../imagens/branco.gif" id='scielo'/> | ||
149 | + </div> | ||
150 | + <div style='display:none;background-color:rgb(250,250,250);'> | ||
151 | + <p style='font-size:6px;'> </p> | ||
152 | + <img title="confluencias" alt="" src="../imagens/branco.gif" id='confluence'/> | ||
153 | + </div> | ||
154 | + <div style='display:none;background-color:rgb(250,250,250);'> | ||
155 | + <p style='font-size:6px;'> </p> | ||
156 | + <img title="busca na wikipedia" alt="" src="../imagens/branco.gif" id='wiki'/> | ||
157 | + </div> | ||
158 | + <div style='display:none;background-color:rgb(250,250,250);'> | ||
159 | + <p style='font-size:6px;'> </p> | ||
160 | + <img title="3d" alt="" src="../imagens/branco.gif" id='v3d'/> | ||
161 | + </div> | ||
162 | + <div style='display:none;background-color:rgb(250,250,250);'> | ||
163 | + <p style='font-size:6px;'> </p> | ||
164 | + <img title="fotos" alt="" src="../imagens/branco.gif" id='buscafotos'/> | ||
165 | + </div> | ||
166 | + | ||
167 | + <table style="width:100%;"><tr><td style='background-color:rgb(250,250,250);'><p style='font-size:6px;'> </p><img title="" alt="" src="../imagens/branco.gif" id='desceferramentas'/></td></tr></table> | ||
168 | +</div> | ||
169 | +<!-- Variáveis globais e inicialização do mapa--> | ||
170 | +<script type="text/javascript"> | ||
171 | +/* | ||
172 | +Title: Interface simples 1 | ||
173 | + | ||
174 | +Interface alternativa para o i3Geo | ||
175 | + | ||
176 | +Exemplo: | ||
177 | + | ||
178 | +http://localhost/i3geo/ms_criamapa.php?interface=simples1.htm | ||
179 | + | ||
180 | +*/ | ||
181 | +/* | ||
182 | + Variable: g_locaplic | ||
183 | + | ||
184 | + Indica a localização correta do i3geo. | ||
185 | + | ||
186 | + É utilizada para identificar o local correto onde estão os programas em php que são utilizados. | ||
187 | +*/ | ||
188 | +g_locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
189 | +/* | ||
190 | + Variable: g_funcaoTip | ||
191 | + | ||
192 | + Função ajax que será executada para mostrar informações do tipo TIP. | ||
193 | + | ||
194 | + A função é executada pelo CPAINT e avaliada com "eval". | ||
195 | + | ||
196 | + Default: | ||
197 | + | ||
198 | + g_funcaoTip = "verificaTipDefault()"; | ||
199 | +*/ | ||
200 | + | ||
201 | +/* | ||
202 | + Variable: g_tempotip (opcional) | ||
203 | + | ||
204 | + Tempo utilizado para verificar se o mouse está parado. | ||
205 | + | ||
206 | + Se o mouse estiver parado, a função de mostrar tip é ativada. | ||
207 | + | ||
208 | + Default: | ||
209 | + | ||
210 | + g_tempotip = 1000; | ||
211 | +*/ | ||
212 | + | ||
213 | +/* | ||
214 | + Variable: g_tipotip | ||
215 | + | ||
216 | + Define como o tip será mostrado. | ||
217 | + | ||
218 | + Pode ser definida como "simples" ou "completo" | ||
219 | + | ||
220 | + Default: | ||
221 | + | ||
222 | + g_tipotip = "completo"; | ||
223 | +*/ | ||
224 | + | ||
225 | +/* | ||
226 | + Variable: g_tipoimagem | ||
227 | + | ||
228 | + Indica o tipo de filtro de imagem que está ativo. O filtro ativo é aplicado sobre a imagem toda a vez que o mapa é refeito. | ||
229 | + | ||
230 | + Default: | ||
231 | + | ||
232 | + g_tipoimagem = "nenhum"; | ||
233 | +*/ | ||
234 | + | ||
235 | +/* | ||
236 | + Variable: destacaTamanho | ||
237 | + | ||
238 | + Valor em pixel do retângulo de destaque de temas. | ||
239 | + | ||
240 | + Default: | ||
241 | + | ||
242 | + destacaTamanho = 75; | ||
243 | +*/ | ||
244 | + | ||
245 | +/* | ||
246 | + Variable: g_entorno | ||
247 | + | ||
248 | + Indica se o preenchimento do entorno do mapa está ou não ativo. | ||
249 | + | ||
250 | + Utilizado para criar o efeito de auto-preenchimento do mapa quando é executada a função pan. | ||
251 | + | ||
252 | + É alterada em uma opção específica no menu suspenso. | ||
253 | + | ||
254 | + Default: | ||
255 | + | ||
256 | + g_entorno = "nao"; | ||
257 | +*/ | ||
258 | + | ||
259 | +/* | ||
260 | + Variable: g_guiaativa | ||
261 | + | ||
262 | + Indica qual guia do mapa iniciará ativa. | ||
263 | + | ||
264 | + Default: | ||
265 | + | ||
266 | + g_guiaativa = "guia1"; | ||
267 | +*/ | ||
268 | + | ||
269 | +/* | ||
270 | + Variable: g_diminuixM | ||
271 | + | ||
272 | + Diminui a largura do mapa em pixels no caso do navegador ser o IE. | ||
273 | + | ||
274 | + Default: | ||
275 | + | ||
276 | + g_diminuixM = 20; | ||
277 | +*/ | ||
278 | + | ||
279 | +/* | ||
280 | + Variable: g_diminuixN | ||
281 | + | ||
282 | + Diminui a largura do mapa em pixels no caso do navegador ser o FF. | ||
283 | + | ||
284 | + Default: | ||
285 | + | ||
286 | + g_diminuixN = 20; | ||
287 | +*/ | ||
288 | +/* | ||
289 | + Variable: g_diminuiyM | ||
290 | + | ||
291 | + Diminui a altura do mapa em pixels no caso do navegador ser o IE. | ||
292 | + | ||
293 | + Default: | ||
294 | + | ||
295 | + g_diminuiyM = 150; | ||
296 | +*/ | ||
297 | + | ||
298 | +/* | ||
299 | + Variable: g_diminuiyN | ||
300 | + | ||
301 | + Diminui a altura do mapa em pixels no caso do navegador ser o FF. | ||
302 | + | ||
303 | + Default: | ||
304 | + | ||
305 | + g_diminuiyN = 120; | ||
306 | +*/ | ||
307 | + | ||
308 | +/* | ||
309 | + Variable: g_janelazoom | ||
310 | + | ||
311 | + Define se a barra de zoom será aberta no mapa. | ||
312 | + | ||
313 | + Default: | ||
314 | + | ||
315 | + g_janelazoom = "sim" | ||
316 | +*/ | ||
317 | + | ||
318 | +/* | ||
319 | + Variable: g_barraFerramentas1 | ||
320 | + | ||
321 | + Define se a barra de ferramentas 1 será mostrada | ||
322 | + | ||
323 | + Defaul: | ||
324 | + | ||
325 | + g_barraFerramentas1 = "sim" | ||
326 | +*/ | ||
327 | + | ||
328 | +/* | ||
329 | + Variable: g_barraFerramentas2 | ||
330 | + | ||
331 | + Define se a barra de ferramentas 2 será mostrada | ||
332 | + | ||
333 | + Defaul: | ||
334 | + | ||
335 | + g_barraFerramentas2 = "sim" | ||
336 | +*/ | ||
337 | + | ||
338 | +/* | ||
339 | + Variable: g_mapaRefDisplay | ||
340 | + | ||
341 | + Indica a visibilidade do mapa de referência na inicialização | ||
342 | + | ||
343 | + Pode ser "block" ou "none". | ||
344 | +*/ | ||
345 | +g_mapaRefDisplay = "block" | ||
346 | + | ||
347 | +/* | ||
348 | + Variable: g_docaguias | ||
349 | + | ||
350 | + Variável que define se o mapa deve iniciar com as guias em janela ou não. | ||
351 | + | ||
352 | + Default: | ||
353 | + | ||
354 | + g_docaguias = "nao"; | ||
355 | +*/ | ||
356 | + | ||
357 | +/* | ||
358 | + Variable: g_downloadbase | ||
359 | + | ||
360 | + Variável que define se na guia 2 será mostrada a opção de download. | ||
361 | + | ||
362 | + Default: | ||
363 | + | ||
364 | + g_downloadbase = "sim"; | ||
365 | +*/ | ||
366 | + | ||
367 | +/* | ||
368 | + Variable: g_conectargeorss | ||
369 | + | ||
370 | + Variável que define se na guia 2 será mostrada a opção de conexão com GeoRSS. | ||
371 | + | ||
372 | + Default: | ||
373 | + | ||
374 | + g_conectargeorss = "sim"; | ||
375 | +*/ | ||
376 | + | ||
377 | +/* | ||
378 | + Variable: g_uploadlocal | ||
379 | + | ||
380 | + Variável que define se na guia 2 será mostrada a opção de upload. | ||
381 | + | ||
382 | + Default: | ||
383 | + | ||
384 | + g_uploadlocal = "sim"; | ||
385 | +*/ | ||
386 | + | ||
387 | +/* | ||
388 | + Variable: g_conectarwms | ||
389 | + | ||
390 | + Variável que define se na guia 2 será mostrada a opção de conexão com WMS. | ||
391 | + | ||
392 | + Default: | ||
393 | + | ||
394 | + g_conectarwms = "sim"; | ||
395 | +*/ | ||
396 | + | ||
397 | +/* | ||
398 | + Variable: g_janelaMen | ||
399 | + | ||
400 | + Variável que define se a janela de mensagens começará aberta. | ||
401 | + | ||
402 | + Default: | ||
403 | + | ||
404 | + g_janelaMen = "sim"; | ||
405 | +*/ | ||
406 | + | ||
407 | +/* | ||
408 | + Variable: g_mostraRosa | ||
409 | + | ||
410 | + Variável que define se a rosa dos ventos deve ser mostrada junto ao mouse | ||
411 | + | ||
412 | + Default: | ||
413 | + | ||
414 | + g_mostraRosa = "sim" | ||
415 | +*/ | ||
416 | + | ||
417 | +/* | ||
418 | + Variable: g_opcoesTemas | ||
419 | + | ||
420 | + Variável que define se as opcoes adicionais de cada tema serao mostradas. | ||
421 | + | ||
422 | + Default: | ||
423 | + | ||
424 | + g_opcoesTemas = "sim"; | ||
425 | +*/ | ||
426 | + | ||
427 | +/* | ||
428 | + Variable: g_3dmap | ||
429 | + | ||
430 | + Variável que define o nome do map_file que possuí o layer para uso na função 3d. | ||
431 | + | ||
432 | + Pode ser caminho completo. Se não, busca no aplicmap. | ||
433 | +*/ | ||
434 | +; | ||
435 | + | ||
436 | +/* | ||
437 | + Variable: g_embedLegenda | ||
438 | + | ||
439 | + Indica se a legenda deve ser incluida no corpo do mapa. | ||
440 | + | ||
441 | + Default: | ||
442 | + | ||
443 | + g_embedLegenda = "nao"; | ||
444 | +*/ | ||
445 | + | ||
446 | +/* | ||
447 | +Variable: g_mashuppar | ||
448 | + | ||
449 | +Parâmetros de inicialização que podem ser utilizados na interface mashup. | ||
450 | + | ||
451 | +Os parâmetros são os mesmos que podem ser utilizados quando o i3geo é inicializado pelo ms_criamapa.php. | ||
452 | + | ||
453 | +Exemplo: g_mashuppar = "&pontos=-54 -12&temasa=biomas&layers=biomas" | ||
454 | + | ||
455 | +g_mashuppar = "&mapext=-53 -26 -42 -18"; | ||
456 | +*/ | ||
457 | + | ||
458 | +/* | ||
459 | + Variable: g_mensagempadrao | ||
460 | + | ||
461 | + Mensagem padrão que será mostrada na janela de mensagens. | ||
462 | + | ||
463 | + g_mensagempadrao = "O I3Geo é software livre! Para download clique <a href='http://mapas.mma.gov.br/download' target=blanck >aqui</a>"; | ||
464 | +*/ | ||
465 | + | ||
466 | +objmapa = new Mapa(); | ||
467 | + | ||
468 | +/* | ||
469 | +Variable: g_visual | ||
470 | + | ||
471 | +Indica qual o tipo de visual para abertura do mapa. | ||
472 | + | ||
473 | +Os visuais disponíveis são obtidos do diretório i3geo/imagens/visual na inicialização do i3geo. | ||
474 | +*/ | ||
475 | +g_visual = "default"; | ||
476 | + | ||
477 | +/* | ||
478 | +Variable: g_autoRedesenho | ||
479 | + | ||
480 | +Ativa o auto redesenho após um determinado tempo (milisegundos). | ||
481 | + | ||
482 | +Após decorrido o tempo definido, o mapa é redesenhado. Se for 0 o temporizador não é ativado. | ||
483 | +*/ | ||
484 | +g_autoRedesenho = 0; | ||
485 | + | ||
486 | +/* | ||
487 | + Variable: objmapa.guiaTemas | ||
488 | + | ||
489 | + Define qual div corresponde ao local de listagem das camadas disponíveis no mapa | ||
490 | +*/ | ||
491 | +objmapa.guiaTemas = "guia1" | ||
492 | + | ||
493 | +/* | ||
494 | + Variable: objmapa.guiaMenu | ||
495 | + | ||
496 | + Define qual div corresponde ao local de inclusão do menu de temas | ||
497 | +*/ | ||
498 | +objmapa.guiaMenu = "guia2"; | ||
499 | + | ||
500 | +/* | ||
501 | + Variable: objmapa.guiaLegenda | ||
502 | + | ||
503 | + Define qual div corresponde ao local onde será incluida a legenda em HTML | ||
504 | +*/ | ||
505 | +objmapa.guiaLegenda = "guia4"; | ||
506 | + | ||
507 | +/* | ||
508 | + Variable: objmapa.guiaListaMapas | ||
509 | + | ||
510 | + Define qual div corresponde ao local onde será colocada a lista de links para outros mapas | ||
511 | +*/ | ||
512 | +objmapa.guiaListaMapas = "guia5"; | ||
513 | + | ||
514 | +/* | ||
515 | + Este é um exemplo de como incluir opções que são executadas | ||
516 | + quando o usuário clica no mapa. | ||
517 | + Vc pode criar um botao novo, e quando ele for clicado, | ||
518 | + definir a variavel 'clicouBotaoTeste'. | ||
519 | + O objeto 'funcoesClickMapa' é um array que pode armazenar strigs. | ||
520 | + | ||
521 | + function teste() | ||
522 | + { | ||
523 | + g_tipoacao = ""; | ||
524 | + clicouBotaoTeste = "sim"; | ||
525 | + if (clicouBotaoTeste == "sim") | ||
526 | + {wdocaf("300px","280px",g_locaplic+'/ferramentas/exemplo/index.htm?x='+objposicaocursor.ddx+'&y='+objposicaocursor.ddy,"","","");} | ||
527 | + } | ||
528 | + objmapa.funcoesClickMapa.push("teste()") | ||
529 | +*/ | ||
530 | + | ||
531 | +/* | ||
532 | + Inicializa o mapa | ||
533 | +*/ | ||
534 | +objmapa.inicializa(); | ||
535 | +</script> | ||
536 | +</body> | ||
537 | +</html> | ||
0 | \ No newline at end of file | 538 | \ No newline at end of file |
@@ -0,0 +1,474 @@ | @@ -0,0 +1,474 @@ | ||
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | +<html> | ||
3 | +<head> | ||
4 | +<meta http-equiv="Category" content="I3Geo Mapa interativo MMA geoprocessamento sig mobile"> | ||
5 | +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
6 | +<title>i3Geo - Mapa interativo</title> | ||
7 | + | ||
8 | +<!-- Leitura dos programas javaScript e estilos individualmente. Pode-se ler os | ||
9 | +arquivos não compactados, bastando substituir por i3geonaocompacto --> | ||
10 | +<script type="text/javascript" src="../classesjs/i3geo.js"></script> | ||
11 | + | ||
12 | +<!-- | ||
13 | +<style> | ||
14 | +#box1 | ||
15 | +{font-size:0px;cursor:crosshair;opacity:.25;background-color: gray;position: absolute;visibility: hidden;width: 0px;height: 0px;border: 2px solid green;} | ||
16 | +</style> | ||
17 | +--> | ||
18 | + | ||
19 | +</head> | ||
20 | +<body id=i3geo > | ||
21 | +<center> | ||
22 | +<table id='mst' style=display:none width=100% cellspacing='0'> | ||
23 | +<!-- Inclui a barra superior. Se vc não quiser o menu, é só comentar --> | ||
24 | +<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | ||
25 | +<tr> | ||
26 | +<td> | ||
27 | + <table width=100% cellspacing=0 cellpadding=0 > | ||
28 | + <tr> | ||
29 | + <td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td> | ||
30 | + <td> | ||
31 | + <!-- Guias principais, não mude o ID, apenas o nome se for desejado --> | ||
32 | + <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
33 | + <div id=guia1 class=guia >Temas</div> | ||
34 | + <div id=guia2 class=guia >Adiciona</div> | ||
35 | + <div id=guia4 class=guia >Legenda</div> | ||
36 | + <div id=guia5 class=guia >Mapas</div> | ||
37 | + </div> | ||
38 | + </td> | ||
39 | + </tr> | ||
40 | + </table> | ||
41 | +</td> | ||
42 | +<td style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
43 | +</td> | ||
44 | +</tr> | ||
45 | +<tr> | ||
46 | + <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
47 | + <!-- Esta div acrescenta a lista de propriedades do mapa, caso vc queira colocá-la em um lugar específico | ||
48 | + <div id=listaPropriedades ></div> | ||
49 | + --> | ||
50 | + <!-- Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico | ||
51 | + <div id=buscaRapida ></div> | ||
52 | + --> | ||
53 | + <div id='guia1obj' ><div style='left:5px;top:10px;' id=buscaRapida ></div><div id=listaPropriedades style='top:15px;' ></div><div id=listaTemas style='top:15px;'></div></div> | ||
54 | + <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
55 | + <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
56 | + <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
57 | + </td> | ||
58 | + <td style="vertical-align:top;border-width:0px;"> | ||
59 | + <table width="100%" style="vertical-align:top;border-width:0px"> | ||
60 | + <!-- Corpo do mapa. Pode ser reposicionado, mas não mude os IDs. Se vc quiser que o mapa tenha um tamanho específico, inclua o estilo, exemplo, style=width:300px;height:300px --> | ||
61 | + <tr><td class=verdeclaro id=contemImg > | ||
62 | + <div id=corpoMapa style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
63 | + </td></tr> | ||
64 | + </table> | ||
65 | + </td> | ||
66 | + </tr> | ||
67 | +<!-- Mostra as coordenadas conforme o mouse é movimentado | ||
68 | + <div class=pcenter10 id='longlat'>Longitude e latitude</div> | ||
69 | +--> | ||
70 | +<!-- Escala gráfica. Pode ser excluída. | ||
71 | + <div id="escalaGrafica" style="text-align:left"></div> | ||
72 | +--> | ||
73 | +<!--- vc pode optar por colocar mensagens de ajuda em algum lugar | ||
74 | +<tr><td colspan=2 ><div id=ajuda class=verdeescuro style="text-align:left;" >I3Geo</div></td></tr> | ||
75 | +--> | ||
76 | +<tr> | ||
77 | + <td class=tdbranca > | ||
78 | + <div id=visual ></div> | ||
79 | + <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
80 | + </td> | ||
81 | + <td class=tdbranca > | ||
82 | + <table width=100% ><tr> | ||
83 | + <td class=tdbranca ><div id=lugarquadros ></div></td> | ||
84 | + <td class=tdbranca ><div id=localizarxy >Aguarde...</div></td> | ||
85 | + <td class=tdbranca ><div id=escala ></div></td> | ||
86 | + <!-- A opção de localização 'onde estou?' baseia-se na identificação do IP do usuário. Para | ||
87 | + que esta opção funcione corretamente, deve estar instalado no I3Geo o pacote geoIP. Veja no | ||
88 | + SVN do portal do software público o diretório arquivos_versões/pacotes para maiores informações --> | ||
89 | + <td class=tdbranca ><div id=ondeestou ></div></td> | ||
90 | + </tr></table> | ||
91 | + </td> | ||
92 | +</tr> | ||
93 | +<tr style="border:0px"><td colspan=3 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
94 | +</table> | ||
95 | +<a style=text-align:center;color:white href="mailto:edmar.moretti@mma.gov.br">Críticas e sugestões</a> | ||
96 | +</center> | ||
97 | +<!-- barra de botoes que serão incluídos na janela móvel de navegação --> | ||
98 | +<div id=barraDeBotoes1 style='display:none'> | ||
99 | + <table title="zoom" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="zoom" alt="" src="../imagens/branco.gif" id='zoomli'/></td></tr></table> | ||
100 | + <table title="desloca" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="desloca" alt="" src="../imagens/branco.gif" ID='pan'/></td></tr></table> | ||
101 | + <table title="info" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="info" alt="" src="../imagens/branco.gif" id='identifica'/></td></tr></table> | ||
102 | + <table title="geral" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="geral" alt="" src="../imagens/branco.gif" ID='zoomtot'/></td></tr></table> | ||
103 | + <table title="extensao" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="extensao" alt="" src="../imagens/branco.gif" id="exten"/></td></tr></table> | ||
104 | + <table title="mede" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="mede" alt="" src="../imagens/branco.gif" id='mede'/></td></tr></table> | ||
105 | + <table title="area" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="area" alt="" src="../imagens/branco.gif" id='area'/></td></tr></table> | ||
106 | + <table title="imprimir" style="width:100%"><caption style="text-align:center"> </caption><tr><td style='background-color:rgb(250,250,250);'><img title="imprimir" alt="" src="../imagens/branco.gif" id='imprimir'/></td></tr></table> | ||
107 | +</div> | ||
108 | +<!-- Variáveis globais e inicialização do mapa--> | ||
109 | +<script type="text/javascript"> | ||
110 | +/* | ||
111 | +Title: Interface simples 2 | ||
112 | + | ||
113 | +Interface alternativa para o i3Geo | ||
114 | + | ||
115 | +Exemplo: | ||
116 | + | ||
117 | +http://localhost/i3geo/ms_criamapa.php?interface=simples2.htm | ||
118 | +*/ | ||
119 | +/* | ||
120 | + Variable: g_locaplic | ||
121 | + | ||
122 | + Indica a localização correta do i3geo. | ||
123 | + | ||
124 | + É utilizada para identificar o local correto onde estão os programas em php que são utilizados. | ||
125 | +*/ | ||
126 | +g_locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | ||
127 | +/* | ||
128 | + Variable: g_funcaoTip | ||
129 | + | ||
130 | + Função ajax que será executada para mostrar informações do tipo TIP. | ||
131 | + | ||
132 | + A função é executada pelo CPAINT e avaliada com "eval". | ||
133 | + | ||
134 | + Default: | ||
135 | + | ||
136 | + g_funcaoTip = "verificaTipDefault()"; | ||
137 | +*/ | ||
138 | + | ||
139 | +/* | ||
140 | + Variable: g_tempotip (opcional) | ||
141 | + | ||
142 | + Tempo utilizado para verificar se o mouse está parado. | ||
143 | + | ||
144 | + Se o mouse estiver parado, a função de mostrar tip é ativada. | ||
145 | + | ||
146 | + Default: | ||
147 | + | ||
148 | + g_tempotip = 1000; | ||
149 | +*/ | ||
150 | + | ||
151 | +/* | ||
152 | + Variable: g_tipotip | ||
153 | + | ||
154 | + Define como o tip será mostrado. | ||
155 | + | ||
156 | + Pode ser definida como "simples" ou "completo" | ||
157 | + | ||
158 | + Default: | ||
159 | + | ||
160 | + g_tipotip = "completo"; | ||
161 | +*/ | ||
162 | + | ||
163 | +/* | ||
164 | + Variable: g_tipoimagem | ||
165 | + | ||
166 | + Indica o tipo de filtro de imagem que está ativo. O filtro ativo é aplicado sobre a imagem toda a vez que o mapa é refeito. | ||
167 | + | ||
168 | + Default: | ||
169 | + | ||
170 | + g_tipoimagem = "nenhum"; | ||
171 | +*/ | ||
172 | + | ||
173 | +/* | ||
174 | + Variable: destacaTamanho | ||
175 | + | ||
176 | + Valor em pixel do retângulo de destaque de temas. | ||
177 | + | ||
178 | + Default: | ||
179 | + | ||
180 | + destacaTamanho = 75; | ||
181 | +*/ | ||
182 | + | ||
183 | +/* | ||
184 | + Variable: g_entorno | ||
185 | + | ||
186 | + Indica se o preenchimento do entorno do mapa está ou não ativo. | ||
187 | + | ||
188 | + Utilizado para criar o efeito de auto-preenchimento do mapa quando é executada a função pan. | ||
189 | + | ||
190 | + É alterada em uma opção específica no menu suspenso. | ||
191 | + | ||
192 | + Default: | ||
193 | + | ||
194 | + g_entorno = "nao"; | ||
195 | +*/ | ||
196 | + | ||
197 | +/* | ||
198 | + Variable: g_guiaativa | ||
199 | + | ||
200 | + Indica qual guia do mapa iniciará ativa. | ||
201 | + | ||
202 | + Default: | ||
203 | + | ||
204 | + g_guiaativa = "guia1"; | ||
205 | +*/ | ||
206 | + | ||
207 | +/* | ||
208 | + Variable: g_diminuixM | ||
209 | + | ||
210 | + Diminui a largura do mapa em pixels no caso do navegador ser o IE. | ||
211 | + | ||
212 | + Default: | ||
213 | + | ||
214 | + g_diminuixM = 20; | ||
215 | +*/ | ||
216 | + | ||
217 | +/* | ||
218 | + Variable: g_diminuixN | ||
219 | + | ||
220 | + Diminui a largura do mapa em pixels no caso do navegador ser o FF. | ||
221 | + | ||
222 | + Default: | ||
223 | + | ||
224 | + g_diminuixN = 20; | ||
225 | +*/ | ||
226 | +/* | ||
227 | + Variable: g_diminuiyM | ||
228 | + | ||
229 | + Diminui a altura do mapa em pixels no caso do navegador ser o IE. | ||
230 | + | ||
231 | + Default: | ||
232 | + | ||
233 | + g_diminuiyM = 150; | ||
234 | +*/ | ||
235 | + | ||
236 | +/* | ||
237 | + Variable: g_diminuiyN | ||
238 | + | ||
239 | + Diminui a altura do mapa em pixels no caso do navegador ser o FF. | ||
240 | + | ||
241 | + Default: | ||
242 | + | ||
243 | + g_diminuiyN = 120; | ||
244 | +*/ | ||
245 | + | ||
246 | +/* | ||
247 | + Variable: g_janelazoom | ||
248 | + | ||
249 | + Define se a barra de zoom será aberta no mapa. | ||
250 | + | ||
251 | + Default: | ||
252 | + | ||
253 | + g_janelazoom = "sim" | ||
254 | +*/ | ||
255 | + | ||
256 | +/* | ||
257 | + Variable: g_barraFerramentas1 | ||
258 | + | ||
259 | + Define se a barra de ferramentas 1 será mostrada | ||
260 | + | ||
261 | + Defaul: | ||
262 | + | ||
263 | + g_barraFerramentas1 = "sim" | ||
264 | +*/ | ||
265 | + | ||
266 | +/* | ||
267 | + Variable: g_barraFerramentas2 | ||
268 | + | ||
269 | + Define se a barra de ferramentas 2 será mostrada | ||
270 | + | ||
271 | + Defaul: | ||
272 | +*/ | ||
273 | +g_barraFerramentas2 = "nao" | ||
274 | + | ||
275 | +/* | ||
276 | + Variable: g_mapaRefDisplay | ||
277 | + | ||
278 | + Indica a visibilidade do mapa de referência na inicialização | ||
279 | + | ||
280 | + Pode ser "block" ou "none". | ||
281 | +*/ | ||
282 | +g_mapaRefDisplay = "none" | ||
283 | + | ||
284 | +/* | ||
285 | + Variable: g_docaguias | ||
286 | + | ||
287 | + Variável que define se o mapa deve iniciar com as guias em janela ou não. | ||
288 | + | ||
289 | + Default: | ||
290 | + | ||
291 | + g_docaguias = "nao"; | ||
292 | +*/ | ||
293 | + | ||
294 | +/* | ||
295 | + Variable: g_downloadbase | ||
296 | + | ||
297 | + Variável que define se na guia 2 será mostrada a opção de download. | ||
298 | + | ||
299 | + Default: | ||
300 | + | ||
301 | + g_downloadbase = "sim"; | ||
302 | +*/ | ||
303 | + | ||
304 | +/* | ||
305 | + Variable: g_conectargeorss | ||
306 | + | ||
307 | + Variável que define se na guia 2 será mostrada a opção de conexão com GeoRSS. | ||
308 | + | ||
309 | + Default: | ||
310 | + | ||
311 | + g_conectargeorss = "sim"; | ||
312 | +*/ | ||
313 | + | ||
314 | +/* | ||
315 | + Variable: g_uploadlocal | ||
316 | + | ||
317 | + Variável que define se na guia 2 será mostrada a opção de upload. | ||
318 | + | ||
319 | + Default: | ||
320 | + | ||
321 | + g_uploadlocal = "sim"; | ||
322 | +*/ | ||
323 | + | ||
324 | +/* | ||
325 | + Variable: g_conectarwms | ||
326 | + | ||
327 | + Variável que define se na guia 2 será mostrada a opção de conexão com WMS. | ||
328 | + | ||
329 | + Default: | ||
330 | + | ||
331 | + g_conectarwms = "sim"; | ||
332 | +*/ | ||
333 | + | ||
334 | +/* | ||
335 | + Variable: g_janelaMen | ||
336 | + | ||
337 | + Variável que define se a janela de mensagens começará aberta. | ||
338 | + | ||
339 | + Default: | ||
340 | + | ||
341 | + g_janelaMen = "sim"; | ||
342 | +*/ | ||
343 | + | ||
344 | +/* | ||
345 | + Variable: g_mostraRosa | ||
346 | + | ||
347 | + Variável que define se a rosa dos ventos deve ser mostrada junto ao mouse | ||
348 | + | ||
349 | + Default: | ||
350 | + | ||
351 | + g_mostraRosa = "sim" | ||
352 | +*/ | ||
353 | + | ||
354 | +/* | ||
355 | + Variable: g_opcoesTemas | ||
356 | + | ||
357 | + Variável que define se as opcoes adicionais de cada tema serao mostradas. | ||
358 | + | ||
359 | + Default: | ||
360 | + | ||
361 | + g_opcoesTemas = "sim"; | ||
362 | +*/ | ||
363 | + | ||
364 | +/* | ||
365 | + Variable: g_3dmap | ||
366 | + | ||
367 | + Variável que define o nome do map_file que possuí o layer para uso na função 3d. | ||
368 | + | ||
369 | + Pode ser caminho completo. Se não, busca no aplicmap. | ||
370 | +*/ | ||
371 | +; | ||
372 | + | ||
373 | +/* | ||
374 | + Variable: g_embedLegenda | ||
375 | + | ||
376 | + Indica se a legenda deve ser incluida no corpo do mapa. | ||
377 | + | ||
378 | + Default: | ||
379 | + | ||
380 | + g_embedLegenda = "nao"; | ||
381 | +*/ | ||
382 | + | ||
383 | +/* | ||
384 | +Variable: g_mashuppar | ||
385 | + | ||
386 | +Parâmetros de inicialização que podem ser utilizados na interface mashup. | ||
387 | + | ||
388 | +Os parâmetros são os mesmos que podem ser utilizados quando o i3geo é inicializado pelo ms_criamapa.php. | ||
389 | + | ||
390 | +Exemplo: g_mashuppar = "&pontos=-54 -12&temasa=biomas&layers=biomas" | ||
391 | + | ||
392 | +g_mashuppar = "&mapext=-53 -26 -42 -18"; | ||
393 | +*/ | ||
394 | + | ||
395 | +/* | ||
396 | + Variable: g_mensagempadrao | ||
397 | + | ||
398 | + Mensagem padrão que será mostrada na janela de mensagens. | ||
399 | + | ||
400 | + g_mensagempadrao = "O I3Geo é software livre! Para download clique <a href='http://mapas.mma.gov.br/download' target=blanck >aqui</a>"; | ||
401 | +*/ | ||
402 | + | ||
403 | +objmapa = new Mapa(); | ||
404 | + | ||
405 | +/* | ||
406 | +Variable: g_visual | ||
407 | + | ||
408 | +Indica qual o tipo de visual para abertura do mapa. | ||
409 | + | ||
410 | +Os visuais disponíveis são obtidos do diretório i3geo/imagens/visual na inicialização do i3geo. | ||
411 | +*/ | ||
412 | +g_visual = "default"; | ||
413 | + | ||
414 | +/* | ||
415 | +Variable: g_autoRedesenho | ||
416 | + | ||
417 | +Ativa o auto redesenho após um determinado tempo (milisegundos). | ||
418 | + | ||
419 | +Após decorrido o tempo definido, o mapa é redesenhado. Se for 0 o temporizador não é ativado. | ||
420 | +*/ | ||
421 | +g_autoRedesenho = 0; | ||
422 | + | ||
423 | +/* | ||
424 | + Variable: objmapa.guiaTemas | ||
425 | + | ||
426 | + Define qual div corresponde ao local de listagem das camadas disponíveis no mapa | ||
427 | +*/ | ||
428 | +objmapa.guiaTemas = "guia1" | ||
429 | + | ||
430 | +/* | ||
431 | + Variable: objmapa.guiaMenu | ||
432 | + | ||
433 | + Define qual div corresponde ao local de inclusão do menu de temas | ||
434 | +*/ | ||
435 | +objmapa.guiaMenu = "guia2"; | ||
436 | + | ||
437 | +/* | ||
438 | + Variable: objmapa.guiaLegenda | ||
439 | + | ||
440 | + Define qual div corresponde ao local onde será incluida a legenda em HTML | ||
441 | +*/ | ||
442 | +objmapa.guiaLegenda = "guia4"; | ||
443 | + | ||
444 | +/* | ||
445 | + Variable: objmapa.guiaListaMapas | ||
446 | + | ||
447 | + Define qual div corresponde ao local onde será colocada a lista de links para outros mapas | ||
448 | +*/ | ||
449 | +objmapa.guiaListaMapas = "guia5"; | ||
450 | + | ||
451 | +/* | ||
452 | + Este é um exemplo de como incluir opções que são executadas | ||
453 | + quando o usuário clica no mapa. | ||
454 | + Vc pode criar um botao novo, e quando ele for clicado, | ||
455 | + definir a variavel 'clicouBotaoTeste'. | ||
456 | + O objeto 'funcoesClickMapa' é um array que pode armazenar strigs. | ||
457 | + | ||
458 | + function teste() | ||
459 | + { | ||
460 | + g_tipoacao = ""; | ||
461 | + clicouBotaoTeste = "sim"; | ||
462 | + if (clicouBotaoTeste == "sim") | ||
463 | + {wdocaf("300px","280px",g_locaplic+'/ferramentas/exemplo/index.htm?x='+objposicaocursor.ddx+'&y='+objposicaocursor.ddy,"","","");} | ||
464 | + } | ||
465 | + objmapa.funcoesClickMapa.push("teste()") | ||
466 | +*/ | ||
467 | + | ||
468 | +/* | ||
469 | + Inicializa o mapa | ||
470 | +*/ | ||
471 | +objmapa.inicializa(); | ||
472 | +</script> | ||
473 | +</body> | ||
474 | +</html> | ||
0 | \ No newline at end of file | 475 | \ No newline at end of file |
@@ -0,0 +1,117 @@ | @@ -0,0 +1,117 @@ | ||
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
2 | +<html> | ||
3 | +<head> | ||
4 | +<meta http-equiv="Category" content="I3Geo Mapa interativo MMA"> | ||
5 | +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | ||
6 | +<title>MMA - Mapa interativo</title> | ||
7 | +<script type="text/javascript" src="../classesjs/zerocal/i3geo.js"></script> | ||
8 | +</head> | ||
9 | +<body id=i3geo > | ||
10 | +<center> | ||
11 | +<table id='mst' style=display:none width=100% cellspacing='0'> | ||
12 | +<!-- Inclui a barra superior. Se vc não quiser o menu, é só comentar --> | ||
13 | +<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | ||
14 | +<tr> | ||
15 | +<td> | ||
16 | + <table width=100% cellspacing=0 cellpadding=0 > | ||
17 | + <tr> | ||
18 | + <td> | ||
19 | + <div class=verdeescuro style="top:0px;cursor:pointer;"> | ||
20 | + <div id=guia1 class=guia >Temas</div> | ||
21 | + <div id=guia2 class=guia >Adiciona</div> | ||
22 | + <div id=guia4 class=guia >Legenda</div> | ||
23 | + <div id=guia5 class=guia >Mapas</div> | ||
24 | + </div> | ||
25 | + </td> | ||
26 | + </tr> | ||
27 | + </table> | ||
28 | +</td> | ||
29 | +<td style="text-align:left;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | ||
30 | + <img title="desloca" alt="" src="../imagens/branco.gif" ID='pan'/> | ||
31 | + <img title="zoom" alt="" src="../imagens/branco.gif" id='zoomli'/> | ||
32 | + <img title="aproxima" alt="" src="../imagens/branco.gif" id='zoomiauto'/> | ||
33 | + <img title="afasta" alt="" src="../imagens/branco.gif" id='zoomoauto'/> | ||
34 | + <img title="geral" alt="" src="../imagens/branco.gif" ID='zoomtot'/> | ||
35 | + | ||
36 | + <img title="reinicia" alt="" src="../imagens/branco.gif" id='reinicia'/> | ||
37 | + <img title="referencia" alt="" src="../imagens/branco.gif" id='referencia'/> | ||
38 | + <img title="insere xy" alt="" src="../imagens/branco.gif" id='inserexy'/> | ||
39 | + <img title="insere grafico" alt="" src="../imagens/branco.gif" id='inseregrafico'/> | ||
40 | + <img title="texto" alt="" src="../imagens/branco.gif" id='textofid'/> | ||
41 | + <img title="selecao" alt="" src="../imagens/branco.gif" id='selecao'/> | ||
42 | + <img title="identifica" alt="" src="../imagens/branco.gif" id='identifica'/> | ||
43 | + <img title="info" alt="" src="../imagens/branco.gif" id='identificaBalao'/> | ||
44 | + | ||
45 | + | ||
46 | + <img title="lente" alt="" src="../imagens/branco.gif" id='lentei'/> | ||
47 | + <img title="scielo" alt="" src="../imagens/branco.gif" id='scielo'/> | ||
48 | + <img title="confluencias" alt="" src="../imagens/branco.gif" id='confluence'/> | ||
49 | + <img title="busca na wikipedia" alt="" src="../imagens/branco.gif" id='wiki'/> | ||
50 | + <img title="google" alt="" src="../imagens/branco.gif" id='google'/> | ||
51 | + <img title="3d" alt="" src="../imagens/branco.gif" id='v3d'/> | ||
52 | + <img title="extensao" alt="" src="../imagens/branco.gif" id="exten"/> | ||
53 | + <img title="mede" alt="" src="../imagens/branco.gif" id='mede'/> | ||
54 | + <img title="imprimir" alt="" src="../imagens/branco.gif" id='imprimir'/> | ||
55 | +</td> | ||
56 | +</tr> | ||
57 | +<tr> | ||
58 | + <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | ||
59 | + <div id='guia1obj' ><div id=buscaRapida ></div><div id=listaPropriedades ></div><div id=listaTemas ></div></div> | ||
60 | + <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | ||
61 | + <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | ||
62 | + <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | ||
63 | + </td> | ||
64 | + <td style="vertical-align:top;border-width:0px;"> | ||
65 | + <table width="100%" style="vertical-align:top;border-width:0px"> | ||
66 | + <tr><td class=verdeclaro id=contemImg > | ||
67 | + <div id=corpoMapa style="background-image:url('../imagens/i3geo1bw.jpg');"></div> | ||
68 | + </td></tr> | ||
69 | + </table> | ||
70 | + </td> | ||
71 | + </tr> | ||
72 | +<tr> | ||
73 | + <td class=tdbranca > | ||
74 | + <div id=bandeiras ></div> | ||
75 | + <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | ||
76 | + </td> | ||
77 | + <td class=tdbranca > | ||
78 | + <table width=100% ><tr> | ||
79 | + <td class=tdbranca ><div id=localizarxy >Aguarde...</div></td> | ||
80 | + <td class=tdbranca ><div id=escala ></div></td> | ||
81 | + </tr></table> | ||
82 | + </td> | ||
83 | +</tr> | ||
84 | +<tr style="border:0px"><td colspan=3 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | ||
85 | +</table> | ||
86 | +<a style=text-align:center;color:white href="mailto:edmar.moretti@mma.gov.br">Críticas e sugestões</a> | ||
87 | +</center> | ||
88 | +<script type="text/javascript"> | ||
89 | +/* | ||
90 | +Title: Interface zerocal | ||
91 | + | ||
92 | +Abre o i3geo com funcionalidades principais com um menor volume de scripts. | ||
93 | + | ||
94 | +Essa interface foi criada para atender aos usuários que não possuem conexão rápida com a internet. | ||
95 | + | ||
96 | +File: i3geo/aplicmap/zerocal.htm | ||
97 | + | ||
98 | +Exemplo: | ||
99 | + | ||
100 | +http://<host>/i3geo/ms_criamapa.php?interface=zerocal.htm | ||
101 | + | ||
102 | +*/ | ||
103 | +g_locaplic = "http://"+window.location.host+"/i3geo"; | ||
104 | +g_mapaRefDisplay = "block" | ||
105 | +; | ||
106 | +objmapa = new Mapa(); | ||
107 | +g_autoRedesenho = 0; | ||
108 | +objmapa.guiaTemas = "guia1" | ||
109 | +objmapa.guiaMenu = "guia2"; | ||
110 | +objmapa.guiaLegenda = "guia4"; | ||
111 | +objmapa.guiaListaMapas = "guia5"; | ||
112 | +i3GEO.idioma.IDSELETOR = "bandeiras" | ||
113 | +i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja" | ||
114 | +objmapa.inicializa(); | ||
115 | +</script> | ||
116 | +</body> | ||
117 | +</html> | ||
0 | \ No newline at end of file | 118 | \ No newline at end of file |